Lines Matching full:tweak
1025 { my ($tweak,$twtmp,$twres,$twmask)=($rndkey1,$rndkey0,$inout0,$inout1);
1029 &mov ($inp,&wparam(5)); # clear-text tweak
1055 &movdqa ($tweak,$inout0);
1058 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1074 &movdqa (&QWP(16*$i,"esp"),$tweak);
1075 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1077 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1078 &pxor ($tweak,$twres);
1081 &movdqa (&QWP(16*$i++,"esp"),$tweak);
1082 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1086 &pxor ($inout5,$tweak);
1088 # inline _aesni_encrypt6 prologue and flip xor with tweak and key[0]
1100 &pxor ($inout0,&QWP(16*0,"esp")); # input^=tweak
1101 &movdqa (&QWP(16*$i,"esp"),$inout5); # save last tweak
1121 &movdqa ($tweak,&QWP(16*5,"esp")); # last tweak
1123 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1124 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1133 &xorps ($inout5,$tweak);
1141 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1143 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1145 &pxor ($tweak,$twres);
1158 &movdqa ($inout3,$tweak); # put aside previous tweak
1164 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1166 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1167 &pxor ($tweak,$twres);
1172 &movdqa ($inout4,$tweak); # put aside previous tweak
1173 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1175 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1176 &pxor ($tweak,$twres);
1182 &movdqa ($inout5,$tweak); # put aside previous tweak
1183 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1185 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1186 &pxor ($tweak,$twres);
1193 &movdqa (&QWP(16*3,"esp"),$tweak);
1194 &paddq ($tweak,$tweak); # &psllq($inout0,1);
1196 &pxor ($inout5,$tweak);
1201 &pxor ($inout0,&QWP(16*0,"esp")); # input^=tweak
1208 &movdqa (&QWP(16*4,"esp"),$inout5); # save last tweak
1213 &movaps ($tweak,&QWP(16*4,"esp")); # last tweak
1214 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1220 &xorps ($inout4,$tweak);
1230 &xorps ($inout0,$inout3); # input^=tweak
1235 &xorps ($inout0,$inout3); # output^=tweak
1239 &movdqa ($tweak,$inout3); # last tweak
1243 &movaps ($inout4,$tweak); # put aside last tweak
1248 &xorps ($inout0,$inout3); # input^=tweak
1254 &xorps ($inout0,$inout3); # output^=tweak
1260 &movdqa ($tweak,$inout4); # last tweak
1264 &movaps ($inout5,$tweak); # put aside last tweak
1269 &xorps ($inout0,$inout3); # input^=tweak
1275 &xorps ($inout0,$inout3); # output^=tweak
1283 &movdqa ($tweak,$inout5); # last tweak
1287 &movaps ($inout4,$tweak); # put aside last tweak
1292 &xorps ($inout0,&QWP(16*0,"esp")); # input^=tweak
1301 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1311 &movdqa ($tweak,$inout4); # last tweak
1314 &set_label("xts_enc_done6x",16); # $tweak is pre-calculated
1318 &movdqa ($inout3,$tweak);
1328 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1331 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1333 &pxor ($inout3,$tweak);
1350 &xorps ($inout0,$inout3); # input^=tweak
1355 &xorps ($inout0,$inout3); # output^=tweak
1364 &mov ($inp,&wparam(5)); # clear-text tweak
1399 &movdqa ($tweak,$inout0);
1402 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1416 &movdqa (&QWP(16*$i,"esp"),$tweak);
1417 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1419 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1420 &pxor ($tweak,$twres);
1423 &movdqa (&QWP(16*$i++,"esp"),$tweak);
1424 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1428 &pxor ($inout5,$tweak);
1430 # inline _aesni_encrypt6 prologue and flip xor with tweak and key[0]
1442 &pxor ($inout0,&QWP(16*0,"esp")); # input^=tweak
1443 &movdqa (&QWP(16*$i,"esp"),$inout5); # save last tweak
1463 &movdqa ($tweak,&QWP(16*5,"esp")); # last tweak
1465 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1466 &pcmpgtd ($twtmp,$tweak); # broadcast upper bits
1475 &xorps ($inout5,$tweak);
1483 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1485 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1487 &pxor ($tweak,$twres);
1500 &movdqa ($inout3,$tweak); # put aside previous tweak
1506 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1508 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1509 &pxor ($tweak,$twres);
1514 &movdqa ($inout4,$tweak); # put aside previous tweak
1515 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1517 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1518 &pxor ($tweak,$twres);
1524 &movdqa ($inout5,$tweak); # put aside previous tweak
1525 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1527 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1528 &pxor ($tweak,$twres);
1535 &movdqa (&QWP(16*3,"esp"),$tweak);
1536 &paddq ($tweak,$tweak); # &psllq($inout0,1);
1538 &pxor ($inout5,$tweak);
1543 &pxor ($inout0,&QWP(16*0,"esp")); # input^=tweak
1550 &movdqa (&QWP(16*4,"esp"),$inout5); # save last tweak
1555 &movaps ($tweak,&QWP(16*4,"esp")); # last tweak
1556 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1562 &xorps ($inout4,$tweak);
1572 &xorps ($inout0,$inout3); # input^=tweak
1577 &xorps ($inout0,$inout3); # output^=tweak
1581 &movdqa ($tweak,$inout3); # last tweak
1585 &movaps ($inout4,$tweak); # put aside last tweak
1590 &xorps ($inout0,$inout3); # input^=tweak
1595 &xorps ($inout0,$inout3); # output^=tweak
1601 &movdqa ($tweak,$inout4); # last tweak
1605 tweak); # put aside last tweak
1610 &xorps ($inout0,$inout3); # input^=tweak
1616 &xorps ($inout0,$inout3); # output^=tweak
1624 &movdqa ($tweak,$inout5); # last tweak
1628 &movaps ($inout4,$tweak); # put aside last tweak
1633 &xorps ($inout0,&QWP(16*0,"esp")); # input^=tweak
1642 &xorps ($inout0,&QWP(16*0,"esp")); # output^=tweak
1652 &movdqa ($tweak,$inout4); # last tweak
1655 &set_label("xts_dec_done6x",16); # $tweak is pre-calculated
1668 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1673 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1675 &pcmpgtd($twtmp,$tweak); # broadcast upper bits
1676 &pxor ($tweak,$twres);
1680 &movdqa ($inout4,$tweak); # put aside previous tweak
1681 &paddq ($tweak,$tweak); # &psllq($tweak,1);
1683 &pxor ($inout3,$tweak);
1689 &xorps ($inout0,$inout3); # input^=tweak
1694 &xorps ($inout0,$inout3); # output^=tweak
1712 &xorps ($inout0,$inout4); # input^=tweak
1717 &xorps ($inout0,$inout4); # output^=tweak