Lines Matching defs:umech
2513 * umech is a mechanism structure that has been copied from user address
2519 * kmech is a umech with all pointers and structures in kernel address space.
2521 * This routine calls the provider's entry point to copy a umech parameter
2526 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, int mode, int *error)
2532 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type);
2537 rv = KCF_PROV_COPYIN_MECH(pd, umech, kmech, error, mode);
2538 kmech->cm_type = umech->cm_type;
2544 * umech is a mechanism structure that has been copied from user address
2550 * kmech is a umech with all pointers and structures in kernel address space.
2553 * into user address space using umech as a template containing
2558 crypto_mechanism_t *kmech, crypto_mechanism_t *umech, int mode, int *error)
2564 provider_mech_type = KCF_TO_PROV_MECHNUM(pd, umech->cm_type);
2567 rv = KCF_PROV_COPYOUT_MECH(pd, kmech, umech, error, mode);
2568 kmech->cm_type = umech->cm_type;