/mbedtls-development/tests/suites/ |
A D | test_suite_ecp.data | 232 ECP read binary #3 (zero, OK) 244 ECP read binary #6 (non-zero, OK) 272 ECP read binary #13 (Curve448, OK) 292 ECP tls read point #2 (zero, OK) 304 ECP tls write-read point #1 308 ECP tls write-read point #2 329 ECP tls write-read group #1 333 ECP tls write-read group #2 532 ECP read key #11 (Curve25519, OK) 560 ECP read key #18 (Curve448, OK) [all …]
|
A D | test_suite_pem.data | 19 PEM read (DES-EDE3-CBC + invalid iv) 22 PEM read (DES-CBC + invalid iv) 25 PEM read (unknown encryption algorithm) 28 PEM read (malformed PEM DES-CBC) 32 PEM read (malformed PEM DES-EDE3-CBC) 36 PEM read (malformed PEM AES-128-CBC)
|
A D | test_suite_ecdsa.data | 53 ECDSA write-read hash zero #1 57 ECDSA write-read hash zero #2 61 ECDSA write-read hash zero #3 65 ECDSA write-read hash zero #4 69 ECDSA write-read hash zero #5 73 ECDSA write-read random #1 77 ECDSA write-read random #2 81 ECDSA write-read random #3 85 ECDSA write-read random #4 89 ECDSA write-read random #5 [all …]
|
A D | test_suite_entropy.function | 67 * NV seed read/write functions that use a buffer instead of a file 90 * NV seed read/write helpers that fill the base seedfile 410 /* Check if platform NV read and write manipulate the same data */ 419 /* Check if platform NV write and raw read manipulate the same data */ 460 // Make sure we read/write NV seed from our buffers 471 // Set the initial NV seed to read
|
A D | test_suite_psa_crypto_storage_format.misc.data | 5 PSA storage read: AES-GCM+CTR
|
A D | test_suite_psa_crypto_storage_format.function | 158 * will still be able to read it. */ 184 * can read back what this version wrote. */ 201 /* Backward compatibility: read a key in the format of a past version
|
A D | test_suite_ssl.function | 1095 int ret = mbedtls_ssl_read( ssl, buf + *read, buf_len - *read ); 1099 *read += ret; 2204 written = read = 0; 2212 read += get_ret[j]; 2277 size_t written, read; 2309 written = read = 0; 2332 recv_ret = recv( &server, received + read, MSGLEN - read ); 2339 read += recv_ret; 2391 size_t read[ROUNDS]; 2430 read[i] = 0; [all …]
|
A D | test_suite_mps.function | 217 /* This test exercises the behaviour of the MPS reader when a read request 250 * in the situation where a read request goes beyond the bounds of the 251 * current read buffer, _and_ the reader's accumulator is too small to 339 * sufficient to fulfill the original read request. 340 * - The consumer retries the original read request, which 659 * - A read request via `mbedtls_mps_reader_get()` can't 978 * producer until the original read request can be fulfilled. 982 * The reader does not guarantee that inconsistent read requests
|
A D | test_suite_psa_crypto_metadata.data | 402 Lifetime: read-only, local storage 417 Lifetime: read-only, 0x123456
|
A D | test_suite_ecdsa.function | 205 /* generate and write signature, then read and verify it */ 269 /* generate and write signature, then read and verify it */
|
A D | test_suite_psa_crypto_init.function | 23 * to read from the entropy source twice: once for the initial entropy
|
A D | test_suite_ecjpake.data | 7 ECJPAKE fail read corrupt MD
|
A D | test_suite_ecdh.function | 299 /* client read server params */
|
A D | test_suite_psa_crypto_slot_management.data | 131 Create failure: read-only key
|
/mbedtls-development/tests/scripts/ |
A D | check_files.py | 243 if f.read(1) != b"\n": 258 if f.read().startswith(codecs.BOM_UTF8):
|
A D | set_psa_test_dependencies.py | 283 old_content = open(file_name, encoding='utf-8').read()
|
A D | generate_test_code.py | 962 snippets['test_common_helpers'] = help_f.read() 964 snippets['platform_code'] = platform_f.read().replace(
|
/mbedtls-development/docs/architecture/testing/ |
A D | psa-storage-format-testing.md | 5 …des a persistent key store. It is possible to create a persistent key and read it back later. This… 15 …ting is: as a user of Mbed TLS, I want to store a key under version V and read it back under versi… 27 …tate that V would have produced. Thus, this approach validates that W can read storage states crea… 29 …ck passing on version W with the same data that proves that version W can read back what version V…
|
A D | invasive-testing.md | 128 * Check the format of files (which matters so that the product can still read old files after an up… 228 …st-specific conditional compilation littered through the code, as that makes the code hard to read. 248 … a test that the product isn't capable of doing, we can use a debugger to read or modify the memor… 332 #### Storage read failure 334 Goal: test the robustness against read errors.
|
/mbedtls-development/scripts/ |
A D | assemble_changelog.py | 246 whole_file = input_stream.read() 262 input_stream.read(), False)
|
/mbedtls-development/library/ |
A D | net_sockets.c | 77 #define read(fd,buf,len) recv( fd, (char*)( buf ), (int)( len ), 0 ) macro 579 ret = (int) read( fd, buf, len ); in mbedtls_net_recv()
|
/mbedtls-development/docs/architecture/ |
A D | alternative-implementations.md | 6 …ot exhaustive. Please consult the documentation of individual modules and read the library header … 47 …read access is necessary: the field can be `const`, and modifications to it do not need to be supp…
|
A D | tls13-experimental.md | 293 - the macros to read from memory a multi-byte integer in big-endian order 311 check that we do not write or read past the end of a data buffer. The 313 to read/write past the end of a data buffer. 329 - When an TLS 1.3 structure is written or read by a function or as part of
|
/mbedtls-development/programs/ |
A D | README.md | 103 * [`util/pem2der.c`](util/pem2der.c): a PEM to DER converter. Mbed TLS can read PEM files directly,…
|
/mbedtls-development/docs/ |
A D | 3.0-migration-guide.md | 45 … add new fields. Also, as before, some public fields should be considered read-only, since modifyi… 49 …or functions that change the format may use different verbs, for example `read`/`write` for functi… 422 data was signed. The `hashlen` parameter is now always the size that is read 432 …h_len` parameter. The `hash_len` parameter is now always the size that is read from the `hash` inp…
|