diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-02-27 09:11:41 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-02-27 09:11:41 +0100 |
commit | 0dca3f8f4bbc39bce7900136776888e12145d564 (patch) | |
tree | 19a5631f2d4ca60c497293aafe8beb59137c2e99 /ecc-hash.c | |
parent | e5512f32b5cc12cb7f4347508d61a31e46f22fc0 (diff) | |
download | nettle-0dca3f8f4bbc39bce7900136776888e12145d564.tar.gz |
Renamed gmp-glue functions. Use new GMP functions if available.
Diffstat (limited to 'ecc-hash.c')
-rw-r--r-- | ecc-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |