Lines Matching refs:xts
96 XTS128_CONTEXT xts;
386 xctx->xts.block1 = (block128_f) aesni_encrypt;
390 xctx->xts.block1 = (block128_f) aesni_decrypt;
396 xctx->xts.block2 = (block128_f) aesni_encrypt;
398 xctx->xts.key1 = &xctx->ks1;
402 xctx->xts.key2 = &xctx->ks2;
708 xctx->xts.block1 = (block128_f) aes_t4_encrypt;
726 xctx->xts.block1 = (block128_f) aes_t4_decrypt;
746 xctx->xts.block2 = (block128_f) aes_t4_encrypt;
748 xctx->xts.key1 = &xctx->ks1;
752 xctx->xts.key2 = &xctx->ks2;
1619 if (xctx->xts.key1) {
1620 if (xctx->xts.key1 != &xctx->ks1)
1622 xctx_out->xts.key1 = &xctx_out->ks1;
1624 if (xctx->xts.key2) {
1625 if (xctx->xts.key2 != &xctx->ks2)
1627 xctx_out->xts.key2 = &xctx_out->ks2;
1633 xctx->xts.key1 = NULL;
1634 xctx->xts.key2 = NULL;
1658 xctx->xts.block1 = (block128_f) HWAES_encrypt;
1662 xctx->xts.block1 = (block128_f) HWAES_decrypt;
1667 xctx->xts.block2 = (block128_f) HWAES_encrypt;
1669 xctx->xts.key1 = &xctx->ks1;
1683 xctx->xts.block1 = (block128_f) vpaes_encrypt;
1687 xctx->xts.block1 = (block128_f) vpaes_decrypt;
1692 xctx->xts.block2 = (block128_f) vpaes_encrypt;
1694 xctx->xts.key1 = &xctx->ks1;
1702 xctx->xts.block1 = (block128_f) AES_encrypt;
1705 xctx->xts.block1 = (block128_f) AES_decrypt;
1710 xctx->xts.block2 = (block128_f) AES_encrypt;
1712 xctx->xts.key1 = &xctx->ks1;
1716 xctx->xts.key2 = &xctx->ks2;
1727 if (!xctx->xts.key1 || !xctx->xts.key2)
1733 xctx->xts.key1, xctx->xts.key2, ctx->iv);
1734 else if (CRYPTO_xts128_encrypt(&xctx->xts, ctx->iv, in, out, len,
1746 BLOCK_CIPHER_custom(NID_aes, 128, 1, 16, xts, XTS,
1748 BLOCK_CIPHER_custom(NID_aes, 256, 1, 16, xts, XTS,