Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 26) sorted by relevance

12

/mbedtls-3.7.0/tests/suites/
Dtest_suite_alignment.function170 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 …]
Dtest_suite_dhm.function8 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);
Dtest_suite_base64.function49 signed char actual = mbedtls_ct_base64_dec_value(c);
51 TEST_CF_PUBLIC(&actual, sizeof(actual));
52 TEST_EQUAL(actual, expected);
Dtest_suite_constant_time.function267 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);
Dtest_suite_psa_crypto_util.data73 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)
Dtest_suite_lms.data21 # 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
Dtest_suite_lmots.data24 # 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
Dtest_suite_platform_printf.function6 * - For all tests, it means we're testing the actual printf function
Dtest_suite_ecp.function1358 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);
Dtest_suite_entropy.function522 // Second run for actual entropy (triggers mbedtls_entropy_update_nv_seed)
Dtest_suite_asn1parse.function428 * expected value, but they matter for the actual value.)
Dtest_suite_psa_crypto.data2010 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 …]
Dtest_suite_ssl.function194 /* Calculate actual input and output lengths */
/mbedtls-3.7.0/tests/scripts/
Dcheck-python-files.sh24 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/
Dcrypto_examples.c22 #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/
Dinvasive-testing.md86 * 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…
Dpsa-storage-format-testing.md23 …est case creates a key as indicated by the parameters, then compares the actual state of the stora…
Ddriver-interface-test-strategy.md101 * Running on actual hardware.
/mbedtls-3.7.0/
DCONTRIBUTING.md60 … in the `tests/` directory that are dynamically generated to produce the actual test source files …
DChangeLog320 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/
Dpsa-crypto-implementation-structure.md71 … compliant with the PSA driver interface specification. But it is not an actual driver that drives…
Dpsa-storage-resilience.md415 … secure element: in those cases, creating the key file happens after the actual creation of the ke…
/mbedtls-3.7.0/docs/
D3.0-migration-guide.md239 * `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/
Dpsa-driver-interface.md210 …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/
Dmd-cipher-dispatch.md354 …h Cipher and `aes.h` only allows a single block, contrary to PSA which implements actual ECB mode).

12