Home
last modified time | relevance | path

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

/titanic_50/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) : \
/titanic_50/usr/src/uts/common/crypto/io/
H A Dcrypto.c2526 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, int mode, int *error) in crypto_provider_copyin_mech_param() argument
2532 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type); in crypto_provider_copyin_mech_param()
2537 rv = KCF_PROV_COPYIN_MECH(pd, umech, kmech, error, mode); in crypto_provider_copyin_mech_param()
2538 kmech->cm_type = umech->cm_type; in crypto_provider_copyin_mech_param()
2558 crypto_mechanism_t *kmech, crypto_mechanism_t *umech, int mode, int *error) in crypto_provider_copyout_mech_param() argument
2564 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type); in crypto_provider_copyout_mech_param()
2567 rv = KCF_PROV_COPYOUT_MECH(pd, kmech, umech, error, mode); in crypto_provider_copyout_mech_param()
2568 kmech->cm_type = umech->cm_type; in crypto_provider_copyout_mech_param()
H A Ddprov.c4713 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, in dprov_copyin_mechanism() argument
4726 bcopy(umech, STRUCT_BUF(mech), STRUCT_SIZE(mech)); in dprov_copyin_mechanism()
4749 rv = copyin_aes_ctr_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4753 rv = copyin_ecc_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4757 rv = copyin_aes_ccm_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4761 rv = copyin_aes_gcm_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4765 rv = copyin_aes_gmac_mech(umech, kmech, &error, mode); in dprov_copyin_mechanism()
4807 crypto_mechanism_t *kmech, crypto_mechanism_t *umech, in dprov_copyout_mechanism() argument
4815 return (copyout_aes_ctr_mech(kmech, umech, out_error, mode)); in dprov_copyout_mechanism()