Lines Matching refs:tweak
1639 my $tweak=16*$SIZE_T+16; # or $stdframe-16, bottom of the frame...
1658 lmg $i2,$i3,$tweak($sp) # put aside the tweak value
1664 la %r1,$tweak-16($sp)
1669 # with the tweak in 128-bit case.
1672 stmg $i2,$i3,$tweak($sp) # "re-seat" the tweak value
1677 lrvg $s0,$tweak+0($sp) # load the last tweak
1678 lrvg $s1,$tweak+8($sp)
1679 stmg %r0,%r3,$tweak-32($sp) # wipe copy of the key
1719 lrvg $s0,$tweak+0($s2) # load the tweak value in little-endian
1720 lrvg $s1,$tweak+8($s2)
1722 la $s2,16($sp) # vector of ascending tweak values
1790 # generate one more tweak...
1834 # generate the tweak value
1836 la $s2,$tweak($sp)
1841 .long 0xb92e00aa # km $s2,$s2, generate the tweak
1877 stg $sp,$tweak+0($sp) # wipe tweak
1878 stg $sp,$tweak+8($sp)
1898 bras $ra,_s390x_AES_encrypt # generate the tweak
1900 stm $s0,$s3,$tweak($sp) # save the tweak
1905 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1906 lrvg $s3,$tweak+8($sp)
1915 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1916 stg $s1,$tweak+0($sp) # save the tweak
1919 stg $s3,$tweak+8($sp)
1931 x $s0,$tweak+0($sp) # ^=tweak
1932 x $s1,$tweak+4($sp)
1933 x $s2,$tweak+8($sp)
1934 x $s3,$tweak+12($sp)
1955 # generate last tweak...
1956 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1957 lrvg $s3,$tweak+8($sp)
1966 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1967 stg $s1,$tweak+0($sp) # save the tweak
1970 stg $s3,$tweak+8($sp)
1981 x $s0,`$tweak+0`($sp) # ^=tweak
1982 x $s1,`$tweak+4`($sp)
1983 x $s2,`$tweak+8`($sp)
1984 x $s3,`$tweak+12`($sp)
1991 stg $sp,$tweak+0($sp) # wipe tweak
1992 stg $sp,$tweak+8($sp)
2037 # generate the tweak value
2039 la $s2,$tweak($sp)
2044 .long 0xb92e00aa # km $s2,$s2, generate the tweak
2062 lrvg $s0,$tweak+0($sp) # load the tweak
2063 lrvg $s1,$tweak+8($sp)
2116 stg $sp,$tweak+0($sp) # wipe tweak
2117 stg $sp,$tweak+8($sp)
2138 bras $ra,_s390x_AES_encrypt # generate the tweak
2142 stm $s0,$s3,$tweak($sp) # save the tweak
2148 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2149 lrvg $s3,$tweak+8($sp)
2158 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2159 stg $s1,$tweak+0($sp) # save the tweak
2162 stg $s3,$tweak+8($sp)
2165 x $s0,0($inp) # tweak^=*(inp)
2173 x $s0,$tweak+0($sp) # ^=tweak
2174 x $s1,$tweak+4($sp)
2175 x $s2,$tweak+8($sp)
2176 x $s3,$tweak+12($sp)
2189 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2190 lrvg $s3,$tweak+8($sp)
2199 stmg $i2,$i3,$tweak($sp) # save the 1st tweak
2206 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2207 lrvg $s3,$tweak+8($sp)
2217 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2218 stg $s1,$tweak-16+0($sp) # save the 2nd tweak
2221 stg $s3,$tweak-16+8($sp)
2232 x $s0,$tweak-16+0($sp) # ^=tweak_the_2nd
2233 x $s1,$tweak-16+4($sp)
2234 x $s2,$tweak-16+8($sp)
2235 x $s3,$tweak-16+12($sp)
2251 lm $s0,$s3,$tweak($sp) # load the 1st tweak
2252 x $s0,0($out) # tweak^=*(inp)|stolen cipher-text
2260 x $s0,$tweak+0($sp) # ^=tweak
2261 x $s1,$tweak+4($sp)
2262 x $s2,$tweak+8($sp)
2263 x $s3,$tweak+12($sp)
2268 stg $sp,$tweak-16+0($sp) # wipe 2nd tweak
2269 stg $sp,$tweak-16+8($sp)
2271 stg $sp,$tweak+0($sp) # wipe tweak
2272 stg $sp,$tweak+8($sp)