Lines Matching refs:XTS
90 XTS128_CONTEXT xts;
359 xctx->xts.block1 = (block128_f)aesni_encrypt;
365 xctx->xts.block1 = (block128_f)aesni_decrypt;
371 xctx->xts.block2 = (block128_f)aesni_encrypt;
373 xctx->xts.key1 = &xctx->ks1;
378 xctx->xts.key2 = &xctx->ks2;
1047 xctx->xts.key1 = NULL;
1048 xctx->xts.key2 = NULL;
1078 xctx->xts.block1 = (block128_f)vpaes_encrypt;
1083 xctx->xts.block1 = (block128_f)vpaes_decrypt;
1088 xctx->xts.block2 = (block128_f)vpaes_encrypt;
1090 xctx->xts.key1 = &xctx->ks1;
1097 xctx->xts.block1 = (block128_f)AES_encrypt;
1102 xctx->xts.block1 = (block128_f)AES_decrypt;
1107 xctx->xts.block2 = (block128_f)AES_encrypt;
1109 xctx->xts.key1 = &xctx->ks1;
1114 xctx->xts.key2 = &xctx->ks2;
1125 if (!xctx->xts.key1 || !xctx->xts.key2)
1140 xctx->xts.key1, xctx->xts.key2, ctx->iv);
1141 else if (CRYPTO_xts128_encrypt(&xctx->xts, ctx->iv, in, out, len,
1152 BLOCK_CIPHER_custom(NID_aes,128,1,16,xts,XTS,EVP_CIPH_FLAG_FIPS|XTS_FLAGS)
1153 BLOCK_CIPHER_custom(NID_aes,256,1,16,xts,XTS,EVP_CIPH_FLAG_FIPS|XTS_FLAGS)