summaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-09-29 19:22:32 +0200
committerNiels Möller <nisse@lysator.liu.se>2002-09-29 19:22:32 +0200
commitdf4e07bd995ce199fcc69ca82dd538c4e6e96746 (patch)
tree3d3ef06fdf01daaed500385571365353284a0705 /bignum.h
parent0c6beb1fb82729a439ed2cd7be8cbb198335c138 (diff)
downloadnettle-df4e07bd995ce199fcc69ca82dd538c4e6e96746.tar.gz
(nettle_mpz_sizeinbase_256): New function.
Rev: src/nettle/bignum.c:1.4 Rev: src/nettle/bignum.h:1.3
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bignum.h b/bignum.h
index b4cfcc37..c26d1847 100644
--- a/bignum.h
+++ b/bignum.h
@@ -29,6 +29,9 @@
#include <gmp.h>
#include <inttypes.h>
+unsigned
+nettle_mpz_sizeinbase_256(const mpz_t x);
+
/* Writes an unsigned integer as length octets, using big endian byte
* order. */
void