Lines Matching defs:hashoid
536 Str2KeyType(char *algm, KMF_OID *hashoid, KMF_KEY_ALG *ktype,
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, &KMFOID_MD5))
569 if (hashoid == NULL ||
570 compare_oids(hashoid, &KMFOID_SHA1))
572 else if (compare_oids(hashoid, &KMFOID_SHA256))
574 else if (compare_oids(hashoid, &KMFOID_SHA384))
576 else if (compare_oids(hashoid, &KMFOID_SHA512))