summaryrefslogtreecommitdiff
path: root/pkcs1-rsa-md5.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-06-25 22:52:16 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-06-25 22:52:16 +0200
commit4a4201f95dd80e76473ae7682b16b2177c1949a4 (patch)
treed34fda87a685e27027e8bfd5498d8253706bce0e /pkcs1-rsa-md5.c
parentba98962d5fb20ff238c5c77fa0206264b8c0bd64 (diff)
downloadnettle-4a4201f95dd80e76473ae7682b16b2177c1949a4.tar.gz
Renamed pkcs1_signature_prefix to _pkcs1_signature_prefix.
Diffstat (limited to 'pkcs1-rsa-md5.c')
-rw-r--r--pkcs1-rsa-md5.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkcs1-rsa-md5.c b/pkcs1-rsa-md5.c
index d9259822..16a3f457 100644
--- a/pkcs1-rsa-md5.c
+++ b/pkcs1-rsa-md5.c
@@ -68,10 +68,10 @@ pkcs1_rsa_md5_encode(mpz_t m, unsigned key_size, struct md5_ctx *hash)
TMP_DECL(em, uint8_t, NETTLE_MAX_BIGNUM_SIZE);
TMP_ALLOC(em, key_size);
- p = pkcs1_signature_prefix(key_size, em,
- sizeof(md5_prefix),
- md5_prefix,
- MD5_DIGEST_SIZE);
+ p = _pkcs1_signature_prefix(key_size, em,
+ sizeof(md5_prefix),
+ md5_prefix,
+ MD5_DIGEST_SIZE);
if (p)
{
md5_digest(hash, MD5_DIGEST_SIZE, p);
@@ -89,10 +89,10 @@ pkcs1_rsa_md5_encode_digest(mpz_t m, unsigned key_size, const uint8_t *digest)
TMP_DECL(em, uint8_t, NETTLE_MAX_BIGNUM_SIZE);
TMP_ALLOC(em, key_size);
- p = pkcs1_signature_prefix(key_size, em,
- sizeof(md5_prefix),
- md5_prefix,
- MD5_DIGEST_SIZE);
+ p = _pkcs1_signature_prefix(key_size, em,
+ sizeof(md5_prefix),
+ md5_prefix,
+ MD5_DIGEST_SIZE);
if (p)
{
memcpy(p, digest, MD5_DIGEST_SIZE);