Home
last modified time | relevance | path

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

/openssl/crypto/evp/
H A Dnames.c101 EVP_CIPHER *fetched_cipher; in evp_get_cipherbyname_ex() local
108 fetched_cipher = EVP_CIPHER_fetch(libctx, name, NULL); in evp_get_cipherbyname_ex()
109 EVP_CIPHER_free(fetched_cipher); in evp_get_cipherbyname_ex()
H A Devp_enc.c46 if (ctx->fetched_cipher != NULL) in OSSL_SAFE_MATH_SIGNED()
47 EVP_CIPHER_free(ctx->fetched_cipher); in OSSL_SAFE_MATH_SIGNED()
151 if (ctx->cipher == ctx->fetched_cipher) in evp_cipher_init_internal()
153 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
154 ctx->fetched_cipher = NULL; in evp_cipher_init_internal()
198 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
199 ctx->fetched_cipher = provciph; in evp_cipher_init_internal()
208 if (cipher != ctx->fetched_cipher) { in evp_cipher_init_internal()
213 EVP_CIPHER_free(ctx->fetched_cipher); in evp_cipher_init_internal()
1477 if (in->fetched_cipher != NULL && !EVP_CIPHER_up_ref(in->fetched_cipher)) { in EVP_CIPHER_CTX_copy()
[all …]
H A Devp_local.h61 EVP_CIPHER *fetched_cipher; member
/openssl/crypto/pkcs7/
H A Dpk7_doit.c239 EVP_CIPHER *fetched_cipher = NULL; in PKCS7_dataInit() local
338 fetched_cipher = EVP_CIPHER_fetch(libctx, in PKCS7_dataInit()
342 if (fetched_cipher != NULL) in PKCS7_dataInit()
343 cipher = fetched_cipher; in PKCS7_dataInit()
350 EVP_CIPHER_free(fetched_cipher); in PKCS7_dataInit()
351 fetched_cipher = NULL; in PKCS7_dataInit()
418 EVP_CIPHER_free(fetched_cipher); in PKCS7_dataInit()
/openssl/crypto/cms/
H A Dcms_env.c575 EVP_CIPHER *fetched_cipher = NULL; in cms_RecipientInfo_ktri_decrypt() local
596 fetched_cipher = EVP_CIPHER_fetch(libctx, name, propq); in cms_RecipientInfo_ktri_decrypt()
598 if (fetched_cipher != NULL) in cms_RecipientInfo_ktri_decrypt()
599 cipher = fetched_cipher; in cms_RecipientInfo_ktri_decrypt()
610 EVP_CIPHER_free(fetched_cipher); in cms_RecipientInfo_ktri_decrypt()
/openssl/test/
H A Devp_test.c868 EVP_CIPHER *fetched_cipher; member
919 EVP_CIPHER *fetched_cipher; in cipher_test_init() local
930 if ((cipher = fetched_cipher = EVP_CIPHER_fetch(libctx, alg, propquery)) == NULL in cipher_test_init()
949 cdat->fetched_cipher = fetched_cipher; in cipher_test_init()
959 EVP_CIPHER_free(fetched_cipher); in cipher_test_init()
967 if (fetched_cipher != NULL) in cipher_test_init()
986 EVP_CIPHER_free(cdat->fetched_cipher); in cipher_test_cleanup()

Completed in 36 milliseconds