Changed mbedtls_platform_memset/cpy/cmp in selftest functions back to original methods

This commit is contained in:
Teppo Järvelin 2019-10-30 13:48:12 +02:00
parent 6f4e030166
commit d49d2b6d4f
9 changed files with 18 additions and 18 deletions

View file

@ -1104,7 +1104,7 @@ int mbedtls_ecjpake_self_test( int verbose )
TEST_ASSERT( len == sizeof( ecjpake_test_pms ) );
TEST_ASSERT( memcmp( buf, ecjpake_test_pms, len ) == 0 );
mbedtls_platform_memset( buf, 0, len ); /* Avoid interferences with next step */
memset( buf, 0, len ); /* Avoid interferences with next step */
/* Client derives PMS */
TEST_ASSERT( mbedtls_ecjpake_derive_secret( &cli,