Commit c560665b authored by Niels Möller's avatar Niels Möller

(pkcs1_rsa_sha256_encode)

(pkcs1_rsa_sha256_encode_digest): New declarations and name
mangling symbols.

Rev: src/nettle/pkcs1.h:1.5
parent 53f642c5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment