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/xtea.c b/library/xtea.c index c66bdd4..572936d 100644 --- a/library/xtea.c +++ b/library/xtea.c
@@ -245,7 +245,7 @@ if( verbose != 0 ) mbedtls_printf( " XTEA test #%d: ", i + 1 ); - mbedtls_platform_memcpy( buf, xtea_test_pt[i], 8 ); + memcpy( buf, xtea_test_pt[i], 8 ); mbedtls_xtea_setup( &ctx, xtea_test_key[i] ); mbedtls_xtea_crypt_ecb( &ctx, MBEDTLS_XTEA_ENCRYPT, buf, buf );