Home
last modified time | relevance | path

Searched refs:gen_hash_hfunc (Results 1 – 4 of 4) sorted by relevance

/freebsd/crypto/libecc/src/examples/hash/
H A Dhash.c290 int gen_hash_hfunc(const u8 *input, u32 ilen, u8 *digest, gen_hash_alg_type gen_hash_type) in gen_hash_hfunc() function
486 ret = gen_hash_hfunc(input, sizeof(input)-1, output, HASH_MDC2_PADDING1); EG(ret, err); in main()
489 ret = gen_hash_hfunc(input, sizeof(input)-1, output, HASH_MDC2_PADDING2); EG(ret, err); in main()
492 ret = gen_hash_hfunc(input2, sizeof(input2)-1, output, HASH_GOST34_11_94_NORM); EG(ret, err); in main()
495 ret = gen_hash_hfunc(input3, sizeof(input3)-1, output, HASH_GOST34_11_94_NORM); EG(ret, err); in main()
498 ret = gen_hash_hfunc(input4, sizeof(input4)-1, output, HASH_GOST34_11_94_NORM); EG(ret, err); in main()
504 ret = gen_hash_hfunc(input5, sizeof(input5), output, HASH_GOST34_11_94_NORM); EG(ret, err); in main()
H A Dhash.h103 ATTRIBUTE_WARN_UNUSED_RET int gen_hash_hfunc(const u8 *input, u32 ilen, u8 *digest, gen_hash_alg_ty…
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/
H A Dgostr34_10_94.c170 ret = gen_hash_hfunc(msg, msglen, hash, gostr34_10_94_hash); EG(ret, err); in gostr34_10_94_sign()
306 ret = gen_hash_hfunc(msg, msglen, hash, gostr34_10_94_hash); EG(ret, err); in gostr34_10_94_verify()
/freebsd/crypto/libecc/src/examples/sig/dsa/
H A Ddsa.c278 ret = gen_hash_hfunc(msg, msglen, hash, dsa_hash); EG(ret, err); in dsa_sign()
408 ret = gen_hash_hfunc(msg, msglen, hash, dsa_hash); EG(ret, err); in dsa_verify()