Lines Matching refs:rounds

80 # rounds for larger block sizes, i.e. 192-bit result being 10/12 times
104 # calculated as latency times number of rounds, 10 for 128-bit key,
216 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
224 $rnds_="%r10d"; # backup copy for $rounds
244 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
262 dec $rounds
279 mov 240($key),$rounds # key->rounds
281 &aesni_generate1("enc",$key,$rounds);
295 mov 240($key),$rounds # key->rounds
297 &aesni_generate1("dec",$key,$rounds);
324 # As already mentioned it takes in $key and $rounds, which are *not*
331 shl \$4,$rounds
336 lea 32($key,$rounds),$key
337 neg %rax # $rounds
360 # As already mentioned it takes in $key and $rounds, which are *not*
367 shl \$4,$rounds
373 lea 32($key,$rounds),$key
374 neg %rax # $rounds
405 # As already mentioned it takes in $key and $rounds, which are *not*
412 shl \$4,$rounds
419 lea 32($key,$rounds),$key
420 neg %rax # $rounds
452 # As already mentioned it takes in $key and $rounds, which are *not*
459 shl \$4,$rounds
465 lea 32($key,$rounds),$key
466 neg %rax # $rounds
513 # As already mentioned it takes in $key and $rounds, which are *not*
520 shl \$4,$rounds
527 lea 32($key,$rounds),$key
528 neg %rax # $rounds
617 mov 240($key),$rounds # key->rounds
620 mov $rounds,$rnds_ # backup $rounds
643 mov $rnds_,$rounds # restore $rounds
670 mov $rnds_,$rounds # restore $rounds
711 &aesni_generate1("enc",$key,$rounds);
779 mov $rnds_,$rounds # restore $rounds
809 mov $rnds_,$rounds # restore $rounds
865 &aesni_generate1("dec",$key,$rounds);
986 mov 240($key),$rounds # key->rounds
991 shl \$4,$rounds
996 lea 32($key,$rounds),$key # end of key schedule
998 sub %rax,%r10 # twisted $rounds
1076 mov 240($key),$rounds # key->rounds
1083 mov $rounds,$rnds_
1087 &aesni_generate1("enc",$key,$rounds);
1090 mov \$16,$rounds
1094 sub %r10,%rax # twisted $rounds
1139 mov 240($key_),$rounds
1141 &aesni_generate1("enc",$key_,$rounds,$inout1,$in0);
1199 mov 240($key),%edx # key->rounds
1277 mov 240($key),$rounds # key->rounds
1309 shl \$4,$rounds
1312 lea 32($key,$rounds),$key # end of key schedule
1313 sub %rax,%r10 # twisted $rounds
1350 mov %r10,%rax # mov $rnds_,$rounds
1391 lea -48($rnds_),$rounds
1393 neg $rounds
1394 shr \$4,$rounds # restore $rounds
1447 cmp \$11,$rounds
1573 shl \$4,$rounds
1580 lea 32-16($key,$rounds),$key# prepare for .Lenc_loop8_enter
1623 dec $rounds
1652 dec $rounds
1788 mov 240(%r8),$rounds # key2->rounds
1789 mov 240($key),$rnds_ # key1->rounds
1792 &aesni_generate1("enc",$key2,$rounds,$inout0);
1796 mov $rnds_,$rounds # backup $rounds
1835 mov \$16+96,$rounds
1837 sub %r10,%rax # twisted $rounds
1839 mov %rax,%r10 # backup twisted $rounds
1999 mov %r10,%rax # restore $rounds
2015 mov \$16+96,$rounds
2016 sub $rnds_,$rounds
2018 shr \$4,$rounds # restore original value
2022 mov $rounds,$rnds_ # backup $rounds
2074 &aesni_generate1("enc",$key,$rounds);
2155 movzb ($inp),%eax # borrow $rounds ...
2166 mov $rnds_,$rounds # restore $rounds
2171 &aesni_generate1("enc",$key,$rounds);
2271 mov 240($key2),$rounds # key2->rounds
2272 mov 240($key),$rnds_ # key1->rounds
2275 &aesni_generate1("enc",$key2,$rounds,$inout0);
2285 mov $rnds_,$rounds # backup $rounds
2321 mov \$16+96,$rounds
2323 sub %r10,%rax # twisted $rounds
2325 mov %rax,%r10 # backup twisted $rounds
2485 mov %r10,%rax # restore $rounds
2501 mov \$16+96,$rounds
2502 sub $rnds_,$rounds
2504 shr \$4,$rounds # restore original value
2508 mov $rounds,$rnds_ # backup $rounds
2568 &aesni_generate1("dec",$key,$rounds);
2653 mov $rnds_,$rounds # restore $rounds
2658 &aesni_generate1("dec",$key,$rounds);
2664 movzb 16($inp),%eax # borrow $rounds ...
2675 mov $rnds_,$rounds # restore $rounds
2680 &aesni_generate1("dec",$key,$rounds);
2815 mov \$16+32,$rounds
2818 sub %r10,%rax # twisted $rounds
2819 mov %rax,%r10 # backup twisted $rounds
3117 mov %r10,%rax # restore twisted rounds
3186 mov %r10,%rax # restore twisted rounds
3224 mov %r10,%rax # restore twisted rounds
3275 mov \$16+32,$rounds
3278 sub %r10,%rax # twisted $rounds
3279 mov %rax,%r10 # backup twisted $rounds
3593 mov %r10,%rax # restore twisted rounds
3658 mov %r10,%rax # restore twisted rounds
3695 mov %r10,%rax # restore twisted rounds
3721 mov 240($key),$rnds_ # key->rounds
3727 mov $rnds_,$rounds
3738 &aesni_generate1("enc",$key,$rounds,$inout0,$inout1);
3740 mov $rnds_,$rounds # restore $rounds
3764 mov $rnds_,$rounds # restore $rounds
3820 mov $rnds_,$rounds
3884 cmp \$11,$rounds
4070 mov $rnds_,$rounds
4131 &aesni_generate1("dec",$key,$rounds);
4272 shl \$4,$bits # rounds-1 after _aesni_set_encrypt_key
4326 # $bits rounds-1 (used in aesni_set_decrypt_key)
4364 mov \$9,$bits # 10 rounds for 128-bit key
4464 mov \$11,$bits # 12 rounds for 192
4534 mov \$13,$bits # 14 rounds for 256