Home
last modified time | relevance | path

Searched refs:fetched_cipher (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/crypto/evp/
Devp_enc.c43 if (ctx->fetched_cipher != NULL) in EVP_CIPHER_CTX_reset()
44 EVP_CIPHER_free(ctx->fetched_cipher); in EVP_CIPHER_CTX_reset()
143 if (ctx->cipher == ctx->fetched_cipher) in evp_cipher_init_internal()
145 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
146 ctx->fetched_cipher = NULL; in evp_cipher_init_internal()
190 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
191 ctx->fetched_cipher = provciph; in evp_cipher_init_internal()
200 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
201 ctx->fetched_cipher = (EVP_CIPHER *)cipher; in evp_cipher_init_internal()
1424 if (in->fetched_cipher != NULL && !EVP_CIPHER_up_ref(in->fetched_cipher)) { in EVP_CIPHER_CTX_copy()
[all …]
Devp_local.h61 EVP_CIPHER *fetched_cipher; member
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c212 EVP_CIPHER *fetched_cipher = NULL; in PKCS7_dataInit() local
311 fetched_cipher = EVP_CIPHER_fetch(libctx, in PKCS7_dataInit()
315 if (fetched_cipher != NULL) in PKCS7_dataInit()
316 cipher = fetched_cipher; in PKCS7_dataInit()
323 EVP_CIPHER_free(fetched_cipher); in PKCS7_dataInit()
324 fetched_cipher = NULL; in PKCS7_dataInit()
377 EVP_CIPHER_free(fetched_cipher); in PKCS7_dataInit()
/third_party/openssl/crypto/cms/
Dcms_env.c526 EVP_CIPHER *fetched_cipher = NULL; in cms_RecipientInfo_ktri_decrypt() local
547 fetched_cipher = EVP_CIPHER_fetch(libctx, name, propq); in cms_RecipientInfo_ktri_decrypt()
549 if (fetched_cipher != NULL) in cms_RecipientInfo_ktri_decrypt()
550 cipher = fetched_cipher; in cms_RecipientInfo_ktri_decrypt()
561 EVP_CIPHER_free(fetched_cipher); in cms_RecipientInfo_ktri_decrypt()
/third_party/openssl/test/
Devp_test.c520 EVP_CIPHER *fetched_cipher; member
551 EVP_CIPHER *fetched_cipher; in cipher_test_init() local
562 if ((cipher = fetched_cipher = EVP_CIPHER_fetch(libctx, alg, NULL)) == NULL in cipher_test_init()
580 cdat->fetched_cipher = fetched_cipher; in cipher_test_init()
589 if (fetched_cipher != NULL) in cipher_test_init()
608 EVP_CIPHER_free(cdat->fetched_cipher); in cipher_test_cleanup()