Searched refs:dsa_hash (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/examples/sig/dsa/ |
H A D | dsa.h | 70 u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash); 73 const u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash);
|
H A D | dsa.c | 196 u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash) in dsa_sign() argument 239 ret = gen_hash_get_hash_sizes(dsa_hash, &hlen, &block_size); EG(ret, err); in dsa_sign() 278 ret = gen_hash_hfunc(msg, msglen, hash, dsa_hash); EG(ret, err); in dsa_sign() 353 const u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash) in dsa_verify() argument 406 ret = gen_hash_get_hash_sizes(dsa_hash, &hlen, &block_size); EG(ret, err); in dsa_verify() 408 ret = gen_hash_hfunc(msg, msglen, hash, dsa_hash); EG(ret, err); in dsa_verify()
|