Changed mbedtls_platform_memcpy back to memcpy for selftest and test functions

This commit is contained in:
Teppo Järvelin 2019-10-04 13:35:55 +03:00
parent 3137fb271a
commit b5c4671a80
11 changed files with 54 additions and 54 deletions

View file

@ -2623,7 +2623,7 @@ int mbedtls_rsa_self_test( int verbose )
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,