Lines Matching defs:mech
45 CK_MECHANISM_TYPE mech;
327 return (((pkcs11_mapping_t *)mapping1)->mech -
328 ((pkcs11_mapping_t *)mapping2)->mech);
333 * pkcs11_mech2str - convert PKCS#11 mech to a string
340 *pkcs11_mech2str(CK_MECHANISM_TYPE mech)
345 if (mech >= CKM_VENDOR_DEFINED) {
350 target.mech = mech;
363 * pkcs11_str2mech - convert a string into a PKCS#11 mech number.
365 * Since there isn't a reserved value for an invalid mech we return
367 * The value in mech isn't meaningful in these cases.
370 pkcs11_str2mech(char *mech_str, CK_MECHANISM_TYPE_PTR mech)
384 *mech = llnum;
401 *mech = mapping[i].mech;