Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 11 of 11) sorted by relevance

/mbedtls-latest/tests/scripts/
Dtest_psa_constant_names.py61 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/
Dpsa_crypto_helpers.h148 const char *expr);
174 #define RECORD_STATUS(string, expr) \ argument
175 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
Dpsa_helpers.h22 #define PSA_ASSERT(expr) TEST_EQUAL((expr), PSA_SUCCESS) argument
/mbedtls-latest/programs/hash/
Dmd_hmac_demo.c72 #define CHK(expr) \ argument
75 ret = (expr); \
81 #expr); \
/mbedtls-latest/programs/psa/
Dhmac_demo.c74 #define PSA_CHECK(expr) \ argument
77 status = (expr); \
83 #expr); \
Dkey_ladder_demo.c71 #define SYS_CHECK(expr) \ argument
74 if (!(expr)) \
76 perror( #expr); \
84 #define PSA_CHECK(expr) \ argument
87 status = (expr); \
93 #expr); \
Daead_demo.c97 #define PSA_CHECK(expr) \ argument
100 status = (expr); \
106 #expr); \
/mbedtls-latest/programs/cipher/
Dcipher_aead_demo.c94 #define CHK(expr) \ argument
97 ret = (expr); \
103 #expr); \
/mbedtls-latest/library/
Dcommon.h361 #define MBEDTLS_STATIC_ASSERT(expr, msg) static_assert(expr, msg) argument
366 #define MBEDTLS_STATIC_ASSERT(expr, msg) \ argument
/mbedtls-latest/tests/src/
Dpsa_crypto_helpers.c108 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/
Dtest_suite_psa_crypto_se_driver_hal.function85 * 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))