Home
last modified time | relevance | path

Searched refs:mbedtls_test_driver_mac_hooks (Results 1 – 3 of 3) sorted by relevance

/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_mac.c31 mbedtls_test_driver_mac_hooks_t mbedtls_test_driver_mac_hooks = variable
45 mbedtls_test_driver_mac_hooks.hits++; in mbedtls_test_transparent_mac_compute()
47 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_compute()
48 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
49 mbedtls_test_driver_mac_hooks.forced_status; in mbedtls_test_transparent_mac_compute()
53 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
60 mbedtls_test_driver_mac_hooks.driver_status = in mbedtls_test_transparent_mac_compute()
75 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_compute()
79 return mbedtls_test_driver_mac_hooks.driver_status; in mbedtls_test_transparent_mac_compute()
89 mbedtls_test_driver_mac_hooks.hits++; in mbedtls_test_transparent_mac_sign_setup()
[all …]
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function1803 mbedtls_test_driver_mac_hooks = mbedtls_test_driver_mac_hooks_init();
1819 mbedtls_test_driver_mac_hooks.forced_status = forced_status;
1829 TEST_EQUAL(mbedtls_test_driver_mac_hooks.hits, 1);
1838 TEST_EQUAL(mbedtls_test_driver_mac_hooks.hits, 1);
1853 mbedtls_test_driver_mac_hooks = mbedtls_test_driver_mac_hooks_init();
1878 mbedtls_test_driver_mac_hooks = mbedtls_test_driver_mac_hooks_init();
1894 mbedtls_test_driver_mac_hooks.forced_status = forced_status;
1900 TEST_EQUAL(mbedtls_test_driver_mac_hooks.hits, 1);
1922 TEST_EQUAL(mbedtls_test_driver_mac_hooks.hits, 2 + i);
1924 TEST_EQUAL(mbedtls_test_driver_mac_hooks.hits, 1);
[all …]
/mbedtls-3.5.0/tests/include/test/drivers/
Dmac.h46 extern mbedtls_test_driver_mac_hooks_t mbedtls_test_driver_mac_hooks;