HALF ECHO LEARN / REFERENCE COLLECTION
v262.2src/resolve/resolved-dns-dnssec-crypto.h
Git blob: 7fa88ee169b18f1a1909d3795e62c73914be5b6f
Lines 1–25 of 25
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "crypto-util.h"
#include "forward.h"
#if HAVE_OPENSSL
int dnssec_rsa_verify_raw(
const EVP_MD *hash_algorithm,
const struct iovec *signature,
const struct iovec *hash,
const struct iovec *exponent,
const struct iovec *modulus);
int dnssec_ecdsa_verify_raw(
const EVP_MD *hash_algorithm,
int curve,
const struct iovec *signature_r,
const struct iovec *signature_s,
const struct iovec *hash,
const struct iovec *key);
#endif