From fbcbf1b341071ca44b4e622ffb4e6ff35aacc261 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 19 Mar 2013 15:12:01 +0900 Subject: [PATCH] Gnuk specific change to rsa --- polarssl/library/rsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polarssl/library/rsa.c b/polarssl/library/rsa.c index 41fd27e..01e606a 100644 --- a/polarssl/library/rsa.c +++ b/polarssl/library/rsa.c @@ -438,6 +438,7 @@ int rsa_rsaes_oaep_encrypt( rsa_context *ctx, } #endif /* POLARSSL_PKCS1_V21 */ +#if 0 /* * Implementation of the PKCS#1 v2.1 RSAES-PKCS1-V1_5-ENCRYPT function */ @@ -525,6 +526,7 @@ int rsa_pkcs1_encrypt( rsa_context *ctx, return( POLARSSL_ERR_RSA_INVALID_PADDING ); } } +#endif #if defined(POLARSSL_PKCS1_V21) /*