SHA1_HASHSIZE
static hash_info_t sha1_hash = {SHA1_HASHSIZE, CONFOUNDER_LEN, sha1_calc};
rv = kef_digest(sha1_hash_mech, input, inlen, output, SHA1_HASHSIZE);