Searched refs:stats (Results 1 – 4 of 4) sorted by relevance
78 mbedtls_psa_stats_t stats; in mbedtls_test_helper_is_psa_leaking() local80 mbedtls_psa_get_stats( &stats ); in mbedtls_test_helper_is_psa_leaking()82 if( stats.volatile_slots != 0 ) in mbedtls_test_helper_is_psa_leaking()84 if( stats.persistent_slots != 0 ) in mbedtls_test_helper_is_psa_leaking()86 if( stats.external_slots != 0 ) in mbedtls_test_helper_is_psa_leaking()88 if( stats.half_filled_slots != 0 ) in mbedtls_test_helper_is_psa_leaking()90 if( stats.locked_slots != 0 ) in mbedtls_test_helper_is_psa_leaking()
546 void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats ) in mbedtls_psa_get_stats() argument550 memset( stats, 0, sizeof( *stats ) ); in mbedtls_psa_get_stats()557 ++stats->locked_slots; in mbedtls_psa_get_stats()561 ++stats->empty_slots; in mbedtls_psa_get_stats()565 ++stats->volatile_slots; in mbedtls_psa_get_stats()569 ++stats->persistent_slots; in mbedtls_psa_get_stats()570 if( id > stats->max_open_internal_key_id ) in mbedtls_psa_get_stats()571 stats->max_open_internal_key_id = id; in mbedtls_psa_get_stats()577 ++stats->external_slots; in mbedtls_psa_get_stats()578 if( id > stats->max_open_external_key_id ) in mbedtls_psa_get_stats()[all …]
1273 /* If upper_bound is small, stats[b] is the number of times the value b1274 * has been generated. Otherwise stats[b] is the number of times a1276 size_t *stats = NULL;1302 ASSERT_ALLOC( stats, stats_len );1318 ++stats[value];1323 stats[b] += mbedtls_mpi_get_bit( &result, b );1336 TEST_ASSERT( stats[b] > 0 );1356 TEST_ASSERT( stats[b] > 0 );1358 TEST_ASSERT( stats[b] < (size_t) iterations );1365 mbedtls_free( stats );
259 void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats );
Completed in 8 milliseconds