Searched refs:xts (Results 1 – 10 of 10) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | cipher_sm4_xts_hw.c | 19 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 D | cipher_sm4_xts.c | 106 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 D | cipher_aes_xts.c | 161 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 D | cipher_aes_xts_hw.c | 26 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 D | cipher_sm4_xts.h | 38 XTS128_CONTEXT xts; member
|
H A D | cipher_aes_xts.h | 39 XTS128_CONTEXT xts; member
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpciph_aes_common.txt | 1054 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 D | e_aes.c | 67 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 D | openssl.txt | 828 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 D | objects.txt | 1052 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