/mbedtls-latest/scripts/ |
D | generate_visualc_files.pl | 118 my $content = <$fh>; 121 return $content; 125 my ($content, $filename) = @_; 128 print $fh $content; 158 my $content = $template; 159 $content =~ s/<SOURCES>/$srcs/g; 160 $content =~ s/<APPNAME>/$appname/g; 161 $content =~ s/<GUID>/$guid/g; 162 $content =~ s/INCLUDE_DIRECTORIES\n/($is_test_app ? 166 content_to_file( $content, "$dir/$appname.$ext" );
|
D | code_style.py | 50 content = open(CHECK_GENERATED_FILES, encoding="utf-8").read() 51 checks = re.findall(CHECK_CALL_RE, content) 58 content = open(filename, encoding="utf-8").read() 59 return AUTOGEN_RE.search(content) is not None
|
D | generate_errors.pl | 56 my $content = <FILE>; 59 while ($content =~ m[
|
/mbedtls-latest/tests/suites/ |
D | test_suite_platform_util.function | 17 /* Write non-zero content */ 25 /* Check content is non-zero */ 34 /* Check content is zero and sentinels un-changed */ 48 * does not recognize that explicit_bzero() writes well-defined content to
|
D | test_suite_asn1write.function | 202 void mbedtls_asn1_write_string(int tag, data_t *content, data_t *expected) 214 &data.p, data.start, content->x, content->len); 219 (const char *) content->x, content->len); 224 (const char *) content->x, content->len); 229 (const char *) content->x, content->len); 234 (const char *) content->x, content->len); 239 (const char *) content->x, content->len);
|
D | test_suite_asn1parse.data | 433 SEQUENCE of 1 OCTET STRING truncated in content #1 436 SEQUENCE of 1 OCTET STRING truncated in content #2 439 SEQUENCE of 1 OCTET STRING truncated in content #3 460 SEQUENCE of 2 OCTET STRINGs, second truncated in content #1 463 SEQUENCE of 2 OCTET STRINGs, second truncated in content #2 466 SEQUENCE of 2 OCTET STRINGs, second truncated in content #3 565 AlgorithmIdentifier, truncated inside OID content 574 AlgorithmIdentifier, truncated inside params content
|
D | test_suite_bignum_core.misc.data | 440 Fill random core: 1 byte, prior content nonzero 446 Fill random core: 1 byte, 1 extra limb, prior content nonzero 458 Fill random core: 8 bytes, prior content nonzero 464 Fill random core: 8 bytes, 1 extra limb, prior content nonzero 479 Fill random core: 42 bytes, prior content nonzero 485 Fill random core: 42 bytes, 1 extra limb, prior content nonzero
|
D | test_suite_asn1parse.function | 183 unsigned char *content, size_t len) 190 TEST_ASSERT(content > state->input_start); 191 offset = content - state->input_start; 335 /* An INTEGER with no content is not valid. */ 342 * an INTEGER with empty content and gives it the value 0. */ 426 * actual_mpi = 2^n where n is the length of the content 624 * three integers: the offset of the element's content (offset from 625 * the start of input to the content of the element), the element's tag,
|
D | test_suite_psa_crypto_se_driver_hal.function | 252 uint8_t content[RAM_MAX_KEY_SIZE]; 291 if (required_storage > sizeof(ram_slots[slot_number].content)) { 301 * ram_slots[slot_number].content. */ 355 memcpy(ram_slots[slot_number].content, data, data_length); 374 memcpy(data, ram_slots[slot_number].content, actual_size); 395 ram_slots[slot_number].content, 479 slot->content, 512 slot->content, 610 /* Check that the persistent data of a driver has its expected content. */ 1373 memcpy(ram_slots[ram_min_slot].content, key_material->x,
|
D | test_suite_ecdsa.function | 496 void ecdsa_verify(int grp_id, char *x, char *y, char *r, char *s, data_t *content, int expected) 522 int result = mbedtls_ecdsa_verify(&ctx.grp, content->x, content->len, &ctx.Q, &sig_r, &sig_s);
|
D | test_suite_pem.data | 25 PEM read (unencrypted, empty content)
|
D | test_suite_ssl.function | 1310 /* DTLS 1.2 + CID hides the real content type and 1311 * uses a special CID content type in the protected 1319 /* TLS 1.3 hides the real content type and 1320 * always uses Application Data as the content type 1470 /* DTLS 1.2 + CID hides the real content type and 1471 * uses a special CID content type in the protected 1479 /* TLS 1.3 hides the real content type and 1480 * always uses Application Data as the content type 4983 * inner content/protected record. Take into account this
|
D | test_suite_ssl_decrypt.function | 206 /* Prepare dummy record content */
|
D | test_suite_psa_crypto_slot_management.function | 306 * content. */ 577 /* Test that the target slot has the expected content. */
|
/mbedtls-latest/docs/architecture/ |
D | mbed-crypto-storage-specification.md | 39 …n which the file name is constructed depends on the storage backend. The content of the file is de… 75 * Files 1 through 0xfffeffff: [content](#key-file-format-for-0.1.0) of the [key whose identifier is… 86 * `sprintf(CRYPTO_STORAGE_FILE_LOCATION "psa_key_slot_%lu", key_id)` [content](#key-file-format-for… 114 … constructed from the key identifier depends on the storage backend. The content of the file is de… 139 * Files 0x100000000 through 0xffffffffffff: [content](#key-file-format-for-1.0.0) of the [key whose… 148 * Files 1 through 0xfffeffff: [content](#key-file-format-for-1.0.0) of the [key whose identifier is… 236 * Files 0x100000000 through 0xffffffffffff: [content](#key-file-format-for-1.0.0) of the [key whose… 245 * Files 1 through 0xfffeffff: [content](#key-file-format-for-1.0.0) of the [key whose identifier is… 253 …_SE_DRIVER_ITS_UID_BASE + lifetime`): secure element driver storage. The content of the file is th… 359 … interface with statically registered drivers. The driver determines the content of the opaque key… [all …]
|
D | psa-storage-resilience.md | 25 * `set()` writes a whole file (either creating it, or replacing the previous content). 30 Since the underlying functions are atomic, the content of a file is always a version that was previ… 65 As a consequence, the content of the storage cannot remain the same between the end of step 1 and t… 115 …ernal storage concerns a single file: either removing it, or setting its content. Furthermore ther… 117 …s not exist, to a state where file `id` exists and has its desired final content (containing the k… 494 …ion as a global variable in the test framework), the hook tests that the content of the storage is… 517 * Create a transaction list file with a certain content.
|
D | psa-shared-memory.md | 35 …ms of values of inputs and outputs. This models an ideal world where the content of input and outp… 84 …ncryption](https://link.springer.com/content/pdf/10.1007/3-540-45708-9_2.pdf): if the client can c… 126 …ffer parameters in order to prevent any security risk resulting from the content of the buffer bei…
|
/mbedtls-latest/docs/architecture/testing/ |
D | psa-storage-format-testing.md | 39 …responding test cases in load-only mode: create a file with the expected content, load it and chec… 43 … the storage is a mapping from file identifier (a 64-bit number) to file content (a byte array). T… 68 Method: Create a key with certain metadata with `psa_import_key`. Read the file content and validat… 85 …nstants and some knowledge of what attributes (sizes, algorithms, …) and content to use for keys o…
|
D | driver-interface-test-strategy.md | 90 …has the expected content (this can be done by e.g. using a key that is supposed to be present) and…
|
D | invasive-testing.md | 302 …ich uses `mbedtls_psa_get_stats()` to get information about the keystore content before calling `m… 348 …rnal interface](#internal-interfaces)): call internal functions to inspect the content of the file. 366 …tipart operation structure, we can do it by looking inside the structure content, but only when ru…
|
/mbedtls-latest/programs/ |
D | README.md | 22 …y_app.c`](pkey/key_app.c): loads a PEM or DER public key or private key file and dumps its content. 75 ….c): a simple SMTP-over-TLS or SMTP-STARTTLS client. This client sends an email with fixed content.
|
/mbedtls-latest/library/ |
D | ssl_msg.c | 564 static int ssl_build_inner_plaintext(unsigned char *content, in ssl_build_inner_plaintext() argument 576 content[len] = rec_type; in ssl_build_inner_plaintext() 583 memset(content + len, 0, pad); in ssl_build_inner_plaintext() 594 static int ssl_parse_inner_plaintext(unsigned char const *content, in ssl_parse_inner_plaintext() argument 606 } while (content[remaining] == 0); in ssl_parse_inner_plaintext() 609 *rec_type = content[remaining]; in ssl_parse_inner_plaintext()
|
/mbedtls-latest/ |
D | README.md | 63 …ncludes some files that are automatically generated by scripts and whose content depends only on t… 111 …tting `WARNING_CFLAGS` is useful when you want to get rid of its default content (for example beca… 190 your value of CFLAGS doesn't override the content provided by cmake (depending
|
D | SECURITY.md | 29 over the network. This includes observing the content and timing of individual
|
/mbedtls-latest/docs/proposed/ |
D | psa-conditional-inclusion-c.md | 57 …plementations of cryptographic algorithms are included based on both the content of the PSA Crypto…
|