Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_mech_tabs.c215 kcf_mech_type = crypto_mech2id(mech_info->cm_mech_name); in kcf_add_mech_provider()
238 kcf_mech_type = crypto_mech2id(mech_info->cm_mech_name); in kcf_add_mech_provider()
312 if ((mech_type = crypto_mech2id(mech_name)) == in kcf_remove_mech_provider()
414 crypto_mech2id(const char *mechname) in crypto_mech2id() function
428 EXPORT_SYMBOL(crypto_mech2id);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dhkdf.c34 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in hkdf_sha512_extract()
80 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in hkdf_sha512_expand()
/freebsd/sys/contrib/openzfs/include/sys/crypto/
H A Dapi.h43 extern crypto_mech_type_t crypto_mech2id(const char *name);
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c288 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_init()
294 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_init()
415 mech.cm_type = crypto_mech2id(crypt_info.ci_mechname); in zio_do_crypt_uio()
635 mech.cm_type = crypto_mech2id(zio_crypt_table[crypt].ci_mechname); in zio_crypt_key_unwrap()
641 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_key_unwrap()
688 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_do_hmac()
1149 mech.cm_type = crypto_mech2id(SUN_CKM_SHA512_HMAC); in zio_crypt_do_objset_hmacs()