• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/aes/asm/

Lines Matching refs:tweak

1582 my $tweak=16*$SIZE_T+16;	# or $stdframe-16, bottom of the frame...
1601 lmg $i2,$i3,$tweak($sp) # put aside the tweak value
1607 la %r1,$tweak-16($sp)
1612 # with the tweak in 128-bit case.
1615 stmg $i2,$i3,$tweak($sp) # "re-seat" the tweak value
1620 lrvg $s0,$tweak+0($sp) # load the last tweak
1621 lrvg $s1,$tweak+8($sp)
1622 stmg %r0,%r3,$tweak-32($sp) # wipe copy of the key
1662 lrvg $s0,$tweak+0($s2) # load the tweak value in little-endian
1663 lrvg $s1,$tweak+8($s2)
1665 la $s2,16($sp) # vector of ascending tweak values
1733 # generate one more tweak...
1777 # generate the tweak value
1779 la $s2,$tweak($sp)
1784 .long 0xb92e00aa # km $s2,$s2, generate the tweak
1820 stg $sp,$tweak+0($sp) # wipe tweak
1821 stg $sp,$tweak+8($sp)
1841 bras $ra,_s390x_AES_encrypt # generate the tweak
1843 stm $s0,$s3,$tweak($sp) # save the tweak
1848 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1849 lrvg $s3,$tweak+8($sp)
1858 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1859 stg $s1,$tweak+0($sp) # save the tweak
1862 stg $s3,$tweak+8($sp)
1874 x $s0,$tweak+0($sp) # ^=tweak
1875 x $s1,$tweak+4($sp)
1876 x $s2,$tweak+8($sp)
1877 x $s3,$tweak+12($sp)
1898 # generate last tweak...
1899 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
1900 lrvg $s3,$tweak+8($sp)
1909 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
1910 stg $s1,$tweak+0($sp) # save the tweak
1913 stg $s3,$tweak+8($sp)
1924 x $s0,`$tweak+0`($sp) # ^=tweak
1925 x $s1,`$tweak+4`($sp)
1926 x $s2,`$tweak+8`($sp)
1927 x $s3,`$tweak+12`($sp)
1934 stg $sp,$tweak+0($sp) # wipe tweak
1980 # generate the tweak value
1982 la $s2,$tweak($sp)
1987 .long 0xb92e00aa # km $s2,$s2, generate the tweak
2005 lrvg $s0,$tweak+0($sp) # load the tweak
2006 lrvg $s1,$tweak+8($sp)
2059 stg $sp,$tweak+0($sp) # wipe tweak
2060 stg $sp,$tweak+8($sp)
2081 bras $ra,_s390x_AES_encrypt # generate the tweak
2085 stm $s0,$s3,$tweak($sp) # save the tweak
2091 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2092 lrvg $s3,$tweak+8($sp)
2101 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2102 stg $s1,$tweak+0($sp) # save the tweak
2105 stg $s3,$tweak+8($sp)
2108 x $s0,0($inp) # tweak^=*(inp)
2116 x $s0,$tweak+0($sp) # ^=tweak
2117 x $s1,$tweak+4($sp)
2118 x $s2,$tweak+8($sp)
2119 x $s3,$tweak+12($sp)
2132 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2133 lrvg $s3,$tweak+8($sp)
2142 stmg $i2,$i3,$tweak($sp) # save the 1st tweak
2149 lrvg $s1,$tweak+0($sp) # load the tweak in little-endian
2150 lrvg $s3,$tweak+8($sp)
2160 srlg $s0,$s1,32 # smash the tweak to 4x32-bits
2161 stg $s1,$tweak-16+0($sp) # save the 2nd tweak
2164 stg $s3,$tweak-16+8($sp)
2175 x $s0,$tweak-16+0($sp) # ^=tweak_the_2nd
2176 x $s1,$tweak-16+4($sp)
2177 x $s2,$tweak-16+8($sp)
2178 x $s3,$tweak-16+12($sp)
2194 lm $s0,$s3,$tweak($sp) # load the 1st tweak
2195 x $s0,0($out) # tweak^=*(inp)|stolen cipher-text
2203 x $s0,$tweak+0($sp) # ^=tweak
2204 x $s1,$tweak+4($sp)
2205 x $s2,$tweak+8($sp)
2206 x $s3,$tweak+12($sp)
2211 stg $sp,$tweak-16+0($sp) # wipe 2nd tweak
2212 stg $sp,$tweak-16+8($sp)
2214 stg $sp,$tweak+0($sp) # wipe tweak