Lines Matching refs:hashoid
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()
569 if (hashoid == NULL || in Str2KeyType()
570 compare_oids(hashoid, &KMFOID_SHA1)) in Str2KeyType()
572 else if (compare_oids(hashoid, &KMFOID_SHA256)) in Str2KeyType()
574 else if (compare_oids(hashoid, &KMFOID_SHA384)) in Str2KeyType()
576 else if (compare_oids(hashoid, &KMFOID_SHA512)) in Str2KeyType()