Searched refs:expr (Results 1 – 11 of 11) sorted by relevance
/mbedtls-latest/tests/scripts/ |
D | test_psa_constant_names.py | 61 def normalize(expr: str) -> str: 66 return re.sub(NORMALIZE_STRIP_RE, '', expr) 73 def is_simplifiable(expr: str) -> bool: 80 if ALG_TRUNCATED_TO_SELF_RE.match(expr): 94 expressions = sorted(expr 95 for expr in inputs.generate_expressions(names) 96 if not is_simplifiable(expr)) 127 for expr, value, output in zip(expressions, values, outputs): 130 if normalize(expr) != normalize(output): 132 expression=expr,
|
/mbedtls-latest/tests/include/test/ |
D | psa_crypto_helpers.h | 148 const char *expr); 174 #define RECORD_STATUS(string, expr) \ argument 175 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
|
D | psa_helpers.h | 22 #define PSA_ASSERT(expr) TEST_EQUAL((expr), PSA_SUCCESS) argument
|
/mbedtls-latest/programs/hash/ |
D | md_hmac_demo.c | 72 #define CHK(expr) \ argument 75 ret = (expr); \ 81 #expr); \
|
/mbedtls-latest/programs/psa/ |
D | hmac_demo.c | 74 #define PSA_CHECK(expr) \ argument 77 status = (expr); \ 83 #expr); \
|
D | key_ladder_demo.c | 71 #define SYS_CHECK(expr) \ argument 74 if (!(expr)) \ 76 perror( #expr); \ 84 #define PSA_CHECK(expr) \ argument 87 status = (expr); \ 93 #expr); \
|
D | aead_demo.c | 97 #define PSA_CHECK(expr) \ argument 100 status = (expr); \ 106 #expr); \
|
/mbedtls-latest/programs/cipher/ |
D | cipher_aead_demo.c | 94 #define CHK(expr) \ argument 97 ret = (expr); \ 103 #expr); \
|
/mbedtls-latest/library/ |
D | common.h | 361 #define MBEDTLS_STATIC_ASSERT(expr, msg) static_assert(expr, msg) argument 366 #define MBEDTLS_STATIC_ASSERT(expr, msg) \ argument
|
/mbedtls-latest/tests/src/ |
D | psa_crypto_helpers.c | 108 const char *expr) in mbedtls_test_record_status() argument 118 fprintf(log, "%d:%s:%s:%d:%s\n", (int) status, func, file, line, expr); in mbedtls_test_record_status()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 85 * Run the code \p expr. If this returns \p expected_status, 94 #define PSA_ASSERT_VIA_DRIVER(expr, expected_status) \ 96 psa_status_t PSA_ASSERT_VIA_DRIVER_status = (expr); \ 101 mbedtls_test_fail( #expr, __LINE__, __FILE__); \ 666 #define SMOKE_ASSERT(expr) \ 667 TEST_ASSERT(is_status_smoke_free(expr))
|