/mbedtls-3.7.0/tests/suites/ |
D | test_suite_alignment.function | 170 uint8_t actual = b + 1; 173 actual = MBEDTLS_BYTE_0(u64); 176 actual = MBEDTLS_BYTE_1(u64); 179 actual = MBEDTLS_BYTE_2(u64); 182 actual = MBEDTLS_BYTE_3(u64); 185 actual = MBEDTLS_BYTE_4(u64); 188 actual = MBEDTLS_BYTE_5(u64); 191 actual = MBEDTLS_BYTE_6(u64); 194 actual = MBEDTLS_BYTE_7(u64); 197 TEST_EQUAL(actual, expected); [all …]
|
D | test_suite_dhm.function | 8 mbedtls_mpi actual; 10 mbedtls_mpi_init(&actual); 12 TEST_ASSERT(mbedtls_dhm_get_value(ctx, param, &actual) == 0); 13 TEST_ASSERT(mbedtls_mpi_cmp_mpi(&actual, expected) == 0); 17 mbedtls_mpi_free(&actual); 30 mbedtls_mpi actual; 32 mbedtls_mpi_init(&actual); 43 TEST_EQUAL(0, mbedtls_mpi_read_binary(&actual, buffer + *offset, n)); 44 TEST_EQUAL(0, mbedtls_mpi_cmp_mpi(expected, &actual)); 49 mbedtls_mpi_free(&actual);
|
D | test_suite_base64.function | 49 signed char actual = mbedtls_ct_base64_dec_value(c); 51 TEST_CF_PUBLIC(&actual, sizeof(actual)); 52 TEST_EQUAL(actual, expected);
|
D | test_suite_constant_time.function | 267 int actual = mbedtls_ct_memcmp(a + offset, b + offset, size); 271 TEST_CF_PUBLIC(&actual, sizeof(actual)); 275 TEST_ASSERT(actual == 0); 278 TEST_ASSERT(actual != 0); 322 int actual = mbedtls_ct_memcmp_partial(a, b, size, skip_head, skip_tail); 326 TEST_CF_PUBLIC(&actual, sizeof(actual)); 328 TEST_EQUAL(!!reference, !!actual);
|
D | test_suite_psa_crypto_util.data | 73 ECDSA DER -> Raw, 256bit, Wrong r integer length (1 byte smaller than the actual size) 77 ECDSA DER -> Raw, 256bit, Wrong r integer length (1 byte larger than the actual size) 81 ECDSA DER -> Raw, 256bit, Wrong s integer length (1 byte smaller than the actual size) 85 ECDSA DER -> Raw, 256bit, Wrong s integer length (1 byte larger than the actual size)
|
D | test_suite_lms.data | 21 # To produce another signature with this message and key (note that the actual 42 # To produce another signature with this message and key (note that the actual 61 # To produce another signature with this message and key (note that the actual 93 # To produce another signature with this message and key (note that the actual 121 # To produce another signature with this message and key (note that the actual 145 # To produce another signature with this message and key (note that the actual 168 # To produce another signature with this message and key (note that the actual
|
D | test_suite_lmots.data | 24 # To produce another signature with this message and key (note that the actual 49 # To produce another signature with this message and key (note that the actual 72 # To produce another signature with this message and key (note that the actual
|
D | test_suite_platform_printf.function | 6 * - For all tests, it means we're testing the actual printf function
|
D | test_suite_ecp.function | 1358 uint8_t *actual = NULL; 1366 TEST_CALLOC(actual, expected->len); 1377 TEST_EQUAL(0, mbedtls_mpi_write_binary(&d, actual, expected->len)); 1389 actual, expected->len); 1393 mbedtls_free(actual);
|
D | test_suite_entropy.function | 522 // Second run for actual entropy (triggers mbedtls_entropy_update_nv_seed)
|
D | test_suite_asn1parse.function | 428 * expected value, but they matter for the actual value.)
|
D | test_suite_psa_crypto.data | 2010 PSA MAC sign: HMAC-SHA-224, truncated to 28 bytes (actual size) 2014 PSA MAC verify: HMAC-SHA-224, truncated to 28 bytes (actual size) 2018 PSA MAC sign multipart: HMAC-SHA-224, truncated to 28 bytes (actual size) 2022 PSA MAC verify multipart: HMAC-SHA-224, truncated to 28 bytes (actual size) 2026 PSA MAC sign: HMAC-SHA-512, truncated to 64 bytes (actual size) 2030 PSA MAC verify: HMAC-SHA-512, truncated to 64 bytes (actual size) 2034 PSA MAC sign multipart: HMAC-SHA-512, truncated to 64 bytes (actual size) 2038 PSA MAC verify multipart: HMAC-SHA-512, truncated to 64 bytes (actual size) 2146 PSA MAC sign: CMAC-AES-128, truncated to 16 bytes (actual size) 2150 PSA MAC verify: CMAC-AES-128, truncated to 16 bytes (actual size) [all …]
|
D | test_suite_ssl.function | 194 /* Calculate actual input and output lengths */
|
/mbedtls-3.7.0/tests/scripts/ |
D | check-python-files.sh | 24 actual = package.__version__ 26 if packaging.version.parse(actual) < packaging.version.parse(wanted): 27 sys.stderr.write("$1: version %s is too old (want %s)\n" % (actual, wanted))
|
/mbedtls-3.7.0/programs/psa/ |
D | crypto_examples.c | 22 #define ASSERT_STATUS(actual, expected) \ argument 25 if ((actual) != (expected)) \ 29 (psa_status_t) actual, (psa_status_t) expected); \
|
/mbedtls-3.7.0/docs/architecture/testing/ |
D | invasive-testing.md | 86 * Correctness: we want to test the actual product, not a modified version, since conclusions drawn … 178 …may accidentally use these internal interfaces in ways that don't correspond to the actual product. 186 | | ~ The tests may call internal functions in a way that does not reflect actual usage…
|
D | psa-storage-format-testing.md | 23 …est case creates a key as indicated by the parameters, then compares the actual state of the stora…
|
D | driver-interface-test-strategy.md | 101 * Running on actual hardware.
|
/mbedtls-3.7.0/ |
D | CONTRIBUTING.md | 60 … in the `tests/` directory that are dynamically generated to produce the actual test source files …
|
D | ChangeLog | 320 MBEDTLS_CMAC_MAX_BLOCK_SIZE (if you intended the actual semantics: 325 for overflow of the output buffer and reporting the actual length 447 which checks for overflow of the output buffer and reports the actual 2224 mbedtls_x509_crt_verify()) with the actual certificate name: when the 2367 The actual effect with almost every compiler is the intended 4795 * Stricter check on SSL ClientHello internal sizes compared to actual packet 4844 * Only iterate over actual certificates in ssl_write_certificate_request() 5288 * Stricter check on SSL ClientHello internal sizes compared to actual packet 5728 displays actual bit size of the value.
|
/mbedtls-3.7.0/docs/architecture/ |
D | psa-crypto-implementation-structure.md | 71 … compliant with the PSA driver interface specification. But it is not an actual driver that drives…
|
D | psa-storage-resilience.md | 415 … secure element: in those cases, creating the key file happens after the actual creation of the ke…
|
/mbedtls-3.7.0/docs/ |
D | 3.0-migration-guide.md | 239 * `mbedtls_gcm_update()` now takes an extra parameter to indicate the actual output length. In Mbed… 249 …allows arbitrary-length inputs, takes an extra parameter to indicate the actual output length. Alt…
|
/mbedtls-3.7.0/docs/proposed/ |
D | psa-driver-interface.md | 210 …fer size. A third parameter of type `size_t *` is provided to report the actual length of the data… 410 …Call `psa_crypto_driver_key_derivation_get_input_type()` to find out the actual type of this input… 1253 …sistence level, in case the driver has more specific knowledge about the actual persistence level …
|
/mbedtls-3.7.0/docs/architecture/psa-migration/ |
D | md-cipher-dispatch.md | 354 …h Cipher and `aes.h` only allows a single block, contrary to PSA which implements actual ECB mode).
|