commit | b5c4671a80ddef83d3ef07493bea975efa3495f6 | [log] [tgz] |
---|---|---|
author | Teppo Järvelin <teppo.jarvelin@arm.com> | Fri Oct 04 13:35:55 2019 +0300 |
committer | Teppo Järvelin <teppo.jarvelin@arm.com> | Wed Oct 30 14:07:04 2019 +0200 |
tree | 3f7b46cfa9b5c2045bfe3cb86b0decce5430aa71 | |
parent | 3137fb271ad5c5b50080de6c33171e58d99853ff [diff] [blame] |
Changed mbedtls_platform_memcpy back to memcpy for selftest and test functions
diff --git a/library/rsa.c b/library/rsa.c index 9cadd1b..cde07e3 100644 --- a/library/rsa.c +++ b/library/rsa.c
@@ -2623,7 +2623,7 @@ if( verbose != 0 ) mbedtls_printf( "passed\n PKCS#1 encryption : " ); - mbedtls_platform_memcpy( rsa_plaintext, RSA_PT, PT_LEN ); + memcpy( rsa_plaintext, RSA_PT, PT_LEN ); if( mbedtls_rsa_pkcs1_encrypt( &rsa, myrand, NULL, MBEDTLS_RSA_PUBLIC, PT_LEN, rsa_plaintext,