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

Lines Matching refs:tweak

95 TWEAK       =   8 + BCNT            #tweak values[0..1]
278 StackVar ksTwk ,8*3 #key schedule: tweak words
297 StackVar bitAdd ,8 #bit count to add to tweak
379 leaq ksTwk +F_O(%rbp),%rax #tweak pointer
482 addq bitAdd+F_O(%rbp) ,%r13 #computed updated tweak value T0
484 xorq %r13 ,%r15 #now %r13.%r15 is set as the tweak
491 movq %r13,TWEAK+0(%rdi) #save updated tweak value ctx->h.T[0]
516 movq %r14,TWEAK+ 8(%rdi) #save updated tweak T[1] (start bit cleared?)
620 leaq 1(%r11,%rdi),%r11 #precompute key + tweak
628 addq ksTwk+8*2+F_O(%rbp,%rdi,8),%r10 #precompute key + tweak
629 movq %r13,ksTwk+8*4+F_O(%rbp,%rdi,8) #"rotate" the tweak
636 addReg r9 ,r13 #precompute key+tweak
769 # here for looping case #"rotate" key/tweak schedule (move up on stack)
809 addq bitAdd+F_O(%rbp),%rax #computed updated tweak value T0
811 xorq %rax,%rcx #%rax/%rbx/%rcx = tweak schedule
812 movq %rax,TWEAK+ 0 (%rdi) #save updated tweak value ctx->h.T[0]
825 addReg r13,rax #precompute key injection for tweak
828 movq %rbx,TWEAK+ 8(%rdi) #save updated tweak value ctx->h.T[1] for Skein_Debug_Block below
984 .if \w1 == 13 #tweak injection
998 .if \w1 == 13 #tweak injection
1071 movq %r8 , ksKey+8*17(%rsp,%rdi,8) #rotate key (must do key first or tweak clobbers it!)
1072 movq ksTwk+8* 0(%rsp,%rdi,8),%r8 #get tweak word
1073 movq %r8 , ksTwk+8* 3(%rsp,%rdi,8) #rotate tweak (onto the stack)
1106 addq bitAdd+ F_O(%rbp),%r8 #computed updated tweak value T0
1108 xorq %r8 ,%r10 #%rax/%rbx/%rcx = tweak schedule
1109 movq %r8 ,TWEAK+ 0(%rdi) #save updated tweak value ctx->h.T[0]
1111 movq %r9 ,ksTwk+ 8+F_O(%rbp) #keep values in %r8 ,%r9 for initial tweak injection below
1114 movq %r9 ,TWEAK+ 8(%rdi) #save updated tweak value ctx->h.T[1] for Skein_Debug_Block
1139 .if _oo_ == 13 #do the initial tweak injection