Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/crypto/io/
H A Ddprov.c4306 copyin_aes_ccm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_ccm_mech() argument
4328 out_mech->cm_type = STRUCT_FGET(mech, cm_type); in copyin_aes_ccm_mech()
4329 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4330 out_mech->cm_param_len = 0; in copyin_aes_ccm_mech()
4335 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4364 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4371 out_mech->cm_param = NULL; in copyin_aes_ccm_mech()
4375 out_mech->cm_param = (char *)aes_ccm_params; in copyin_aes_ccm_mech()
4376 out_mech->cm_param_len = sizeof (CK_AES_CCM_PARAMS); in copyin_aes_ccm_mech()
4392 copyin_aes_gcm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_gcm_mech() argument
[all …]
H A Dcrypto.c2106 crypto_mechanism_t *out_mech, size_t *out_rctl_bytes, in copyin_mech() argument
2120 out_mech->cm_type = STRUCT_FGET(mech, cm_type); in copyin_mech()
2121 out_mech->cm_param = NULL; in copyin_mech()
2122 out_mech->cm_param_len = 0; in copyin_mech()
2138 out_mech->cm_param = kmem_alloc(param_len, KM_SLEEP); in copyin_mech()
2139 if (copyin((char *)param, out_mech->cm_param, param_len) != 0) { in copyin_mech()
2140 kmem_free(out_mech->cm_param, param_len); in copyin_mech()
2141 out_mech->cm_param = NULL; in copyin_mech()
2145 out_mech->cm_param_len = param_len; in copyin_mech()