From af53fc2bd72a8e78fe0eb8c0e186ebf0bbdbdd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sun, 13 Nov 2005 21:09:41 +0100 Subject: [PATCH] (asn1_der_get_bignum): Declare function. Rev: src/nettle/bignum.h:1.9 --- bignum.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 */ -- GitLab