Searched refs:evp_md (Results 1 – 6 of 6) sorted by relevance
/third_party/openssl/crypto/kdf/ |
D | hkdf.c | 20 static unsigned char *HKDF(const EVP_MD *evp_md, 26 static unsigned char *HKDF_Extract(const EVP_MD *evp_md, 31 static unsigned char *HKDF_Expand(const EVP_MD *evp_md, 257 static unsigned char *HKDF(const EVP_MD *evp_md, in HKDF() argument 267 if (!HKDF_Extract(evp_md, salt, salt_len, key, key_len, prk, &prk_len)) in HKDF() 270 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, okm, okm_len); in HKDF() 276 static unsigned char *HKDF_Extract(const EVP_MD *evp_md, in HKDF_Extract() argument 283 if (!HMAC(evp_md, salt, salt_len, key, key_len, prk, &tmp_len)) in HKDF_Extract() 290 static unsigned char *HKDF_Expand(const EVP_MD *evp_md, in HKDF_Expand() argument 302 size_t done_len = 0, dig_len = EVP_MD_size(evp_md); in HKDF_Expand() [all …]
|
/third_party/openssl/doc/man3/ |
D | HMAC.pod | 23 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, 57 B<d> using the hash function B<evp_md> and the key B<key> which is 66 B<evp_md> is a message digest such as EVP_sha1(), EVP_ripemd160() etc. HMAC does 84 function B<evp_md> and key B<key>. If both are NULL, or if B<key> is NULL 85 and B<evp_md> is the same as the previous call, then the 90 If HMAC_Init_ex() is called with B<key> NULL and B<evp_md> is not the 95 function B<evp_md> and the key B<key> which is B<key_len> bytes
|
/third_party/openssl/include/openssl/ |
D | hmac.h | 39 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
|
/third_party/openssl/crypto/hmac/ |
D | hmac.c | 211 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, in HMAC() argument 229 if (!HMAC_Init_ex(c, key, key_len, evp_md, NULL)) in HMAC()
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 365 const EVP_MD *evp_md; in PKCS7_dataDecode() local 450 evp_md = EVP_get_digestbynid(j); in PKCS7_dataDecode() 451 if (evp_md == NULL) { in PKCS7_dataDecode() 457 BIO_set_md(btmp, evp_md); in PKCS7_dataDecode()
|
/third_party/openssl/apps/ |
D | speed.c | 1026 static const EVP_MD *evp_md = NULL; variable 1038 if (!EVP_Digest(buf, lengths[testnum], md, NULL, evp_md, NULL)) in EVP_Digest_loop() 1567 evp_md = NULL; in speed_main() 1570 evp_md = EVP_get_digestbyname(opt_arg()); in speed_main() 1571 if (evp_cipher == NULL && evp_md == NULL) { in speed_main() 2667 } else if (evp_md != NULL) { in speed_main() 2668 names[D_EVP] = OBJ_nid2ln(EVP_MD_type(evp_md)); in speed_main()
|