Home
last modified time | relevance | path

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

/openssl/providers/implementations/kdfs/
H A Dhkdf.c54 static int HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md,
59 static int HKDF_Extract(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md,
63 static int HKDF_Expand(const EVP_MD *evp_md,
455 static int HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md, in HKDF() argument
465 sz = EVP_MD_get_size(evp_md); in HKDF()
471 if (!HKDF_Extract(libctx, evp_md, in HKDF()
506 static int HKDF_Extract(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md, in HKDF_Extract() argument
511 int sz = EVP_MD_get_size(evp_md); in HKDF_Extract()
565 static int HKDF_Expand(const EVP_MD *evp_md, in HKDF_Expand() argument
576 sz = EVP_MD_get_size(evp_md); in HKDF_Expand()
[all …]
H A Dsshkdf.c37 static int SSHKDF(const EVP_MD *evp_md,
337 static int SSHKDF(const EVP_MD *evp_md, in SSHKDF() argument
353 if (!EVP_DigestInit_ex(md, evp_md, NULL)) in SSHKDF()
381 if (!EVP_DigestInit_ex(md, evp_md, NULL)) in SSHKDF()
/openssl/doc/man3/
H A DHMAC.pod23 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
61 I<data> using the hash function I<evp_md> and the key I<key> which is
70 I<evp_md> is a message digest such as EVP_sha1(), EVP_ripemd160() etc.
96 function I<evp_md> and key I<key>. If both are NULL, or if I<key> is NULL
97 and I<evp_md> is the same as the previous call, then the
102 If HMAC_Init_ex() is called with I<key> NULL and I<evp_md> is not the
107 function I<evp_md> and the key I<key> which is I<key_len> bytes
/openssl/crypto/hmac/
H A Dhmac.c248 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, in HMAC() argument
253 int size = EVP_MD_get_size(evp_md); in HMAC()
258 ret = EVP_Q_mac(NULL, "HMAC", NULL, EVP_MD_get0_name(evp_md), NULL, in HMAC()
/openssl/include/openssl/
H A Dhmac.h54 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
/openssl/crypto/pkcs7/
H A Dpk7_doit.c442 EVP_MD *evp_md = NULL; in PKCS7_dataDecode() local
557 evp_md = EVP_MD_fetch(libctx, name, propq); in PKCS7_dataDecode()
558 if (evp_md != NULL) in PKCS7_dataDecode()
559 md = evp_md; in PKCS7_dataDecode()
571 EVP_MD_free(evp_md); in PKCS7_dataDecode()
575 EVP_MD_free(evp_md); in PKCS7_dataDecode()
/openssl/fuzz/
H A Dprovider.c546 static int do_evp_md(EVP_MD *evp_md, const OSSL_PARAM params[]) in do_evp_md() argument
563 if (!EVP_DigestInit_ex2(mdctx, evp_md, NULL)) { in do_evp_md()

Completed in 15 milliseconds