Home
last modified time | relevance | path

Searched refs:xts (Results 1 – 10 of 10) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_xts_hw.c19 xctx->xts.block1 = (block128_f)fn_block_enc; \
22 xctx->xts.block1 = (block128_f)fn_block_dec; \
25 xctx->xts.block2 = (block128_f)fn_block_enc; \
26 xctx->xts.key1 = &xctx->ks1; \
27 xctx->xts.key2 = &xctx->ks2; \
81 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_sm4_xts_copyctx()
82 dctx->xts.key2 = &dctx->ks2.ks; in cipher_hw_sm4_xts_copyctx()
H A Dcipher_sm4_xts.c106 if (in->xts.key1 != NULL) { in sm4_xts_dupctx()
107 if (in->xts.key1 != &in->ks1) in sm4_xts_dupctx()
110 if (in->xts.key2 != NULL) { in sm4_xts_dupctx()
111 if (in->xts.key2 != &in->ks2) in sm4_xts_dupctx()
127 || ctx->xts.key1 == NULL in sm4_xts_cipher()
128 || ctx->xts.key2 == NULL in sm4_xts_cipher()
147 (*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, in sm4_xts_cipher()
149 else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl, in sm4_xts_cipher()
154 (*ctx->stream_gb)(in, out, inl, ctx->xts.key1, ctx->xts.key2, in sm4_xts_cipher()
156 else if (ossl_crypto_xts128gb_encrypt(&ctx->xts, ctx->base.iv, in, out, in sm4_xts_cipher()
[all …]
H A Dcipher_aes_xts.c161 if (in->xts.key1 != NULL) { in aes_xts_dupctx()
162 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
165 if (in->xts.key2 != NULL) { in aes_xts_dupctx()
166 if (in->xts.key2 != &in->ks2) in aes_xts_dupctx()
187 || ctx->xts.key1 == NULL in aes_xts_cipher()
188 || ctx->xts.key2 == NULL in aes_xts_cipher()
207 (*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, ctx->base.iv); in aes_xts_cipher()
208 else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl, in aes_xts_cipher()
317 IMPLEMENT_cipher(xts, XTS, 256, AES_XTS_FLAGS);
318 IMPLEMENT_cipher(xts, XTS, 128, AES_XTS_FLAGS);
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_sm4_xts.h38 XTS128_CONTEXT xts; member
H A Dcipher_aes_xts.h39 XTS128_CONTEXT xts; member
/openssl/test/recipes/30-test_evp_data/
H A Devpciph_aes_common.txt1054 Cipher = aes-128-xts
1064 Cipher = aes-128-xts
1074 Cipher = aes-128-xts
1081 Cipher = aes-128-xts
1087 Cipher = aes-128-xts
1093 Cipher = aes-128-xts
1099 Cipher = aes-128-xts
1105 Cipher = aes-128-xts
1111 Cipher = aes-128-xts
1117 Cipher = aes-128-xts
[all …]
/openssl/crypto/evp/
H A De_aes.c67 XTS128_CONTEXT xts; member
312 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key()
316 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
695 xctx->xts.key1 = &xctx->ks1; in aes_t4_xts_init_key()
699 xctx->xts.key2 = &xctx->ks2; in aes_t4_xts_init_key()
3199 if (xctx->xts.key1) { in aes_xts_ctrl()
3204 if (xctx->xts.key2) { in aes_xts_ctrl()
3213 xctx->xts.key1 = NULL; in aes_xts_ctrl()
3214 xctx->xts.key2 = NULL; in aes_xts_ctrl()
3340 if (xctx->xts.key1 == NULL in aes_xts_cipher()
[all …]
/openssl/crypto/err/
H A Dopenssl.txt828 EVP_R_XTS_DATA_UNIT_IS_TOO_LARGE:191:xts data unit is too large
829 EVP_R_XTS_DUPLICATED_KEYS:192:xts duplicated keys
1173 PROV_R_XTS_DATA_UNIT_IS_TOO_LARGE:148:xts data unit is too large
1174 PROV_R_XTS_DUPLICATED_KEYS:149:xts duplicated keys
/openssl/crypto/objects/
H A Dobjects.txt1052 ieee-siswg 0 1 1 : AES-128-XTS : aes-128-xts
1053 ieee-siswg 0 1 2 : AES-256-XTS : aes-256-xts
1676 sm-scheme 104 10 : SM4-XTS : sm4-xts

Completed in 84 milliseconds