summaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2005-11-13 21:09:41 +0100
committerNiels Möller <nisse@lysator.liu.se>2005-11-13 21:09:41 +0100
commitaf53fc2bd72a8e78fe0eb8c0e186ebf0bbdbdd27 (patch)
treed3c79681e4392bf0c0ce80a47204d81d219c2996 /bignum.h
parentc87cc07a752d7712f1574046e0ee8bfc72280ae8 (diff)
downloadnettle-af53fc2bd72a8e78fe0eb8c0e186ebf0bbdbdd27.tar.gz
(asn1_der_get_bignum): Declare function.
Rev: src/nettle/bignum.h:1.9
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bignum.h b/bignum.h
index 4ee0726e..5f80ad3a 100644
--- a/bignum.h
+++ b/bignum.h
@@ -78,6 +78,7 @@ nettle_mpz_random(mpz_t x,
void *ctx, nettle_random_func random,
const mpz_t n);
+/* sexp parsing */
struct sexp_iterator;
/* If LIMIT is non-zero, the number must be at most LIMIT bits.
@@ -85,4 +86,12 @@ struct sexp_iterator;
int
nettle_mpz_set_sexp(mpz_t x, unsigned limit, struct sexp_iterator *i);
+
+/* der parsing */
+struct asn1_der_iterator;
+
+int
+asn1_der_get_bignum(struct asn1_der_iterator *iterator,
+ mpz_t x, unsigned limit);
+
#endif /* NETTLE_BIGNUM_H_INCLUDED */