diff options
author | Krzysztof Kwiatkowski <[email protected]> | 2018-01-16 23:01:17 +0000 |
---|---|---|
committer | Krzysztof Kwiatkowski <[email protected]> | 2018-01-21 23:35:27 +0000 |
commit | 45bda8b0429170036ae30ed5d3133011f9e3fe8a (patch) | |
tree | f8be7d45b7995268d9966b59b5f8a5e142f2aef8 /src/lib/ffi/ffi.h | |
parent | 65f375348c0773af6e9bbe3a005aef177dfd4ac3 (diff) |
FFI function for DSA key generation
Adds function for DSA key generation that allows
usage of 'p' and 'q' chosen by the caller.
Diffstat (limited to 'src/lib/ffi/ffi.h')
-rw-r--r-- | src/lib/ffi/ffi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index 1a6014f71..77d4eb306 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -702,6 +702,7 @@ BOTAN_PUBLIC_API(2,0) int botan_privkey_create_ecdsa(botan_privkey_t* key, botan BOTAN_PUBLIC_API(2,0) int botan_privkey_create_ecdh(botan_privkey_t* key, botan_rng_t rng, const char* params); BOTAN_PUBLIC_API(2,0) int botan_privkey_create_mceliece(botan_privkey_t* key, botan_rng_t rng, size_t n, size_t t); BOTAN_PUBLIC_API(2,0) int botan_privkey_create_dh(botan_privkey_t* key, botan_rng_t rng, const char* param); +BOTAN_PUBLIC_API(2,0) int botan_privkey_create_dsa(botan_privkey_t* key, botan_rng_t rng, size_t pbits, size_t qbits); /* * Input currently assumed to be PKCS #8 structure; |