Lines Matching defs:kmech
4713 crypto_mechanism_t *umech, crypto_mechanism_t *kmech,
4730 kmech->cm_param = NULL;
4731 kmech->cm_param_len = 0;
4733 switch (kmech->cm_type) {
4749 rv = copyin_aes_ctr_mech(umech, kmech, &error, mode);
4753 rv = copyin_ecc_mech(umech, kmech, &error, mode);
4757 rv = copyin_aes_ccm_mech(umech, kmech, &error, mode);
4761 rv = copyin_aes_gcm_mech(umech, kmech, &error, mode);
4765 rv = copyin_aes_gmac_mech(umech, kmech, &error, mode);
4796 kmech->cm_param = (char *)param;
4797 kmech->cm_param_len = param_len;
4807 crypto_mechanism_t *kmech, crypto_mechanism_t *umech,
4812 switch (kmech->cm_type) {
4815 return (copyout_aes_ctr_mech(kmech, umech, out_error, mode));