• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/crypto/skein/amd64/

Lines Matching refs:r8

366   .irp _reg_,rax,rcx,rdx,rsi,rdi,r8,r9,r10,r11
375 leaq Wcopy +F_O(%rbp),%r8 #wPtr
384 .irp _reg_,r11,r10,r9,r8,rdi,rsi,rdx,rcx,rax
485 movq X_VARS+ 0(%rdi),%r8
490 xorq %r8 ,%r12 #start accumulating overall parity
506 addq %r8 ,%rax #initial key injection
515 movq %r8 ,ksKey+ 0+F_O(%rbp) #save key schedule on stack for Skein_Debug_Block
535 movq %r8 ,ksKey+40+F_O(%rbp) #save key schedule on stack for looping code
568 movq ksKey+8*1+F_O(%rbp,%rdi,8),%r8
617 movq %r8,ksKey+8*6+F_O(%rbp,%rdi,8) #"rotate" the key
645 addReg rax,r8
758 addq ksKey+8*(((_II_)+0)%9)+F_O(%rbp),%r8
774 addq ksKey+8*0+F_O(%rbp,%rdi,8),%r8
820 .endr #load state into %r8 ..%r15, compute parity
832 addReg r8 , rax #do initial key injection
1018 r1024_Mix 8, 9,r8 ,r9 ,_Rn_,4,<movq X_stk+8*6(%rsp),%rcx> #load X6 from stack
1034 r1024_Mix 8, 1,r8 ,rsi,_Rn_,7
1044 r1024_Mix 8,11,r8 ,r11,_Rn_,6
1055 r1024_Mix 8, 5,r8 ,rbx,_Rn_,5
1067 movq %r8 , X_stk+8*i8(%rsp) #free up a register (save it on the stack)
1068 movq ksKey+8* 0(%rsp,%rdi,8),%r8 #get key word
1069 movq %r8 , ksKey+8*17(%rsp,%rdi,8) #rotate key (must do key first or tweak clobbers it!)
1070 movq ksTwk+8* 0(%rsp,%rdi,8),%r8 #get tweak word
1071 movq %r8 , ksTwk+8* 3(%rsp,%rdi,8) #rotate tweak (onto the stack)
1072 movq X_stk+8*i8(%rsp) ,%r8 #get the reg back
1103 movq TWEAK+ 0(%rdi),%r8
1104 addq bitAdd+ F_O(%rbp),%r8 #computed updated tweak value T0
1106 xorq %r8 ,%r10 #%rax/%rbx/%rcx = tweak schedule
1107 movq %r8 ,TWEAK+ 0(%rdi) #save updated tweak value ctx->h.T[0]
1108 movq %r8 ,ksTwk+ 0+F_O(%rbp)
1109 movq %r9 ,ksTwk+ 8+F_O(%rbp) #keep values in %r8 ,%r9 for initial tweak injection below
1128 # (MUST do it in reverse order to inject tweaks r8/r9 first)
1129 .irp _rr_,r15,r14,r13,r12,r11,r10,r9,r8,rdx,rbx
1138 addReg _rr_,r8 # (only in words 13/14)
1187 .irp _rr_,rdi,rsi,rbp,rax,rcx,rbx,r8,r9,r10,r11,r12,r13,r14,r15 #do all but x6,x7
1224 .irp _rr_,rsi,rbp,rax,rbx,r8,r9,r10,r11,r12,r13,r14,r15
1287 .irp _rr_,rax,rbx,rcx,rbp,r8,r9,r10,r11,r12,r13,r14,r15 #save the rest of the regs
1317 .irp _rr_,r15,r14,r13,r12,r11,r10,r9,r8,rbp,rcx,rbx,rax #restore regs