Searched defs:mech_str (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dmechstr.c370 pkcs11_str2mech(char *mech_str, CK_MECHANISM_TYPE_PTR mech) argument
375 if (mech_str == NULL)
378 if (strncasecmp(mech_str, "0x", 2) == 0) {
381 mech_str);
382 llnum = strtoll(mech_str, NULL, 16);
392 if (strncasecmp(mech_str, "CKM_", 4) != 0) {
393 cryptodebug("pkcs11_str2mech: no CKM_ prefix: %s", mech_str);
394 cryptodebug("pkcs11_str2mech: with prefix: CKM_%s", mech_str);
400 if (strcasecmp(&mapping[i].str[compare_off], mech_str) == 0) {
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c274 char *mech_str; local
297 mech_str = NULL;
319 if (mech_str == NULL) {
320 mech_str = hpm;
397 mech_str = trim_me(mech_str);
398 if (mech_str != NULL && *mech_str != '\0') {
399 if (rpc_gss_mech_to_oid(mech_str, &mech_oid) != TRUE) {
404 DPRINT((dfile, "mechanism: %s\n", mech_str));
[all...]

Completed in 29 milliseconds