Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 30) sorted by relevance

12

/mbedtls-latest/scripts/
Dgenerate_visualc_files.pl118 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" );
Dcode_style.py50 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
Dgenerate_errors.pl56 my $content = <FILE>;
59 while ($content =~ m[
/mbedtls-latest/tests/suites/
Dtest_suite_platform_util.function17 /* 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
Dtest_suite_asn1write.function202 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);
Dtest_suite_asn1parse.data433 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
Dtest_suite_bignum_core.misc.data440 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
Dtest_suite_asn1parse.function183 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,
Dtest_suite_psa_crypto_se_driver_hal.function252 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,
Dtest_suite_ecdsa.function496 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);
Dtest_suite_pem.data25 PEM read (unencrypted, empty content)
Dtest_suite_ssl.function1310 /* 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
Dtest_suite_ssl_decrypt.function206 /* Prepare dummy record content */
Dtest_suite_psa_crypto_slot_management.function306 * content. */
577 /* Test that the target slot has the expected content. */
/mbedtls-latest/docs/architecture/
Dmbed-crypto-storage-specification.md39 …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 …]
Dpsa-storage-resilience.md25 * `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.
Dpsa-shared-memory.md35 …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/
Dpsa-storage-format-testing.md39 …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…
Ddriver-interface-test-strategy.md90 …has the expected content (this can be done by e.g. using a key that is supposed to be present) and…
Dinvasive-testing.md302 …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/
DREADME.md22 …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/
Dssl_msg.c564 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/
DREADME.md63 …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
DSECURITY.md29 over the network. This includes observing the content and timing of individual
/mbedtls-latest/docs/proposed/
Dpsa-conditional-inclusion-c.md57 …plementations of cryptographic algorithms are included based on both the content of the PSA Crypto…

12