Home
last modified time | relevance | path

Searched refs:xts (Results 1 - 13 of 13) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_xts.c140 if (in->xts.key1 != NULL) { in aes_xts_dupctx()
141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
144 if (in->xts.key2 != NULL) { in aes_xts_dupctx()
145 if (in->xts.key2 != &in->ks2) in aes_xts_dupctx()
163 || ctx->xts.key1 == NULL in aes_xts_cipher()
164 || ctx->xts.key2 == NULL in aes_xts_cipher()
183 (*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, ctx->base.iv); in aes_xts_cipher()
184 else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl, in aes_xts_cipher()
247 /* The key length can not be modified for xts mod in aes_xts_set_ctx_params()
[all...]
H A Dcipher_aes_xts_hw.c26 xctx->xts.block1 = (block128_f)fn_block_enc; \
29 xctx->xts.block1 = (block128_f)fn_block_dec; \
32 xctx->xts.block2 = (block128_f)fn_block_enc; \
33 xctx->xts.key1 = &xctx->ks1; \
34 xctx->xts.key2 = &xctx->ks2; \
96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
97 dctx->xts.key2 = &dctx->ks2.ks; in cipher_hw_aes_xts_copyctx()
H A Dcipher_aes_xts.h31 XTS128_CONTEXT xts; member
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_xts.c140 if (in->xts.key1 != NULL) { in aes_xts_dupctx()
141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
144 if (in->xts.key2 != NULL) { in aes_xts_dupctx()
145 if (in->xts.key2 != &in->ks2) in aes_xts_dupctx()
163 || ctx->xts.key1 == NULL in aes_xts_cipher()
164 || ctx->xts.key2 == NULL in aes_xts_cipher()
183 (*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, ctx->base.iv); in aes_xts_cipher()
184 else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl, in aes_xts_cipher()
247 /* The key length can not be modified for xts mod in aes_xts_set_ctx_params()
[all...]
H A Dcipher_aes_xts_hw.c26 xctx->xts.block1 = (block128_f)fn_block_enc; \
29 xctx->xts.block1 = (block128_f)fn_block_dec; \
32 xctx->xts.block2 = (block128_f)fn_block_enc; \
33 xctx->xts.key1 = &xctx->ks1; \
34 xctx->xts.key2 = &xctx->ks2; \
96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
97 dctx->xts.key2 = &dctx->ks2.ks; in cipher_hw_aes_xts_copyctx()
H A Dcipher_aes_xts.h31 XTS128_CONTEXT xts; member
/third_party/node/deps/openssl/openssl/crypto/evp/
H A De_aes.c67 XTS128_CONTEXT xts; member
288 xctx->xts.block1 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
292 xctx->xts.block1 = (block128_f) aesni_decrypt; in aesni_xts_init_key()
297 xctx->xts.block2 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
299 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key()
303 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
625 xctx->xts.block1 = (block128_f) aes_t4_encrypt; in aes_t4_xts_init_key()
638 xctx->xts.block1 = (block128_f) aes_t4_decrypt; in aes_t4_xts_init_key()
652 xctx->xts.block2 = (block128_f) aes_t4_encrypt; in aes_t4_xts_init_key()
654 xctx->xts in aes_t4_xts_init_key()
[all...]
/third_party/openssl/crypto/evp/
H A De_aes.c67 XTS128_CONTEXT xts; member
288 xctx->xts.block1 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
292 xctx->xts.block1 = (block128_f) aesni_decrypt; in aesni_xts_init_key()
297 xctx->xts.block2 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
299 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key()
303 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
625 xctx->xts.block1 = (block128_f) aes_t4_encrypt; in aes_t4_xts_init_key()
638 xctx->xts.block1 = (block128_f) aes_t4_decrypt; in aes_t4_xts_init_key()
652 xctx->xts.block2 = (block128_f) aes_t4_encrypt; in aes_t4_xts_init_key()
654 xctx->xts in aes_t4_xts_init_key()
[all...]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/
H A Dlws-genaes.c573 * Fedora openssl tool doesn't support xts... this data produced
576 * NOTICE that xts requires a double-length key... OpenSSL now checks
579 *xts = (uint8_t *)"test plaintext\0\0", variable
612 if (lws_genaes_crypt(&ctx, xts, 16, res, data_unit, NULL, NULL, 0)) { in test_genaes_xts()
643 if (lws_timingsafe_bcmp(xts, res1, 16)) { in test_genaes_xts()
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm/crypto/aes/
H A Daes-s390x.S1776 oill %r0,32 # switch to xts function code
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/aes/
H A Daes-s390x.S1776 oill %r0,32 # switch to xts function code
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/crypto/aes/
H A Daes-s390x.S1776 oill %r0,32 # switch to xts function code
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/aes/
H A Daes-s390x.S1776 oill %r0,32 # switch to xts function code

Completed in 15 milliseconds