2 * rsa.h - routines to check RSA hash signature combos not present in libnettle
4 * Copyright 2019 Jonathan McDowell <noodles@earth.li>
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * You should have received a copy of the GNU General Public License along with
16 * this program. If not, see <https://www.gnu.org/licenses/>.
25 #include <nettle/ripemd160.h>
26 #include <nettle/rsa.h>
27 #include <nettle/sha.h>
29 int rsa_ripemd160_verify_digest(const struct rsa_public_key *key,
30 const uint8_t *digest,
33 int rsa_sha224_verify_digest(const struct rsa_public_key *key,
34 const uint8_t *digest,
37 int rsa_sha384_verify_digest(const struct rsa_public_key *key,
38 const uint8_t *digest,
42 #endif /* __RSA_H__ */