Home
last modified time | relevance | path

Searched refs:out_mech (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c4332 copyin_aes_ccm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_ccm_mech() argument
4354 out_mech->cm_type = STRUCT_FGET(mech, cm_type); in copyin_aes_ccm_mech()
4355 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4356 out_mech->cm_param_len = 0; in copyin_aes_ccm_mech()
4361 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4390 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4397 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4401 out_mech->cm_param = (char *)aes_ccm_params; in copyin_aes_ccm_mech()
4402 out_mech->cm_param_len = sizeof (CK_AES_CCM_PARAMS); in copyin_aes_ccm_mech()
4418 copyin_aes_gcm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_gcm_mech() argument
[all …]
H A Dcrypto.c2142 crypto_mechanism_t *out_mech, size_t *out_rctl_bytes, in copyin_mech() argument
2156 out_mech->cm_type = STRUCT_FGET(mech, cm_type); in copyin_mech()
2157 out_mech->cm_param = NULL; in copyin_mech()
2158 out_mech->cm_param_len = 0; in copyin_mech()
2174 out_mech->cm_param = kmem_alloc(param_len, KM_SLEEP); in copyin_mech()
2175 if (copyin((char *)param, out_mech->cm_param, param_len) != 0) { in copyin_mech()
2176 kmem_free(out_mech->cm_param, param_len); in copyin_mech()
2177 out_mech->cm_param = NULL; in copyin_mech()
2181 out_mech->cm_param_len = param_len; in copyin_mech()