Searched refs:lmech (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/openzfs/module/icp/api/ |
H A D | kcf_cipher.c | 90 crypto_mechanism_t lmech = *mech; in crypto_encrypt() local 91 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_encrypt() 92 error = KCF_PROV_ENCRYPT_ATOMIC(pd, &lmech, key, in crypto_encrypt() 161 crypto_mechanism_t lmech = *mech; in crypto_decrypt() local 162 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_decrypt() 164 error = KCF_PROV_DECRYPT_ATOMIC(pd, &lmech, key, in crypto_decrypt()
|
H A D | kcf_mac.c | 106 crypto_mechanism_t lmech = *mech; in crypto_mac() local 107 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, pd, &lmech); in crypto_mac() 108 error = KCF_PROV_MAC_ATOMIC(pd, &lmech, key, data, in crypto_mac() 170 crypto_mechanism_t lmech = *mech; in crypto_mac_init_prov() local 171 KCF_SET_PROVIDER_MECHNUM(mech->cm_type, real_provider, &lmech); in crypto_mac_init_prov() 172 rv = KCF_PROV_MAC_INIT(real_provider, ctx, &lmech, key, tmpl); in crypto_mac_init_prov()
|