Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 5 of 5) sorted by relevance

/mbedtls-latest/library/
Dchachapoly.c412 #undef ASSERT
414 #define ASSERT(cond, args) \ macro
443 ASSERT(0 == ret, ("setkey() error code: %i\n", ret)); in mbedtls_chachapoly_self_test()
454 ASSERT(0 == ret, ("crypt_and_tag() error code: %i\n", ret)); in mbedtls_chachapoly_self_test()
456 ASSERT(0 == memcmp(output, test_output[i], test_input_len[i]), in mbedtls_chachapoly_self_test()
459 ASSERT(0 == memcmp(mac, test_mac[i], 16U), in mbedtls_chachapoly_self_test()
Dchacha20.c445 #undef ASSERT
447 #define ASSERT(cond, args) \ macro
478 ASSERT(0 == ret, ("error code: %i\n", ret)); in mbedtls_chacha20_self_test()
480 ASSERT(0 == memcmp(output, test_output[i], test_lengths[i]), in mbedtls_chacha20_self_test()
Dpoly1305.c444 #undef ASSERT
446 #define ASSERT(cond, args) \ macro
474 ASSERT(0 == ret, ("error code: %i\n", ret)); in mbedtls_poly1305_self_test()
476 ASSERT(0 == memcmp(mac, test_mac[i], 16U), ("failed (mac)\n")); in mbedtls_poly1305_self_test()
/mbedtls-latest/programs/psa/
Dcrypto_examples.c11 #define ASSERT(predicate) \ macro
314 ASSERT(psa_crypto_init() == PSA_SUCCESS); in main()
/mbedtls-latest/
DChangeLog2489 * Undefine the ASSERT macro before defining it locally, in case it is defined