Home
last modified time | relevance | path

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

/crypto/property/
A Dproperty.c205 if (impl != NULL) { in impl_free()
207 OPENSSL_free(impl); in impl_free()
323 IMPLEMENTATION *impl; in ossl_method_store_add() local
337 impl = OPENSSL_malloc(sizeof(*impl)); in ossl_method_store_add()
338 if (impl == NULL) in ossl_method_store_add()
344 OPENSSL_free(impl); in ossl_method_store_add()
347 impl->provider = prov; in ossl_method_store_add()
351 impl_free(impl); in ossl_method_store_add()
424 impl_free(impl); in ossl_method_store_add()
430 impl_free(impl); in ossl_method_store_add()
[all …]
/crypto/hmac/
A Dhmac_s390x.c73 static int s390x_check_engine_used(const EVP_MD *md, ENGINE *impl) in s390x_check_engine_used() argument
78 if (impl != NULL) { in s390x_check_engine_used()
79 if (!ENGINE_init(impl)) in s390x_check_engine_used()
82 impl = ENGINE_get_digest_engine(EVP_MD_get_type(md)); in s390x_check_engine_used()
85 if (impl == NULL) in s390x_check_engine_used()
88 d = ENGINE_get_digest(impl, EVP_MD_get_type(md)); in s390x_check_engine_used()
89 ENGINE_finish(impl); in s390x_check_engine_used()
98 int s390x_HMAC_init(HMAC_CTX *ctx, const void *key, int key_len, ENGINE *impl) in s390x_HMAC_init() argument
107 if (s390x_check_engine_used(ctx->md, impl)) { in s390x_HMAC_init()
173 if (!EVP_DigestInit_ex(ctx->md_ctx, ctx->md, impl) in s390x_HMAC_init()
A Dhmac.c26 const EVP_MD *md, ENGINE *impl) in HMAC_Init_ex() argument
53 rv = s390x_HMAC_init(ctx, key, len, impl); in HMAC_Init_ex()
67 if (!EVP_DigestInit_ex(ctx->md_ctx, md, impl) in HMAC_Init_ex()
84 if (!EVP_DigestInit_ex(ctx->i_ctx, md, impl) in HMAC_Init_ex()
91 if (!EVP_DigestInit_ex(ctx->o_ctx, md, impl) in HMAC_Init_ex()
A Dhmac_local.h59 int s390x_HMAC_init(HMAC_CTX *ctx, const void *key, int key_len, ENGINE *impl);
/crypto/cmac/
A Dcmac.c112 const EVP_CIPHER *cipher, ENGINE *impl, in ossl_cmac_init() argument
119 if (!key && !cipher && !impl && keylen == 0) { in ossl_cmac_init()
136 if (impl != NULL) { in ossl_cmac_init()
137 if (!EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL)) in ossl_cmac_init()
175 const EVP_CIPHER *cipher, ENGINE *impl) in CMAC_Init() argument
177 return ossl_cmac_init(ctx, key, keylen, cipher, impl, NULL); in CMAC_Init()
/crypto/evp/
A Ddigest.c217 if (impl == NULL) in evp_md_init_internal()
225 if (impl != NULL in evp_md_init_internal()
309 if (impl != NULL) { in evp_md_init_internal()
310 if (!ENGINE_init(impl)) { in evp_md_init_internal()
316 impl = tmpimpl; in evp_md_init_internal()
318 if (impl != NULL) { in evp_md_init_internal()
324 ENGINE_finish(impl); in evp_md_init_internal()
333 ctx->engine = impl; in evp_md_init_internal()
382 return evp_md_init_internal(ctx, type, NULL, impl); in EVP_DigestInit_ex()
728 ENGINE *impl) in EVP_Digest() argument
[all …]
A Devp_enc.c137 if (cipher != NULL && impl == NULL) { in evp_cipher_init_internal()
150 || impl != NULL in evp_cipher_init_internal()
353 if (impl != NULL) { in evp_cipher_init_internal()
354 if (!ENGINE_init(impl)) { in evp_cipher_init_internal()
359 impl = tmpimpl; in evp_cipher_init_internal()
361 if (impl != NULL) { in evp_cipher_init_internal()
380 ctx->engine = impl; in evp_cipher_init_internal()
650 ENGINE *impl, const unsigned char *key, in EVP_CipherInit_ex() argument
816 ENGINE *impl, const unsigned char *key, in EVP_EncryptInit_ex() argument
819 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1); in EVP_EncryptInit_ex()
[all …]

Completed in 27 milliseconds