Home | History | Annotate | Download | only in asm

Lines Matching refs:rounds

73 # rounds for larger block sizes, i.e. 192-bit result being 10/12 times
97 # calculated as latency times number of rounds, 10 for 128-bit key,
184 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
192 $rnds_="%r10d"; # backup copy for $rounds
212 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
230 dec $rounds
247 mov 240($key),$rounds # key->rounds
249 &aesni_generate1("enc",$key,$rounds);
260 mov 240($key),$rounds # key->rounds
262 &aesni_generate1("dec",$key,$rounds);
283 # As already mentioned it takes in $key and $rounds, which are *not*
290 shr \$1,$rounds
301 dec $rounds
327 # As already mentioned it takes in $key and $rounds, which are *not*
334 shr \$1,$rounds
346 dec $rounds
372 # As already mentioned it takes in $key and $rounds, which are *not*
379 shr \$1,$rounds
392 dec $rounds
401 dec $rounds
436 # As already mentioned it takes in $key and $rounds, which are *not*
443 shr \$1,$rounds
456 dec $rounds
470 dec $rounds
534 mov 240($key),$rounds # key->rounds
537 mov $rounds,$rnds_ # backup $rounds
560 mov $rnds_,$rounds # restore $rounds
587 mov $rnds_,$rounds # restore $rounds
627 &aesni_generate1("enc",$key,$rounds);
696 mov $rnds_,$rounds # restore $rounds
724 mov $rnds_,$rounds # restore $rounds
765 &aesni_generate1("dec",$key,$rounds);
848 mov 240($key),$rounds # key->rounds
853 shr \$1,$rounds
857 mov $rounds,$rnds_
863 mov $rnds_,$rounds
875 dec $rounds
928 mov 240($key),$rounds # key->rounds
935 mov $rounds,$rnds_
939 &aesni_generate1("enc",$key,$rounds);
949 mov $rnds_,$rounds
958 shr \$1,$rounds
968 dec $rounds
989 &aesni_generate1("enc",$key_,$rounds,$inout1,$in0);
1047 xor $rounds,$rounds
1049 pinsrd \$3,$rounds,$ivec # wipe 32-bit counter
1051 mov 240($key),$rounds # key->rounds
1076 shr \$1,$rounds
1078 mov $rounds,$rnds_ # backup $rounds
1097 # inline _aesni_encrypt6 and interleave last rounds
1113 dec $rounds
1121 dec $rounds
1181 mov $rnds_,$rounds
1188 lea 1($rounds,$rounds),$rounds # restore original value
1233 mov 240($key),$rounds # key->rounds
1236 &aesni_generate1("enc",$key,$rounds);
1331 mov 240(%r8),$rounds # key2->rounds
1332 mov 240($key),$rnds_ # key1->rounds
1335 &aesni_generate1("enc",$key2,$rounds,@tweak[5]);
1338 mov $rnds_,$rounds # backup $rounds
1361 shr \$1,$rounds
1362 sub \$1,$rounds
1363 mov $rounds,$rnds_
1389 # inline _aesni_encrypt6 and interleave first and last rounds
1408 dec $rounds
1421 dec $rounds
1513 mov $rnds_,$rounds # restore $rounds
1520 lea 3($rounds,$rounds),$rounds # restore original value
1522 mov $rounds,$rnds_ # backup $rounds
1576 &aesni_generate1("enc",$key,$rounds);
1657 movzb ($inp),%eax # borrow $rounds ...
1668 mov $rnds_,$rounds # restore $rounds
1673 &aesni_generate1("enc",$key,$rounds);
1721 mov 240($key2),$rounds # key2->rounds
1722 mov 240($key),$rnds_ # key1->rounds
1725 &aesni_generate1("enc",$key2,$rounds,@tweak[5]);
1734 mov $rnds_,$rounds # backup $rounds
1757 shr \$1,$rounds
1758 sub \$1,$rounds
1759 mov $rounds,$rnds_
1785 # inline _aesni_decrypt6 and interleave first and last rounds
1804 dec $rounds
1817 dec $rounds
1909 mov $rnds_,$rounds # restore $rounds
1916 lea 3($rounds,$rounds),$rounds # restore original value
1918 mov $rounds,$rnds_ # backup $rounds
1981 &aesni_generate1("dec",$key,$rounds);
2072 mov $rnds_,$rounds # restore $rounds
2077 &aesni_generate1("dec",$key,$rounds);
2083 movzb 16($inp),%eax # borrow $rounds ...
2094 mov $rnds_,$rounds # restore $rounds
2099 &aesni_generate1("dec",$key,$rounds);
2141 mov 240($key),$rnds_ # key->rounds
2147 mov $rnds_,$rounds
2158 &aesni_generate1("enc",$key,$rounds,$inout0,$inout1);
2160 mov $rnds_,$rounds # restore $rounds
2180 mov $rnds_,$rounds # restore $rounds
2200 mov $rnds_,$rounds
2205 mov $rnds_,$rounds
2236 dec $rounds
2268 mov $rnds_,$rounds # restore $rounds
2283 lea 1($rnds_,$rnds_),$rounds
2343 &aesni_generate1("dec",$key,$rounds);
2477 shl \$4,$bits # rounds-1 after _aesni_set_encrypt_key
2545 mov \$9,$bits # 10 rounds for 128-bit key
2575 mov \$11,$bits # 12 rounds for 192
2601 mov \$13,$bits # 14 rounds for 256