aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/ffi.rst
diff options
context:
space:
mode:
authorDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
committerDaniel Wyatt <[email protected]>2017-05-13 16:00:22 -0400
commit42de5d71f61cdbacaf522ce898f915ceb12db099 (patch)
tree52952ac829308dc8a94fda89953200b54ccf2559 /doc/manual/ffi.rst
parent2c5919cd5aa3d7723919f729cab9938df1cc4f94 (diff)
Fix botan_privkey_load_rsa misleading parameter names.
RSA_PrivateKey's constructor take p,q,e,d,n.
Diffstat (limited to 'doc/manual/ffi.rst')
-rw-r--r--doc/manual/ffi.rst4
1 files changed, 2 insertions, 2 deletions
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)