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.c4355 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()
4441 out_mech->cm_param = NULL; in copyin_aes_gcm_mech()
4442 out_mech->cm_param_len = 0; in copyin_aes_gcm_mech()
4516 out_mech->cm_param = NULL; in copyin_aes_gmac_mech()
4517 out_mech->cm_param_len = 0; in copyin_aes_gmac_mech()
4596 out_mech->cm_param = NULL; in copyin_aes_ctr_mech()
4597 out_mech->cm_param_len = 0; in copyin_aes_ctr_mech()
4646 out_mech->cm_param = NULL; in copyin_ecc_mech()
[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()