hash_alg_type
hash_alg_type type;
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm);
ATTRIBUTE_WARN_UNUSED_RET int get_hash_sizes(hash_alg_type hash_type, u8 *digest_size, u8 *block_size);
ATTRIBUTE_WARN_UNUSED_RET int hmac_init(hmac_context *ctx, const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type);
ATTRIBUTE_WARN_UNUSED_RET int hmac(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, const u8 *input, u32 ilen, u8 *output, u8 *outlen);
ATTRIBUTE_WARN_UNUSED_RET int hmac_scattered(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, const u8 **inputs, const u32 *ilens, u8 *output, u8 *outlen);
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type * hash_type,
hash_alg_type hash_type,
hash_alg_type hash_type, u8 *siglen);
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len);
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
ATTRIBUTE_WARN_UNUSED_RET static int get_libecc_hash(gen_hash_alg_type gen_hash_type, hash_alg_type *hash_type, const hash_mapping **hm, u8 *hlen, u8 *block_size)
hash_alg_type htype = UNKNOWN_HASH_ALG;
hash_alg_type hash_type;
hash_alg_type hash_type;
hash_alg_type hash_type;
hash_alg_type hash_type;
hash_alg_type hash_type;
ATTRIBUTE_WARN_UNUSED_RET int get_hash_by_type(hash_alg_type hash_type, const hash_mapping **hm)
ATTRIBUTE_WARN_UNUSED_RET int get_hash_sizes(hash_alg_type hash_type, u8 *digest_size, u8 *block_size)
int hmac(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type,
int hmac_scattered(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type,
hash_alg_type hash_type)
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
hash_alg_type hash_type)
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type;
ATTRIBUTE_WARN_UNUSED_RET static inline hash_alg_type get_eddsa_hash_type(ec_alg_type sig_type){
hash_alg_type hash_type = UNKNOWN_HASH_ALG;
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type hash_type;
hash_alg_type hash_type = UNKNOWN_HASH_ALG;
hash_alg_type hash_type = UNKNOWN_HASH_ALG;
hash_alg_type hash_type = UNKNOWN_HASH_ALG;
hash_alg_type hash_type = UNKNOWN_HASH_ALG;
hash_alg_type hash_type;
hash_alg_type hash_type, u8 *siglen)
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
hash_alg_type * hash_type,
*hash_type = (hash_alg_type)out_buf[1];
hash_alg_type hash_type,
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
const ec_pub_key *pub_key, hash_alg_type hash_type)
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
hash_alg_type hash_type;
hash_alg_type htype = c->hash_type;
hash_alg_type stored_hash_type;
hash_alg_type hash_type;
const char *hash_name, hash_alg_type * hash_type)
ec_alg_type sig_type, hash_alg_type hash_type,
hash_alg_type hash_type;
hash_alg_type hash;
hash_alg_type hash;
hash_alg_type hash;
hash_alg_type sig_hash;