Searched refs:mbedtls_test_driver_cipher_hooks (Results 1 – 3 of 3) sorted by relevance
39 mbedtls_test_driver_cipher_hooks_t mbedtls_test_driver_cipher_hooks = variable55 mbedtls_test_driver_cipher_hooks.hits++; in mbedtls_test_transparent_cipher_encrypt()57 if (mbedtls_test_driver_cipher_hooks.forced_output != NULL) { in mbedtls_test_transparent_cipher_encrypt()58 if (output_size < mbedtls_test_driver_cipher_hooks.forced_output_length) { in mbedtls_test_transparent_cipher_encrypt()63 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_encrypt()64 mbedtls_test_driver_cipher_hooks.forced_output_length); in mbedtls_test_transparent_cipher_encrypt()65 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_encrypt()67 return mbedtls_test_driver_cipher_hooks.forced_status; in mbedtls_test_transparent_cipher_encrypt()70 if (mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_cipher_encrypt()71 return mbedtls_test_driver_cipher_hooks.forced_status; in mbedtls_test_transparent_cipher_encrypt()[all …]
1044 mbedtls_test_driver_cipher_hooks = mbedtls_test_driver_cipher_hooks_init();1063 TEST_EQUAL(mbedtls_test_driver_cipher_hooks.hits, 1);1064 mbedtls_test_driver_cipher_hooks.hits = 0;1067 TEST_EQUAL(mbedtls_test_driver_cipher_hooks.hits, 1);1068 mbedtls_test_driver_cipher_hooks.hits = 0;1071 TEST_EQUAL(mbedtls_test_driver_cipher_hooks.hits, 1);1072 mbedtls_test_driver_cipher_hooks.hits = 0;1078 TEST_EQUAL(mbedtls_test_driver_cipher_hooks.hits, 1);1079 mbedtls_test_driver_cipher_hooks.hits = 0;1087 TEST_EQUAL(mbedtls_test_driver_cipher_hooks.hits, 2);[all …]
50 extern mbedtls_test_driver_cipher_hooks_t mbedtls_test_driver_cipher_hooks;