From 42de5d71f61cdbacaf522ce898f915ceb12db099 Mon Sep 17 00:00:00 2001 From: Daniel Wyatt Date: Sat, 13 May 2017 16:00:22 -0400 Subject: Fix botan_privkey_load_rsa misleading parameter names. RSA_PrivateKey's constructor take p,q,e,d,n. --- doc/manual/ffi.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/manual/ffi.rst') diff --git a/doc/manual/ffi.rst b/doc/manual/ffi.rst index 61a06718a..24b2aaa38 100644 --- a/doc/manual/ffi.rst +++ b/doc/manual/ffi.rst @@ -601,9 +601,9 @@ RSA specific functions Set ``n`` to the RSA modulus. .. cpp:function:: int botan_privkey_load_rsa(botan_privkey_t* key, \ - botan_mp_t p, botan_mp_t q, botan_mp_t d) + botan_mp_t p, botan_mp_t q, botan_mp_t e) - Initialize a private RSA key using parameters p, q, and d. + Initialize a private RSA key using parameters p, q, and e. .. cpp:function:: int botan_pubkey_load_rsa(botan_pubkey_t* key, \ botan_mp_t n, botan_mp_t e) -- cgit v1.2.3