Gnuk specific change to rsa
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 19 Mar 2013 06:12:01 +0000 (15:12 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 19 Mar 2013 06:12:01 +0000 (15:12 +0900)
polarssl/library/rsa.c

index 41fd27e..01e606a 100644 (file)
@@ -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)
 /*