Home
last modified time | relevance | path

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

12

/openthread-latest/third_party/mbedtls/repo/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 …]
/openthread-latest/third_party/mbedtls/repo/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))
/openthread-latest/tests/scripts/thread-cert/
Dtest_ipv6.py711 actual = ipv6_fragment_header.to_bytes()
717 self.assertEqual(expected, actual)
753 actual = icmpv6_msg.to_bytes()
758 self.assertEqual(expected, actual)
1196 actual = BytesPayload.from_bytes(data)
1199 self.assertEqual(data, actual.data)
1207 actual = payload.to_bytes()
1210 self.assertEqual(data, actual)
1218 actual = len(payload)
1221 self.assertEqual(len(data), actual)
[all …]
Dthread_cert.py655 def assertDictIncludes(self, actual: Mapping[str, str], expected: Mapping[str, str]):
663 if k not in actual:
665 if v != actual[k]:
Dtest_lowpan.py248 actual = lowpan.LowpanIPHC.from_bytes(data_bytes)
251 self.assertEqual(tf, actual.tf)
252 self.assertEqual(nh, actual.nh)
253 self.assertEqual(hlim, actual.hlim)
254 self.assertEqual(cid, actual.cid)
255 self.assertEqual(sac, actual.sac)
256 self.assertEqual(sam, actual.sam)
257 self.assertEqual(m, actual.m)
258 self.assertEqual(dac, actual.dac)
259 self.assertEqual(dam, actual.dam)
/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dcrypto_examples.c22 #define ASSERT_STATUS(actual, expected) \ argument
25 if ((actual) != (expected)) \
29 (psa_status_t) actual, (psa_status_t) expected); \
/openthread-latest/tools/ot-fct/
DREADME.md34 - actualpower: The actual power in 0.01 dBm.
/openthread-latest/third_party/mbedtls/repo/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.
/openthread-latest/third_party/mbedtls/repo/
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.
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-crypto-implementation-structure.md71 … compliant with the PSA driver interface specification. But it is not an actual driver that drives…
/openthread-latest/third_party/mbedtls/repo/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…

12