Lines Matching refs:mech
247 int mech;
254 for (mech = 0; mech < MECH_ALIASES_COUNT; mech++) {
256 if (mech_aliases[mech].available == B_FALSE)
260 (void) printf("%-15s", mech_aliases[mech].alias);
262 if (mech_aliases[mech].keysize_min != ULONG_MAX &&
263 mech_aliases[mech].keysize_max != 0)
265 (mech_aliases[mech].keysize_min *
266 mech_aliases[mech].keysize_unit),
267 (mech_aliases[mech].keysize_max *
268 mech_aliases[mech].keysize_unit));
273 (void) printf("%s\n", mech_aliases[mech].alias);
370 CK_MECHANISM mech;
714 mech.mechanism = mech_type;
715 mech.pParameter = NULL_PTR;
716 mech.ulParameterLen = 0;
738 rv = do_mac(hSession, &mech, fd, key, &resultbuf,
741 rv = do_digest(hSession, &mech, fd, &resultbuf,