commit | 0118d4190aa71b8e1f5848d4f5c3a6c34abab2a4 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Mon Dec 17 10:06:21 2018 +0000 |
committer | Hanno Becker <hanno.becker@arm.com> | Tue Dec 18 13:38:05 2018 +0000 |
tree | 54d145c61186656cceafd6c90131532bd2553cef | |
parent | 385ce9159270134280b92716219579bcb6d561c8 [diff] |
Document that RSA public exponent must be odd
diff --git a/include/mbedtls/rsa.h b/include/mbedtls/rsa.h index 276293c..0041dc5 100644 --- a/include/mbedtls/rsa.h +++ b/include/mbedtls/rsa.h
@@ -433,6 +433,7 @@ * This may be \c NULL if \p f_rng doesn't need a context. * \param nbits The size of the public key in bits. * \param exponent The public exponent to use. For example, \c 65537. + * This must be odd. * * \return \c 0 on success. * \return An \c MBEDTLS_ERR_RSA_XXX error code on failure.