Home
last modified time | relevance | path

Searched refs:xctx (Results 1 – 7 of 7) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_xts_hw.c18 fn_set_enc_key(key, &xctx->ks1.ks); \
19 xctx->xts.block1 = (block128_f)fn_block_enc; \
21 fn_set_dec_key(key, &xctx->ks1.ks); \
22 xctx->xts.block1 = (block128_f)fn_block_dec; \
24 fn_set_enc_key(key + bytes, &xctx->ks2.ks); \
25 xctx->xts.block2 = (block128_f)fn_block_enc; \
26 xctx->xts.key1 = &xctx->ks1; \
27 xctx->xts.key2 = &xctx->ks2; \
28 xctx->stream = fn_stream; \
29 xctx->stream_gb = fn_stream_gb; \
[all …]
H A Dcipher_aes_xts_hw.c25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \
33 xctx->xts.key1 = &xctx->ks1; \
34 xctx->xts.key2 = &xctx->ks2; \
42 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_generic_initkey() local
105 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aesni_xts_initkey() local
128 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_t4_initkey() local
168 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zknd_zkne_initkey() local
181 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zvbb_zvkg_zvkned_initkey() local
204 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zvkned_initkey() local
254 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv32i_zknd_zkne_initkey() local
[all …]
H A Dcipher_aes_xts_s390x.inc26 switch (xctx->base.keylen) {
43 if (ivlen != xctx->base.ivlen
49 xctx->plat.s390x.iv_set = 1;
53 if (keylen != xctx->base.keylen) {
61 xctx->plat.s390x.key_set = 1;
64 xctx->plat.s390x.fc = fc | dec;
65 xctx->plat.s390x.offset = offs;
73 xctx->plat.s390x.fc = 0;
74 xctx->plat.s390x.offset = 0;
121 || !xctx->plat.s390x.iv_set
[all …]
H A Dcipher_sm4_xts.c40 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_init() local
41 PROV_CIPHER_CTX *ctx = &xctx->base; in sm4_xts_init()
60 return sm4_xts_set_ctx_params(xctx, params); in sm4_xts_init()
205 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)vxctx; in sm4_xts_set_ctx_params() local
231 xctx->xts_standard = 0; in sm4_xts_set_ctx_params()
233 xctx->xts_standard = 1; in sm4_xts_set_ctx_params()
H A Dcipher_sm4_xts_hw_rv64i.inc19 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)ctx;
H A Dcipher_aes_xts.c76 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_init() local
77 PROV_CIPHER_CTX *ctx = &xctx->base; in aes_xts_init()
/openssl/crypto/evp/
H A De_aes.c312 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()
3200 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl()
3205 if (xctx->xts.key2 != &xctx->ks2) in aes_xts_ctrl()
3284 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
3306 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
3323 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()
3328 xctx->xts.key2 = &xctx->ks2; in aes_xts_init_key()
[all …]

Completed in 21 milliseconds