Home
last modified time | relevance | path

Searched refs:hashoid (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c544 if (hashoid == NULL || in Str2KeyType()
545 compare_oids(hashoid, &KMFOID_SHA1)) in Str2KeyType()
547 else if (compare_oids(hashoid, &KMFOID_SHA256)) in Str2KeyType()
553 if (hashoid == NULL || in Str2KeyType()
554 compare_oids(hashoid, &KMFOID_SHA1)) in Str2KeyType()
556 else if (compare_oids(hashoid, &KMFOID_SHA256)) in Str2KeyType()
558 else if (compare_oids(hashoid, &KMFOID_SHA384)) in Str2KeyType()
560 else if (compare_oids(hashoid, &KMFOID_SHA512)) in Str2KeyType()
562 else if (compare_oids(hashoid, &KMFOID_MD5)) in Str2KeyType()
569 if (hashoid == NULL || in Str2KeyType()
[all …]
H A Dgencsr.c400 KMF_OID *hashoid = NULL; in pk_gencsr() local
520 hashoid = ecc_name_to_oid(optarg_av); in pk_gencsr()
521 if (hashoid == NULL) { in pk_gencsr()
668 if ((rv = Str2KeyType(keytype, hashoid, &keyAlg, &sigAlg)) != 0) { in pk_gencsr()
H A Dgencert.c607 KMF_OID *hashoid = NULL; in pk_gencert() local
735 hashoid = ecc_name_to_oid(optarg_av); in pk_gencert()
736 if (hashoid == NULL) { in pk_gencert()
795 if (Str2KeyType(keytype, hashoid, &keyAlg, &sigAlg) != 0) { in pk_gencert()