Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dhmac.c16 int hmac_init(hmac_context *ctx, const u8 *hmackey, u32 hmackey_len, in hmac_init() argument
26 MUST_HAVE((ctx != NULL) && (hmackey != NULL), ret, err); in hmac_init()
42 ret = local_memcpy(local_hmac_key, hmackey, hmackey_len); EG(ret, err); in hmac_init()
53 ret = h->hfunc_update(&tmp_ctx, hmackey, hmackey_len); EG(ret, err); in hmac_init()
136 int hmac(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, in hmac() argument
142 ret = hmac_init(&ctx, hmackey, hmackey_len, hash_type); EG(ret, err); in hmac()
154 int hmac_scattered(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, in hmac_scattered() argument
162 ret = hmac_init(&ctx, hmackey, hmackey_len, hash_type); EG(ret, err); in hmac_scattered()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dhmac.h26 ATTRIBUTE_WARN_UNUSED_RET int hmac_init(hmac_context *ctx, const u8 *hmackey, u32 hmackey_len, hash…
32 ATTRIBUTE_WARN_UNUSED_RET int hmac(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash_type, con…
34 ATTRIBUTE_WARN_UNUSED_RET int hmac_scattered(const u8 *hmackey, u32 hmackey_len, hash_alg_type hash…