/openthread-3.7.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | c_wrapper_generator.py | 63 def _write_prologue(self, out: typing_util.Writable, header: bool) -> None: 68 out.write("""/* Automatically generated by {}, do not edit! */ 76 out.write(""" 85 out.write(""" 89 def _write_epilogue(self, out: typing_util.Writable, header: bool) -> None: 93 out.write(""" 101 out.write(""" 161 def _write_function_call(self, out: typing_util.Writable, 173 out.write(' {};\n'.format(call)) 177 out.write(' {} = {};\n'.format(ret_decl, call)) [all …]
|
D | test_case.py | 56 def write(self, out: typing_util.Writable) -> None: 67 out.write('\n') 69 out.write('# ' + line + '\n') 70 out.write(self.description + '\n') 72 out.write('depends_on:' + ':'.join(self.dependencies) + '\n') 73 out.write(self.function + ':' + ':'.join(self.arguments) + '\n') 85 with open(tempfile, 'w') as out: 86 out.write('# Automatically generated by {}. Do not edit!\n' 89 tc.write(out) 90 out.write('\n# End of automatically generated file.\n')
|
/openthread-3.7.0/script/ |
D | check-gn-build | 40 rm gn-out -r || true 41 gn gen --check gn-out 42 gn args gn-out --list 43 ninja -C gn-out 44 test -f gn-out/obj/src/core/libopenthread-ftd.a 47 rm gn-out -r || true 48 mkdir gn-out 49 echo 'openthread_config_thread_version = "1.3"' >gn-out/args.gn 50 gn gen --check gn-out 51 gn args gn-out --list [all …]
|
/openthread-3.7.0/third_party/tcplp/bsdtcp/ |
D | tcp_usrreq.c | 120 goto out; in tcp6_connect() 133 goto out; in tcp6_connect() 146 out: in tcp6_connect() 211 goto out; in tcp6_usr_connect() 224 goto out; in tcp6_usr_connect() 229 out: in tcp6_usr_connect() 264 goto out; in tcp_usr_send() 269 goto out; in tcp_usr_send() 281 goto out; in tcp_usr_send() 299 goto out; in tcp_usr_send() [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_hmac_drbg.function | 35 unsigned char out[16]; 48 memset(out, 0, sizeof(out)); 76 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out) - 4) == 0); 77 TEST_ASSERT(mbedtls_hmac_drbg_random_with_add(&ctx, out, sizeof(out) - 4, 83 TEST_ASSERT(out[sizeof(out) - 4] == 0); 84 TEST_ASSERT(out[sizeof(out) - 3] == 0); 85 TEST_ASSERT(out[sizeof(out) - 2] == 0); 86 TEST_ASSERT(out[sizeof(out) - 1] == 0); 89 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0); 98 TEST_ASSERT(mbedtls_hmac_drbg_random(&ctx, out, sizeof(out)) == 0); [all …]
|
D | test_suite_ctr_drbg.function | 101 unsigned char out[16]; 102 memset(out, 0, sizeof(out)); 105 TEST_EQUAL(mbedtls_ctr_drbg_random((mbedtls_ctr_drbg_context *) ctx, out, sizeof(out)), 0); 252 unsigned char out[16]; 266 memset(out, 0, sizeof(out)); 289 TEST_ASSERT(mbedtls_ctr_drbg_random(&ctx, out, sizeof(out) - 4) == 0); 290 TEST_ASSERT(mbedtls_ctr_drbg_random_with_add(&ctx, out, sizeof(out) - 4, 296 TEST_ASSERT(out[sizeof(out) - 4] == 0); 297 TEST_ASSERT(out[sizeof(out) - 3] == 0); 298 TEST_ASSERT(out[sizeof(out) - 2] == 0); [all …]
|
D | test_suite_constant_time_hmac.function | 34 unsigned char *out = NULL; 61 /* Use allocated out buffer to catch overwrites */ 62 TEST_CALLOC(out, out_len); 109 out)); 114 out)); 117 TEST_CF_PUBLIC(out, out_len); 127 out, out_len)); 137 TEST_MEMORY_COMPARE(out, out_len, ref_out, out_len); 155 mbedtls_free(out);
|
D | test_suite_psa_its.data | 55 Get 1 byte of 10 at 10: out of range 58 Get 1 byte of 10 at 11: out of range 61 Get 0 bytes of 10 at 11: out of range 64 Get -1 byte of 10 at 10: out of range 67 Get 1 byte of 10 at -1: out of range
|
D | test_suite_aes.function | 545 unsigned char out[16]; 549 mbedtls_aes_crypt_ecb(&aes_ctx, invalid_mode, in, out)); 554 out, in, out)); 562 in, in, out)); 570 &size, out, in, out)); 573 out, in, out)); 586 unsigned char out[16]; 604 out, in, out) 608 out, in, out) 615 in, in, out) [all …]
|
D | test_suite_pem.function | 66 char *pwd, int res, data_t *out) 87 TEST_EQUAL(use_len, out->len); 88 TEST_ASSERT(memcmp(out->x, buf, out->len) == 0);
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/scripts/ |
D | generate_psa_wrappers.py | 114 def _write_poison_buffer_parameter(out: typing_util.Writable, 121 out.write(' MBEDTLS_TEST_MEMORY_{}({}, {});\n'.format( 126 def _write_poison_buffer_parameters(self, out: typing_util.Writable, 135 out.write('#if !defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)\n') 137 self._write_poison_buffer_parameter(out, param, poison) 138 out.write('#endif /* !defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS) */\n') 154 def _write_function_call(self, out: typing_util.Writable, 163 self._write_poison_buffer_parameters(out, buffer_parameters, True) 164 super()._write_function_call(out, function, argument_names) 165 self._write_poison_buffer_parameters(out, buffer_parameters, False) [all …]
|
D | doxygen.sh | 16 if scripts/apidoc_full.sh > doc.out 2>doc.err; then :; else 22 cat doc.out doc.err | \ 32 rm -f doc.out doc.err doc.filtered
|
D | test_psa_constant_names.py | 142 def report(self, out: typing_util.Writable) -> None: 149 out.write('For {} "{}", got "{}" (value: {})\n' 152 out.write('{} test cases'.format(self.count)) 154 out.write(', {} FAIL\n'.format(len(self.errors))) 156 out.write(' PASS\n')
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/data_files/ |
D | Makefile | 46 $(OPENSSL) genrsa -aes-128-cbc -passout pass:$(test_ca_pwd_rsa) -out $@ 2048 48 $(OPENSSL) rsa -passin pass:$(test_ca_pwd_rsa) -in $< -out $@ 60 $(OPENSSL) x509 -inform PEM -in $< -outform DER -out $@ 63 $(OPENSSL) pkey -in $< -out $@ -inform PEM -outform DER -passin "pass:$(test_ca_pwd_rsa)" 79 $(OPENSSL) x509 -in $< -out $@ -inform PEM -outform DER 87 $(OPENSSL) x509 -in $< -out $@ -inform PEM -outform DER 91 … $(test_ca_config_file) -sha1 -days 3653 -utf8 -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test CA" -out $@ 95 …config $(test_ca_config_file) -sha1 -days 3653 -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test CA" -out $@ 99 …config $(test_ca_config_file) -sha1 -days 3653 -subj "/C=NL/O=PolarSSL/CN=PolarSSL Test CA" -out $@ 105 …g $(test_ca_config_file) -extensions dns_alt_names -days 3650 -key rsa_pkcs1_1024_clear.pem -out $@ [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/psa/ |
D | hmac_demo.c | 97 uint8_t out[PSA_MAC_MAX_SIZE]; // safe but not optimal in hmac_demo() local 124 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len)); in hmac_demo() 125 print_buf("msg1", out, out_len); in hmac_demo() 131 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len)); in hmac_demo() 132 print_buf("msg2", out, out_len); in hmac_demo() 137 mbedtls_platform_zeroize(out, sizeof(out)); in hmac_demo()
|
D | aead_demo.c | 199 unsigned char out[PSA_AEAD_ENCRYPT_OUTPUT_MAX_SIZE(MSG_MAX_SIZE)]; in aead_encrypt() local 200 unsigned char *p = out, *end = out + sizeof(out); in aead_encrypt() 218 olen = p - out; in aead_encrypt() 219 print_buf("out", out, olen); in aead_encrypt()
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/hash/ |
D | md_hmac_demo.c | 94 unsigned char out[MBEDTLS_MD_MAX_SIZE]; // safe but not optimal in hmac_demo() local 109 CHK(mbedtls_md_hmac_finish(&ctx, out)); in hmac_demo() 110 print_buf("msg1", out, mbedtls_md_get_size(info)); in hmac_demo() 116 CHK(mbedtls_md_hmac_finish(&ctx, out)); in hmac_demo() 117 print_buf("msg2", out, mbedtls_md_get_size(info)); in hmac_demo() 121 mbedtls_platform_zeroize(out, sizeof(out)); in hmac_demo()
|
/openthread-3.7.0/third_party/mbedtls/repo/library/ |
D | pkcs7.c | 288 goto out; in pkcs7_get_signer_info() 295 goto out; in pkcs7_get_signer_info() 301 goto out; in pkcs7_get_signer_info() 311 goto out; in pkcs7_get_signer_info() 316 goto out; in pkcs7_get_signer_info() 323 goto out; in pkcs7_get_signer_info() 329 goto out; in pkcs7_get_signer_info() 334 goto out; in pkcs7_get_signer_info() 342 goto out; in pkcs7_get_signer_info() 348 goto out; in pkcs7_get_signer_info() [all …]
|
D | nist_kw.c | 583 unsigned char out[48]; in mbedtls_nist_kw_self_test() local 611 kw_msg_len[i], out, &olen, sizeof(out)); in mbedtls_nist_kw_self_test() 613 memcmp(out, kw_res[i], kw_out_len[i]) != 0) { in mbedtls_nist_kw_self_test() 633 out, olen, out, &olen, sizeof(out)); in mbedtls_nist_kw_self_test() 636 memcmp(out, kw_msg[i], kw_msg_len[i]) != 0) { in mbedtls_nist_kw_self_test() 658 olen = sizeof(out); in mbedtls_nist_kw_self_test() 673 kwp_msg_len[i], out, &olen, sizeof(out)); in mbedtls_nist_kw_self_test() 676 memcmp(out, kwp_res[i], kwp_out_len[i]) != 0) { in mbedtls_nist_kw_self_test() 695 ret = mbedtls_nist_kw_unwrap(&ctx, MBEDTLS_KW_MODE_KWP, out, in mbedtls_nist_kw_self_test() 696 olen, out, &olen, sizeof(out)); in mbedtls_nist_kw_self_test() [all …]
|
/openthread-3.7.0/third_party/mbedtls/repo/scripts/ |
D | generate_visualc_files.pl | 206 my $out = slurp_file( $main_tpl ); 207 $out =~ s/SOURCE_ENTRIES\n/$source_entries/m; 208 $out =~ s/HEADER_ENTRIES\n/$header_entries/m; 209 $out =~ s/INCLUDE_DIRECTORIES\n/$library_include_directories/g; 211 content_to_file( $out, $main_out ); 234 my $out = slurp_file( $vsx_sln_tpl_file ); 235 $out =~ s/APP_ENTRIES\n/$app_entries/m; 236 $out =~ s/CONF_ENTRIES\n/$conf_entries/m; 238 content_to_file( $out, $vsx_sln_file );
|
D | memory.sh | 93 scripts/massif_max.pl massif.out.* 94 mv massif.out.* massif-$NAME.$$ 102 rm -f massif.out.*
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/data_files/dir-maxpath/ |
D | long.sh | 14 $OPENSSL ecparam -name prime256v1 -genkey -out 00.key 16 -key 00.key -out 00.crt 27 $OPENSSL ecparam -name prime256v1 -genkey -out ${ME}.key 29 -key ${ME}.key -out ${ME}.csr 32 -in ${ME}.csr -out ${ME}.crt
|
/openthread-3.7.0/third_party/mbedtls/repo/ |
D | Makefile | 5 ifneq (,$(filter-out lib library/%,$(or $(MAKECMDGOALS),all))) 214 cscope: cscope.in.out cscope.po.out cscope.out 215 cscope.in.out cscope.po.out cscope.out: $(C_SOURCE_FILES)
|
/openthread-3.7.0/tools/tcat_ble_client/ |
D | GENERATING_CERTIFICATES.md | 35 openssl ecparam -genkey -name prime256v1 -out ca_key.pem 41 openssl req -new -sha256 -key ca_key.pem -out ca.csr 47 openssl req -x509 -sha256 -days 365 -key ca_key.pem -in ca.csr -out ca_cert.pem 61 openssl ecparam -genkey -name prime256v1 -out commissioner_key.pem 67 openssl req -new -sha256 -key commissioner_key.pem -out commissioner.csr -config commissioner.cnf 73 openssl x509 -req -in commissioner.csr -CA ca_cert.pem -CAkey ca_key.pem -out commissioner_cert.pem…
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/cipher/ |
D | cipher_aead_demo.c | 185 unsigned char out[MSG_MAX_SIZE + MAX_TAG_LENGTH]; in aead_encrypt() local 186 unsigned char *p = out; in aead_encrypt() 200 olen = p - out; in aead_encrypt() 201 print_buf("out", out, olen); in aead_encrypt()
|