Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dimpl.h614 #define KCF_PROV_COPYIN_MECH(pd, umech, kmech, errorp, mode) ( \ argument
617 (pd)->pd_prov_handle, umech, kmech, errorp, mode) : \
620 #define KCF_PROV_COPYOUT_MECH(pd, kmech, umech, errorp, mode) ( \ argument
623 (pd)->pd_prov_handle, kmech, umech, errorp, mode) : \
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c2562 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, int mode, int *error) in crypto_provider_copyin_mech_param() argument
2568 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type); in crypto_provider_copyin_mech_param()
2573 rv = KCF_PROV_COPYIN_MECH(pd, umech, kmech, error, mode); in crypto_provider_copyin_mech_param()
2574 kmech->cm_type = umech->cm_type; in crypto_provider_copyin_mech_param()
2594 crypto_mechanism_t *kmech, crypto_mechanism_t *umech, int mode, int *error) in crypto_provider_copyout_mech_param() argument
2600 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type); in crypto_provider_copyout_mech_param()
2603 rv = KCF_PROV_COPYOUT_MECH(pd, kmech, umech, error, mode); in crypto_provider_copyout_mech_param()
2604 kmech->cm_type = umech->cm_type; in crypto_provider_copyout_mech_param()
H A Ddprov.c4739 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, in dprov_copyin_mechanism() argument
4752 bcopy(umech, STRUCT_BUF(mech), STRUCT_SIZE(mech)); in dprov_copyin_mechanism()
4775 rv = copyin_aes_ctr_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4779 rv = copyin_ecc_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4783 rv = copyin_aes_ccm_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4787 rv = copyin_aes_gcm_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4791 rv = copyin_aes_gmac_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4833 crypto_mechanism_t *kmech, crypto_mechanism_t *umech, in dprov_copyout_mechanism() argument
4841 return (copyout_aes_ctr_mech(kmech, umech, out_error, mode)); in dprov_copyout_mechanism()