Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c60 crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *c_key) in crypto_mac_init() argument
67 size_t cl_bytes = CRYPTO_BITS2BYTES(c_key->ck_length); in crypto_mac_init()
73 if (c_key->ck_length == 0) in crypto_mac_init()
76 bcopy(c_key->ck_data, key, cl_bytes); in crypto_mac_init()
83 SHA512_Update(&lctx, c_key->ck_data, cl_bytes); in crypto_mac_init()