summaryrefslogtreecommitdiff
path: root/dsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-03-28 06:07:42 +0100
committerNiels Möller <nisse@lysator.liu.se>2014-03-28 06:08:12 +0100
commit4f80d1d2b8cdd09cf910533c21b0d250c6d235dc (patch)
tree5b58d06860fedf7a890f7dc327c0f14a24562000 /dsa.h
parent0835be21d95b7483e9e8f7fc193b040f702d8aaa (diff)
downloadnettle-4f80d1d2b8cdd09cf910533c21b0d250c6d235dc.tar.gz
Make dsa_generate_keygen generate only a new key, but no new parameters.
Diffstat (limited to 'dsa.h')
-rw-r--r--dsa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dsa.h b/dsa.h
index 4f15e784..094544d7 100644
--- a/dsa.h
+++ b/dsa.h
@@ -119,6 +119,11 @@ dsa_generate_params(struct dsa_params *params,
void *progress_ctx, nettle_progress_func *progress,
unsigned p_bits, unsigned q_bits);
+void
+dsa_generate_keypair (const struct dsa_params *params,
+ mpz_t pub, mpz_t key,
+ void *random_ctx, nettle_random_func *random);
+
/* Keys in sexp form. */
struct nettle_buffer;