Searched refs:mbedtls_test_driver_hash_hooks (Results 1 – 3 of 3) sorted by relevance
32 mbedtls_test_driver_hash_hooks = MBEDTLS_TEST_DRIVER_HASH_INIT; variable39 mbedtls_test_driver_hash_hooks.hits++; in mbedtls_test_transparent_hash_compute()41 if (mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_hash_compute()42 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()43 mbedtls_test_driver_hash_hooks.forced_status; in mbedtls_test_transparent_hash_compute()47 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()52 mbedtls_test_driver_hash_hooks.driver_status = in mbedtls_test_transparent_hash_compute()63 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_compute()67 return mbedtls_test_driver_hash_hooks.driver_status; in mbedtls_test_transparent_hash_compute()74 mbedtls_test_driver_hash_hooks.hits++; in mbedtls_test_transparent_hash_setup()[all …]
2244 mbedtls_test_driver_hash_hooks = mbedtls_test_driver_hash_hooks_init();2245 mbedtls_test_driver_hash_hooks.forced_status = forced_status;2253 TEST_EQUAL(mbedtls_test_driver_hash_hooks.hits, 1);2254 TEST_EQUAL(mbedtls_test_driver_hash_hooks.driver_status, forced_status);2263 mbedtls_test_driver_hash_hooks = mbedtls_test_driver_hash_hooks_init();2280 mbedtls_test_driver_hash_hooks = mbedtls_test_driver_hash_hooks_init();2285 mbedtls_test_driver_hash_hooks.forced_status = forced_status;2287 TEST_EQUAL(mbedtls_test_driver_hash_hooks.hits, 1);2288 TEST_EQUAL(mbedtls_test_driver_hash_hooks.driver_status, forced_status);2292 TEST_EQUAL(mbedtls_test_driver_hash_hooks.hits,[all …]
46 extern mbedtls_test_driver_hash_hooks_t mbedtls_test_driver_hash_hooks;