Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dfreebsd_crypto.h74 typedef struct hmac_ctx { struct
84 void crypto_mac_init(struct hmac_ctx *ctx, const crypto_key_t *key); argument
85 void crypto_mac_update(struct hmac_ctx *ctx, const void *data,
87 void crypto_mac_final(struct hmac_ctx *ctx, void *out_data,
/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()
105 crypto_mac_update(struct hmac_ctx *ctx, const void *data, size_t datasize) in crypto_mac_update()
111 crypto_mac_final(struct hmac_ctx *ctx, void *md, size_t mdsize) in crypto_mac_final()
134 struct hmac_ctx ctx; in crypto_mac()
H A Dhkdf.c45 struct hmac_ctx ctx; in hkdf_sha512_expand()
H A Dzio_crypt.c1036 struct hmac_ctx hash_ctx; in zio_crypt_do_objset_hmacs()
1037 struct hmac_ctx *ctx = &hash_ctx; in zio_crypt_do_objset_hmacs()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha1_mod.c716 sha1_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; in sha1_mac_init() local
723 PROV_SHA1_DIGEST_KEY(&hmac_ctx->hc_icontext, in sha1_mac_init()
H A Dsha2_mod.c803 sha2_hmac_ctx_t *hmac_ctx = ctx->cc_provider_private; in sha2_mac_init() local
811 &hmac_ctx->hc_icontext, in sha2_mac_init()