summaryrefslogtreecommitdiff
path: root/cipher/rsa.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-10-02 18:53:31 +0000
committerWerner Koch <wk@gnupg.org>2008-10-02 18:53:31 +0000
commite9c29dc331090fe9b92cca05b88a6aae6af478ea (patch)
treed590623c26ff69157ee1aecc5686017682956e98 /cipher/rsa.c
parent7d31a0c3fd7613f86929ce0f0b2cda052080eb1a (diff)
downloadlibgcrypt-e9c29dc331090fe9b92cca05b88a6aae6af478ea.tar.gz
Add CAVS test.
Various minor fixes. Sigbus fixes for AES.
Diffstat (limited to 'cipher/rsa.c')
-rw-r--r--cipher/rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/rsa.c b/cipher/rsa.c
index 72ee8a8b..434fd8ba 100644
--- a/cipher/rsa.c
+++ b/cipher/rsa.c
@@ -175,7 +175,8 @@ check_exponent (void *arg, gcry_mpi_t a)
* USE_E = 0 let Libcgrypt decide what exponent to use.
* = 1 request the use of a "secure" exponent; this is required by some
* specification to be 65537.
- * > 2 Try starting at this value until a working exponent is found.
+ * > 2 Use this public exponent. If the given exponent
+ * is not odd one is internally added to it.
* TRANSIENT_KEY: If true, generate the primes using the standard RNG.
* Returns: 2 structures filled with all needed values
*/