/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | crypto_knowledge.py | 292 def __init__(self, expr: str) -> None: 293 super().__init__('Algorithm not recognized: ' + expr) 294 self.expr = expr 301 def determine_base(expr: str) -> str: 311 r')\((.*),[^,]+\)\Z', expr) 313 expr = m.group(1) 314 return expr 317 def determine_head(expr: str) -> str: 323 m = re.match(r'PSA_ALG_(?:DETERMINISTIC_)?(\w+)', expr) 325 raise AlgorithmNotRecognized(expr) [all …]
|
D | c_wrapper_generator.py | 419 expr = var 426 expr = '*({})'.format(expr) 430 expr = '({}) {}'.format(cast_to, expr) 435 return '{}={}'.format(var, fmt), [expr]
|
D | c_build_helper.py | 49 for expr in expressions: 51 .format(printf_format, cast_to, expr))
|
D | crypto_data_tests.py | 36 [crypto_knowledge.Algorithm(expr) 37 for expr in info.constructors.generate_expressions(base_algorithms)]
|
D | psa_information.py | 84 for expr in expressions: 85 used.update(re.findall(r'PSA_(?:ALG|ECC_FAMILY|DH_FAMILY|KEY_TYPE)_\w+', expr))
|
D | macro_collector.py | 492 def generate_undeclared_names(self, expr: str) -> Iterable[str]: 493 for name in re.findall(self._macro_identifier_re, expr):
|
/openthread-latest/third_party/mbedtls/repo/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,
|
D | generate_psa_tests.py | 363 for expr in self.constructors.generate_expressions(algorithms): 364 alg = crypto_knowledge.Algorithm(expr)
|
/openthread-latest/third_party/mbedtls/repo/tests/include/test/ |
D | psa_crypto_helpers.h | 146 const char *expr); 172 #define RECORD_STATUS(string, expr) \ argument 173 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
|
D | psa_helpers.h | 22 #define PSA_ASSERT(expr) TEST_EQUAL((expr), PSA_SUCCESS) argument
|
/openthread-latest/third_party/mbedtls/repo/programs/hash/ |
D | md_hmac_demo.c | 72 #define CHK(expr) \ argument 75 ret = (expr); \ 81 #expr); \
|
/openthread-latest/third_party/mbedtls/repo/programs/psa/ |
D | hmac_demo.c | 74 #define PSA_CHECK(expr) \ argument 77 status = (expr); \ 83 #expr); \
|
D | aead_demo.c | 97 #define PSA_CHECK(expr) \ argument 100 status = (expr); \ 106 #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); \
|
/openthread-latest/third_party/mbedtls/repo/programs/cipher/ |
D | cipher_aead_demo.c | 94 #define CHK(expr) \ argument 97 ret = (expr); \ 103 #expr); \
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | common.h | 363 #define MBEDTLS_STATIC_ASSERT(expr, msg) static_assert(expr, msg); argument 365 #define MBEDTLS_STATIC_ASSERT(expr, msg) argument
|
/openthread-latest/third_party/mbedtls/repo/tests/src/ |
D | psa_crypto_helpers.c | 110 const char *expr) in mbedtls_test_record_status() argument 120 fprintf(log, "%d:%s:%s:%d:%s\n", (int) status, func, file, line, expr); in mbedtls_test_record_status()
|
/openthread-latest/ |
D | .clang-tidy | 20 readability-simplify-boolean-expr,
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 72 * Run the code \p expr. If this returns \p expected_status, 81 #define PSA_ASSERT_VIA_DRIVER(expr, expected_status) \ 83 psa_status_t PSA_ASSERT_VIA_DRIVER_status = (expr); \ 88 mbedtls_test_fail( #expr, __LINE__, __FILE__); \ 653 #define SMOKE_ASSERT(expr) \ 654 TEST_ASSERT(is_status_smoke_free(expr))
|