summaryrefslogtreecommitdiff
path: root/ecc-hash.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-02-27 09:11:41 +0100
committerNiels Möller <nisse@lysator.liu.se>2013-02-27 09:11:41 +0100
commit0dca3f8f4bbc39bce7900136776888e12145d564 (patch)
tree19a5631f2d4ca60c497293aafe8beb59137c2e99 /ecc-hash.c
parente5512f32b5cc12cb7f4347508d61a31e46f22fc0 (diff)
downloadnettle-0dca3f8f4bbc39bce7900136776888e12145d564.tar.gz
Renamed gmp-glue functions. Use new GMP functions if available.
Diffstat (limited to 'ecc-hash.c')
-rw-r--r--ecc-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecc-hash.c b/ecc-hash.c
index 0de3c187..7fd5c578 100644
--- a/ecc-hash.c
+++ b/ecc-hash.c
@@ -47,7 +47,7 @@ ecc_hash (const struct ecc_curve *ecc,
if (length > ((unsigned) ecc->bit_size + 7) / 8)
length = (ecc->bit_size + 7) / 8;
- _mpn_set_base256 (hp, ecc->size + 1, digest, length);
+ mpn_set_base256 (hp, ecc->size + 1, digest, length);
if (8 * length > ecc->bit_size)
/* We got a few extra bits, at the low end. Discard them. */