Lines Matching refs:tweak
1589 my $tweak=16*$SIZE_T+16; # or $stdframe-16, bottom of the frame...
1601 la %r1,$tweak-16($sp)
1605 ng %r1,$tweak-16($sp)
1610 lmg $i2,$i3,$tweak($sp) # put aside the tweak value
1616 la %r1,$tweak-16($sp)
1621 # with the tweak in 128-bit case.
1624 stmg $i2,$i3,$tweak($sp) # "re-seat" the tweak value
1629 lrvg $s0,$tweak+0($sp) # load the last tweak
1630 lrvg $s1,$tweak+8($sp)
1631 stmg %r0,%r3,$tweak-32($sp) # wipe copy of the key
1671 lrvg $s0,$tweak+0($s2) # load the tweak value in little-endian
1672 lrvg $s1,$tweak+8($s2)
1674 la $s2,16($sp) # vector of ascending tweak values
1742 # generate one more tweak...
1786 # generate the tweak value
1788 la $s2,$tweak($sp)
1793 .long 0xb92e00aa # km $s2,$s2, generate the tweak
1829 stg $sp,$tweak+0($sp) # wipe tweak
1830 stg $sp,$tweak+8($sp)
1850 bras $ra,_s390x_AES_encrypt # generate the tweak
1852 stm $s0,$s3,$tweak($sp) # save the tweak
1857 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1858 lrvg $s3,$tweak+8($sp)
1867 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1868 stg $s1,$tweak+0($sp) # save the tweak
1871 stg $s3,$tweak+8($sp)
1883 x $s0,$tweak+0($sp) # ^=tweak
1884 x $s1,$tweak+4($sp)
1885 x $s2,$tweak+8($sp)
1886 x $s3,$tweak+12($sp)
1907 # generate last tweak...
1908 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1909 lrvg $s3,$tweak+8($sp)
1918 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1919 stg $s1,$tweak+0($sp) # save the tweak
1922 stg $s3,$tweak+8($sp)
1933 x $s0,`$tweak+0`($sp) # ^=tweak
1934 x $s1,`$tweak+4`($sp)
1935 x $s2,`$tweak+8`($sp)
1936 x $s3,`$tweak+12`($sp)
1943 stg $sp,$tweak+0($sp) # wipe tweak
1989 # generate the tweak value
1991 la $s2,$tweak($sp)
1996 .long 0xb92e00aa # km $s2,$s2, generate the tweak
2014 lrvg $s0,$tweak+0($sp) # load the tweak
2015 lrvg $s1,$tweak+8($sp)
2068 stg $sp,$tweak+0($sp) # wipe tweak
2069 stg $sp,$tweak+8($sp)
2090 bras $ra,_s390x_AES_encrypt # generate the tweak
2094 stm $s0,$s3,$tweak($sp) # save the tweak
2100 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2101 lrvg $s3,$tweak+8($sp)
2110 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2111 stg $s1,$tweak+0($sp) # save the tweak
2114 stg $s3,$tweak+8($sp)
2117 x $s0,0($inp) # tweak^=*(inp)
2125 x $s0,$tweak+0($sp) # ^=tweak
2126 x $s1,$tweak+4($sp)
2127 x $s2,$tweak+8($sp)
2128 x $s3,$tweak+12($sp)
2141 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2142 lrvg $s3,$tweak+8($sp)
2151 stmg $i2,$i3,$tweak($sp) # save the 1st tweak
2158 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2159 lrvg $s3,$tweak+8($sp)
2169 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2170 stg $s1,$tweak-16+0($sp) # save the 2nd tweak
2173 stg $s3,$tweak-16+8($sp)
2184 x $s0,$tweak-16+0($sp) # ^=tweak_the_2nd
2185 x $s1,$tweak-16+4($sp)
2186 x $s2,$tweak-16+8($sp)
2187 x $s3,$tweak-16+12($sp)
2203 lm $s0,$s3,$tweak($sp) # load the 1st tweak
2204 x $s0,0($out) # tweak^=*(inp)|stolen cipher-text
2212 x $s0,$tweak+0($sp) # ^=tweak
2213 x $s1,$tweak+4($sp)
2214 x $s2,$tweak+8($sp)
2215 x $s3,$tweak+12($sp)
2220 stg $sp,$tweak-16+0($sp) # wipe 2nd tweak
2221 stg $sp,$tweak-16+8($sp)
2223 stg $sp,$tweak+0($sp) # wipe tweak