Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dcipher_aes_xts_hw.c25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \
26 xctx->xts.block1 = (block128_f)fn_block_enc; \
28 fn_set_dec_key(key, bits, &xctx->ks1.ks); \
29 xctx->xts.block1 = (block128_f)fn_block_dec; \
31 fn_set_enc_key(key + bytes, bits, &xctx->ks2.ks); \
32 xctx->xts.block2 = (block128_f)fn_block_enc; \
33 xctx->xts.key1 = &xctx->ks1; \
34 xctx->xts.key2 = &xctx->ks2; \
35 xctx->stream = ctx->enc ? fn_stream_enc : fn_stream_dec; \
42 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_generic_initkey() local
[all …]
Dcipher_aes_xts.c72 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_init() local
73 PROV_CIPHER_CTX *ctx = &xctx->base; in aes_xts_init()
/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_xts_hw.c25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \
26 xctx->xts.block1 = (block128_f)fn_block_enc; \
28 fn_set_dec_key(key, bits, &xctx->ks1.ks); \
29 xctx->xts.block1 = (block128_f)fn_block_dec; \
31 fn_set_enc_key(key + bytes, bits, &xctx->ks2.ks); \
32 xctx->xts.block2 = (block128_f)fn_block_enc; \
33 xctx->xts.key1 = &xctx->ks1; \
34 xctx->xts.key2 = &xctx->ks2; \
35 xctx->stream = ctx->enc ? fn_stream_enc : fn_stream_dec; \
42 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_generic_initkey() local
[all …]
Dcipher_aes_xts.c72 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_init() local
73 PROV_CIPHER_CTX *ctx = &xctx->base; in aes_xts_init()
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aes.c263 EVP_AES_XTS_CTX *xctx = EVP_C_DATA(EVP_AES_XTS_CTX,ctx); in aesni_xts_init_key() local
287 aesni_set_encrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key()
288 xctx->xts.block1 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
289 xctx->stream = aesni_xts_encrypt; in aesni_xts_init_key()
291 aesni_set_decrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key()
292 xctx->xts.block1 = (block128_f) aesni_decrypt; in aesni_xts_init_key()
293 xctx->stream = aesni_xts_decrypt; in aesni_xts_init_key()
296 aesni_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks); 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()
[all …]
/third_party/openssl/crypto/evp/
De_aes.c263 EVP_AES_XTS_CTX *xctx = EVP_C_DATA(EVP_AES_XTS_CTX,ctx); in aesni_xts_init_key() local
287 aesni_set_encrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key()
288 xctx->xts.block1 = (block128_f) aesni_encrypt; in aesni_xts_init_key()
289 xctx->stream = aesni_xts_encrypt; in aesni_xts_init_key()
291 aesni_set_decrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key()
292 xctx->xts.block1 = (block128_f) aesni_decrypt; in aesni_xts_init_key()
293 xctx->stream = aesni_xts_decrypt; in aesni_xts_init_key()
296 aesni_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks); 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()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dxml_libxml2.c440 struct xml_node_ctx *xctx; in xml_node_init_ctx() local
442 xctx = os_zalloc(sizeof(*xctx)); in xml_node_init_ctx()
443 if (xctx == NULL) in xml_node_init_ctx()
445 xctx->ctx = upper_ctx; in xml_node_init_ctx()
449 return xctx; in xml_node_init_ctx()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dxml_libxml2.c440 struct xml_node_ctx *xctx; in xml_node_init_ctx() local
442 xctx = os_zalloc(sizeof(*xctx)); in xml_node_init_ctx()
443 if (xctx == NULL) in xml_node_init_ctx()
445 xctx->ctx = upper_ctx; in xml_node_init_ctx()
449 return xctx; in xml_node_init_ctx()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dspp_client.c44 struct xml_node_ctx *xctx = ctx->xml; in hs20_spp_validate() local
49 if (!xml_node_is_element(xctx, node)) in hs20_spp_validate()
52 name = xml_node_get_localname(xctx, node); in hs20_spp_validate()
64 ret = xml_validate(xctx, node, spp_xsd_fname, &err); in hs20_spp_validate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dspp_client.c44 struct xml_node_ctx *xctx = ctx->xml; in hs20_spp_validate() local
49 if (!xml_node_is_element(xctx, node)) in hs20_spp_validate()
52 name = xml_node_get_localname(xctx, node); in hs20_spp_validate()
64 ret = xml_validate(xctx, node, spp_xsd_fname, &err); in hs20_spp_validate()