Home
last modified time | relevance | path

Searched refs:md_func (Results 1 – 2 of 2) sorted by relevance

/openbsd/regress/lib/libcrypto/hkdf/
H A Dhkdf_test.c27 const EVP_MD *(*md_func)(void); member
258 if (!HKDF_extract(prk, &prk_len, test->md_func(), test->ikm, in main()
270 if (!HKDF_expand(buf, test->out_len, test->md_func(), prk, prk_len, in main()
283 if (!HKDF(buf, test->out_len, test->md_func(), test->ikm, in main()
/openbsd/regress/lib/libcrypto/md/
H A Dmd_test.c217 unsigned char *(*md_func)(const unsigned char *, size_t, unsigned char *); in md_test() local
234 if (!md_hash_from_algorithm(st->algorithm, &label, &md_func, in md_test()
240 md_func(st->in, st->in_len, out); in md_test()