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

/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c536 Str2KeyType(char *algm, KMF_OID *hashoid, KMF_KEY_ALG *ktype, argument
544 if (hashoid == NULL ||
545 compare_oids(hashoid, &KMFOID_SHA1))
547 else if (compare_oids(hashoid, &KMFOID_SHA256))
553 if (hashoid == NULL ||
554 compare_oids(hashoid, &KMFOID_SHA1))
556 else if (compare_oids(hashoid, &KMFOID_SHA256))
558 else if (compare_oids(hashoid, &KMFOID_SHA384))
560 else if (compare_oids(hashoid, &KMFOID_SHA512))
562 else if (compare_oids(hashoid,
[all...]
H A Dgencsr.c400 KMF_OID *hashoid = NULL; local
520 hashoid = ecc_name_to_oid(optarg_av);
521 if (hashoid == NULL) {
668 if ((rv = Str2KeyType(keytype, hashoid, &keyAlg, &sigAlg)) != 0) {
H A Dgencert.c606 KMF_OID *hashoid = NULL; local
734 hashoid = ecc_name_to_oid(optarg_av);
735 if (hashoid == NULL) {
794 if (Str2KeyType(keytype, hashoid, &keyAlg, &sigAlg) != 0) {

Completed in 63 milliseconds