Lines Matching refs:OPENSSL_OR_GCRYPT
466 curve = OPENSSL_OR_GCRYPT(NID_X9_62_prime256v1, "NIST P-256"); /* NIST P-256 */ in dnssec_ecdsa_verify()
469 curve = OPENSSL_OR_GCRYPT(NID_secp384r1, "NIST P-384"); /* NIST P-384 */ in dnssec_ecdsa_verify()
610 curve = OPENSSL_OR_GCRYPT(NID_ED25519, "Ed25519"); in dnssec_eddsa_verify()
761 return OPENSSL_OR_GCRYPT(EVP_sha1(), GCRY_MD_SHA1); in algorithm_to_implementation_id()
765 return OPENSSL_OR_GCRYPT(EVP_sha256(), GCRY_MD_SHA256); in algorithm_to_implementation_id()
768 return OPENSSL_OR_GCRYPT(EVP_sha384(), GCRY_MD_SHA384); in algorithm_to_implementation_id()
771 return OPENSSL_OR_GCRYPT(EVP_sha512(), GCRY_MD_SHA512); in algorithm_to_implementation_id()
774 return OPENSSL_OR_GCRYPT(NULL, -EOPNOTSUPP); in algorithm_to_implementation_id()
962 OPENSSL_OR_GCRYPT(md_algorithm, gcry_md_algo_name(md_algorithm)), in dnssec_rrset_verify_sig()
970 OPENSSL_OR_GCRYPT(md_algorithm, gcry_md_algo_name(md_algorithm)), in dnssec_rrset_verify_sig()
1317 return OPENSSL_OR_GCRYPT(EVP_sha1(), GCRY_MD_SHA1); in digest_to_hash_md()
1320 return OPENSSL_OR_GCRYPT(EVP_sha256(), GCRY_MD_SHA256); in digest_to_hash_md()
1323 return OPENSSL_OR_GCRYPT(EVP_sha384(), GCRY_MD_SHA384); in digest_to_hash_md()
1326 return OPENSSL_OR_GCRYPT(NULL, -EOPNOTSUPP); in digest_to_hash_md()
1481 return OPENSSL_OR_GCRYPT(EVP_sha1(), GCRY_MD_SHA1); in nsec3_hash_to_hash_md()
1484 return OPENSSL_OR_GCRYPT(NULL, -EOPNOTSUPP); in nsec3_hash_to_hash_md()