Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 136) sorted by relevance

123456

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_platform_printf.data5 printf "%d", 0
6 printf_int:"%d":0:"0"
8 printf "%d", -0
9 printf_int:"%d":-0:"0"
11 printf "%d", 0x0
12 printf_int:"%d":0x0:"0"
14 printf "%d", 0x00
15 printf_int:"%d":0x00:"0"
17 printf "%d", 0x000000000000000000000000000000000000000000
18 printf_int:"%d":0x000000000000000000000000000000000000000000:"0"
[all …]
Dtest_suite_debug.data32 … (16 bytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f .............…
35 … (17 bytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f .............…
38d 0e 0f ................\nMyFile(0999)\: 0010\: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f …
53d 00 fe d1 49 1f e1 5d f2 84 df de 4a 14\nMyFile(0999)\: 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6…
56d 00 fe d1 49 1f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6…
59d 00 fe d1 49 1f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6…
63d 40 6a d5 55 53 8b fd 36 ee 82 65 2e\nMyFile(0999)\: 15 61 5e 89 bf b8 e8 45 90 db ee 88 16 52 d…
67 … 52 b4 91 95\nMyFile(0999)\: 39 0b 23 df 5f 17 24 62 48 fc 1a 95 29 ce 2c 2d\nMyFile(0999)\: valu…
Dtest_suite_version.function20 mbedtls_snprintf(build_str, 100, "%d.%d.%d", MBEDTLS_VERSION_MAJOR,
23 mbedtls_snprintf(build_str_full, 100, "Mbed TLS %d.%d.%d", MBEDTLS_VERSION_MAJOR,
/openthread-latest/third_party/mbedtls/repo/library/
Dbn_mul.h38 #define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d) \ argument
42 ((mbedtls_mpi_uint) (d) << 24)
47 #define MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h) \ argument
48 MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d), \
53 #define MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h) \ argument
57 ((mbedtls_mpi_uint) (d) << 24) | \
63 #define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d) \ argument
64 MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, 0, 0, 0, 0)
126 : "=m" (t), "=m" (c), "=m" (d), "=m" (s) \
127 : "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
[all …]
Daria.c110 uint32_t *c, uint32_t *d) in aria_a() argument
116 tb = ARIA_P2(*d); // efcd in aria_a()
117 *d = ARIA_P1(*c); // 98ba in aria_a()
119 ta ^= *d; // 4567+98ba in aria_a()
122 tb ^= ARIA_P2(*d); // ba98+efcd in aria_a()
128 *d ^= ARIA_P1(ta) ^ tc; // 1032+2301+6745+7654+98ba+ba98+cdef OUT in aria_a()
142 uint32_t *c, uint32_t *d, in aria_sl() argument
158 *d = ((uint32_t) sa[MBEDTLS_BYTE_0(*d)]) ^ in aria_sl()
159 (((uint32_t) sb[MBEDTLS_BYTE_1(*d)]) << 8) ^ in aria_sl()
160 (((uint32_t) sc[MBEDTLS_BYTE_2(*d)]) << 16) ^ in aria_sl()
[all …]
Dpoly1305.c174 uint64_t d; in poly1305_compute_mac() local
192 d = ((uint64_t) acc0 + 5U); in poly1305_compute_mac()
193 g0 = (uint32_t) d; in poly1305_compute_mac()
194 d = ((uint64_t) acc1 + (d >> 32)); in poly1305_compute_mac()
195 g1 = (uint32_t) d; in poly1305_compute_mac()
196 d = ((uint64_t) acc2 + (d >> 32)); in poly1305_compute_mac()
197 g2 = (uint32_t) d; in poly1305_compute_mac()
198 d = ((uint64_t) acc3 + (d >> 32)); in poly1305_compute_mac()
199 g3 = (uint32_t) d; in poly1305_compute_mac()
200 g4 = acc4 + (uint32_t) (d >> 32U); in poly1305_compute_mac()
[all …]
Decdh.c55 mbedtls_mpi *d, mbedtls_ecp_point *Q, in ecdh_gen_public_restartable() argument
68 MBEDTLS_MPI_CHK(mbedtls_ecp_gen_privkey(grp, d, f_rng, p_rng)); in ecdh_gen_public_restartable()
71 MBEDTLS_MPI_CHK(mbedtls_ecp_mul_restartable(grp, Q, d, &grp->G, in ecdh_gen_public_restartable()
81 int mbedtls_ecdh_gen_public(mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecdh_gen_public() argument
85 return ecdh_gen_public_restartable(grp, d, Q, f_rng, p_rng, NULL); in mbedtls_ecdh_gen_public()
95 const mbedtls_ecp_point *Q, const mbedtls_mpi *d, in ecdh_compute_shared_restartable() argument
105 MBEDTLS_MPI_CHK(mbedtls_ecp_mul_restartable(grp, &P, d, Q, in ecdh_compute_shared_restartable()
125 const mbedtls_ecp_point *Q, const mbedtls_mpi *d, in mbedtls_ecdh_compute_shared() argument
129 return ecdh_compute_shared_restartable(grp, z, Q, d, in mbedtls_ecdh_compute_shared()
137 mbedtls_mpi_init(&ctx->d); in ecdh_init_internal()
[all …]
Decp.c537 mbedtls_mpi_init(&key->d); in mbedtls_ecp_keypair_init()
610 mbedtls_mpi_free(&key->d); in mbedtls_ecp_keypair_free()
1784 static void ecp_comb_recode_core(unsigned char x[], size_t d, in ecp_comb_recode_core() argument
1790 memset(x, 0, d+1); in ecp_comb_recode_core()
1793 for (i = 0; i < d; i++) { in ecp_comb_recode_core()
1795 x[i] |= mbedtls_mpi_get_bit(m, i + d * j) << j; in ecp_comb_recode_core()
1801 for (i = 1; i <= d; i++) { in ecp_comb_recode_core()
1851 unsigned char w, size_t d, in ecp_precompute_comb() argument
1906 for (; j < d * (w - 1); j++) { in ecp_precompute_comb()
1909 i = 1U << (j / d); in ecp_precompute_comb()
[all …]
Dchacha20.c53 size_t d) in chacha20_quarter_round() argument
57 state[d] ^= state[a]; in chacha20_quarter_round()
58 state[d] = ROTL32(state[d], 16); in chacha20_quarter_round()
61 state[c] += state[d]; in chacha20_quarter_round()
67 state[d] ^= state[a]; in chacha20_quarter_round()
68 state[d] = ROTL32(state[d], 8); in chacha20_quarter_round()
71 state[c] += state[d]; in chacha20_quarter_round()
Decdsa.c245 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_restartable() argument
263 if (mbedtls_mpi_cmp_int(d, 1) < 0 || mbedtls_mpi_cmp_mpi(d, &grp->N) >= 0) { in mbedtls_ecdsa_sign_restartable()
352 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, pr, d)); in mbedtls_ecdsa_sign_restartable()
381 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() argument
385 return mbedtls_ecdsa_sign_restartable(grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign()
399 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_det_restartable() argument
435 MBEDTLS_MPI_CHK(mbedtls_mpi_write_binary(d, data, grp_len)); in mbedtls_ecdsa_sign_det_restartable()
450 ret = mbedtls_ecdsa_sign(grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign_det_restartable()
453 ret = mbedtls_ecdsa_sign_restartable(grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign_det_restartable()
471 mbedtls_mpi *s, const mbedtls_mpi *d, in mbedtls_ecdsa_sign_det_ext() argument
[all …]
/openthread-latest/tests/unit/
Dtest_linked_list.cpp137 Entry d("d", 4, kBetaType), e("e", 5, kAlphaType), f("f", 6, kBetaType); in TestLinkedList() local
163 SuccessOrQuit(list.Add(d)); in TestLinkedList()
164 VerifyLinkedListContent(&list, &d, &c, &b, &a, nullptr); in TestLinkedList()
167 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestLinkedList()
171 VerifyOrQuit(list.Add(d) == kErrorAlready, "did not detect duplicate"); in TestLinkedList()
175 VerifyLinkedListContent(&list, &d, &c, &b, &a, nullptr); in TestLinkedList()
178 VerifyOrQuit(list.FindMatchingWithPrev(prev, d.GetName()) == &d); in TestLinkedList()
181 VerifyOrQuit(prev == &d); in TestLinkedList()
193 VerifyLinkedListContent(&list, &e, &d, &c, &b, &a, nullptr); in TestLinkedList()
196 VerifyLinkedListContent(&list, &e, &d, &b, &a, nullptr); in TestLinkedList()
[all …]
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dbuild_tree.py61 if not all(os.path.isdir(d) for d in ["include", "library", "tests"]):
70 for d in [os.path.curdir,
73 if looks_like_root(d):
74 os.chdir(d)
86 for d in ['.', os.path.pardir] \
88 d = os.path.abspath(os.path.join(path, d))
89 if d in dirs:
91 dirs.add(d)
92 if looks_like_root(d):
93 return d
/openthread-latest/third_party/mbedtls/repo/tests/data_files/dir3/
Dtest-ca.crt15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32:
16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18:
18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93:
23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb:
25 e4:2e:bd:fc:2e:ee:e2:41:55:c0:34:2e:7d:24:72:
26 69:cb:47:b1:14:40:83:7d:67:f4:86:f6:31:ab:f1:
28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6:
46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a:
48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62:
50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d:
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/data_files/dir1/
Dtest-ca.crt15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32:
16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18:
18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93:
23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb:
25 e4:2e:bd:fc:2e:ee:e2:41:55:c0:34:2e:7d:24:72:
26 69:cb:47:b1:14:40:83:7d:67:f4:86:f6:31:ab:f1:
28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6:
46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a:
48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62:
50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d:
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/data_files/dir2/
Dtest-ca.crt15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32:
16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18:
18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93:
23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb:
25 e4:2e:bd:fc:2e:ee:e2:41:55:c0:34:2e:7d:24:72:
26 69:cb:47:b1:14:40:83:7d:67:f4:86:f6:31:ab:f1:
28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6:
46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a:
48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62:
50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d:
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/data_files/
Ddh.optlen.pem7 93:8e:a1:1b:48:dc:51:5d:ab:7a:bc:bb:1e:0c:7f:
8 d6:65:11:ed:c0:d8:65:51:b7:63:24:96:e0:3d:f9:
10 5f:5b:f0:0d:f8:28:80:60:20:e8:75:c0:09:26:e4:
15 18:76:e7:ef:73:9d:51:60:d0:95:c9:68:41:88:b0:
16 c8:75:5c:7a:46:8d:47:f5:6d:6d:b9:ea:01:29:24:
20 6d:3e:95:db:ff:f1:eb:64:69:2e:dc:0a:44:f3:d3:
27 6a:57:8d:70:c5:c5:60:ad:2b:db:92:4c:4a:4d:be:
29 80:3d:be:ca:60:c3:3e:12:89:c1:a0:3a:c2:c6:c4:
31 2d:52:13:ed:4a:5f:1f:5b:a8:b5:e1:ed:3d:a9:51:
35 5b:2e:a1:fa:34:40:5d:83:98:2f:ba:40:e6:d8:52:
[all …]
Ddh.1000.pem5 23:84:3c:0d:55:8c:b9:7d:a9:d5:9a:80:82:fb:50:
17 ba:0d:92:08:9d:d9:b3:28:41:5d:88:4e:fe:3c:ae:
19 d0:1e:7c:4e:22:07:d2:b5:f9:9a:9e:52:e2:97:9d:
20 c3:cb:0d:66:33:75:95:a7:96:6e:69:ec:16:bd:06:
21 4a:1a:dc:b2:d4:29:23:ab:2e:8f:7f:6a:84:1d:82:
22 23:6e:42:8c:1e:70:3d:21:bb:b9:b9:8f:f9:fd:9c:
Ddh.998.pem4 b3:35:e2:8d:66:fc:6a:6e:94:f3:df:97:f2:89:31:
6 48:2d:77:99:08:1d:67:38:37:0a:cd:cf:39:b6:3c:
7 9d:8a:e5:85:3c:71:e3:4b:3e:1e:b9:80:e3:cc:7a:
9 c7:11:b9:64:43:40:75:c7:4a:ef:a7:2d:00:e2:62:
10 8f:93:78:96:8f:2c:25:8d:7d:1f:eb:5c:3c:bf:51:
Ddh.999.pem8 bd:6d:3b:b6:02:4f:5d:12:a7:ac:90:b8:9e:be:93:
9 82:bc:09:7c:cd:e1:09:21:1e:3d:69:2a:76:41:00:
10 68:6d:b7:e8:e8:df:d6:1b:82:93:d9:21:4a:ea:71:
/openthread-latest/third_party/mbedtls/repo/scripts/
Dgenerate_visualc_files.pl99 foreach my $d (@thirdparty_header_dirs, @thirdparty_source_dirs) {
100 if (not (-d $d)) { return 0; }
102 return -d $vsx_dir
103 && -d $mbedtls_header_dir
104 && -d $psa_header_dir
105 && -d $source_dir
106 && -d $test_source_dir
107 && -d $test_drivers_source_dir
108 && -d $test_header_dir
109 && -d $test_drivers_header_dir
[all …]
Dgenerate_features.pl14 -d $include_dir or die "No such directory: $include_dir\n";
15 -d $data_dir or die "No such directory: $data_dir\n";
21 unless( -d $include_dir && -d $data_dir ) {
23 -d $include_dir && -d $data_dir
Dgenerate_psa_constants.py262 d = self.key_types_from_curve
264 return ''.join([make(k, d[k]) for k in sorted(d.keys())])
267 d = self.key_types_from_group
269 return ''.join([make(k, d[k]) for k in sorted(d.keys())])
290 d = self.algorithms_from_hash
292 return ''.join([make(k, d[k]) for k in sorted(d.keys())])
Dgenerate_errors.pl20 -d $include_dir or die "No such directory: $include_dir\n";
21 -d $data_dir or die "No such directory: $data_dir\n";
27 unless( -d $include_dir && -d $data_dir ) {
29 -d $include_dir && -d $data_dir
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_pubkey.c62 mbedtls_mpi d; in LLVMFuzzerTestOneInput() local
63 mbedtls_mpi_init(&d); in LLVMFuzzerTestOneInput()
64 if (mbedtls_ecp_export(ecp, NULL, &d, NULL) != 0) { in LLVMFuzzerTestOneInput()
67 if (mbedtls_mpi_cmp_int(&d, 0) != 0) { in LLVMFuzzerTestOneInput()
70 mbedtls_mpi_free(&d); in LLVMFuzzerTestOneInput()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Daudit-validity-dates.py259 for d in data_list:
260 if d.identifier in results:
261 results[d.identifier].locations.extend(d.locations)
263 results[d.identifier] = d
453 filter_func = lambda d: (start_date < d.not_valid_before) or \ argument
454 (d.not_valid_after < end_date)
456 sortby_end = lambda d: d.not_valid_after argument
462 for d in sorted(filter(filter_func, audit_results.values()), key=sortby_end):
463 list_all(d)

123456