Skip to content
Snippets Groups Projects
Commit 452cb90f authored by Niels Möller's avatar Niels Möller
Browse files

(pkcs1_rsa_sha256_encode)

(pkcs1_rsa_sha256_encode_digest): New declarations and name
mangling symbols.

Rev: src/nettle/pkcs1.h:1.5
parent 0a161c6d
No related branches found
No related tags found
No related merge requests found
......@@ -39,9 +39,12 @@ extern "C" {
#define pkcs1_rsa_md5_encode_digest nettle_pkcs1_rsa_md5_encode_digest
#define pkcs1_rsa_sha1_encode nettle_pkcs1_rsa_sha1_encode
#define pkcs1_rsa_sha1_encode_digest nettle_pkcs1_rsa_sha1_encode_digest
#define pkcs1_rsa_sha256_encode nettle_pkcs1_rsa_sha256_encode
#define pkcs1_rsa_sha256_encode_digest nettle_pkcs1_rsa_sha256_encode_digest
struct md5_ctx;
struct sha1_ctx;
struct sha256_ctx;
void
pkcs1_signature_prefix(unsigned length,
......@@ -61,6 +64,12 @@ pkcs1_rsa_sha1_encode(mpz_t m, unsigned length, struct sha1_ctx *hash);
void
pkcs1_rsa_sha1_encode_digest(mpz_t m, unsigned length, const uint8_t *digest);
void
pkcs1_rsa_sha256_encode(mpz_t m, unsigned length, struct sha256_ctx *hash);
void
pkcs1_rsa_sha256_encode_digest(mpz_t m, unsigned length, const uint8_t *digest);
#ifdef __cplusplus
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment