From c893e0257f82b565cbd821db1497c1aabb7f76d9 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Wed, 7 Nov 2012 20:41:16 +0000 Subject: [PATCH] - Added extra documentation --- include/polarssl/rsa.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h index 513b0379f..3a822cb2a 100644 --- a/include/polarssl/rsa.h +++ b/include/polarssl/rsa.h @@ -167,6 +167,9 @@ extern "C" { /** * \brief Initialize an RSA context * + * Note: Set padding to RSA_PKCS_V21 for the RSAES-OAEP + * encryption scheme and the RSASSA-PSS signature scheme. + * * \param ctx RSA context to be initialized * \param padding RSA_PKCS_V15 or RSA_PKCS_V21 * \param hash_id RSA_PKCS_V21 hash identifier