Searched refs:hashoid (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.c | 536 Str2KeyType(char *algm, KMF_OID *hashoid, KMF_KEY_ALG *ktype, in Str2KeyType() argument 544 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() [all …]
|
H A D | gencsr.c | 400 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 D | gencert.c | 606 KMF_OID *hashoid = NULL; in pk_gencert() local 734 hashoid = ecc_name_to_oid(optarg_av); in pk_gencert() 735 if (hashoid == NULL) { in pk_gencert() 794 if (Str2KeyType(keytype, hashoid, &keyAlg, &sigAlg) != 0) { in pk_gencert()
|