/mbedtls-development/tests/suites/ |
A D | test_suite_ecjpake.data | 10 ECJPAKE round one: client, valid 13 ECJPAKE round one: server, valid 16 ECJPAKE round one: role mismatch 19 ECJPAKE round one: trailing byte 22 ECJPAKE round one: KKP1: no data 31 ECJPAKE round one: KKP1: no point data 58 ECJPAKE round one: KKP1: zero-length r 61 ECJPAKE round one: KKP1: no data for r 64 ECJPAKE round one: KKP1: corrupted r 70 ECJPAKE round one: KKP2: no data [all …]
|
A D | test_suite_cipher.padding.data | 140 Check one and zeros padding #1 (correct) 144 Check one and zeros padding #2 (correct) 148 Check one and zeros padding #3 (correct) 152 Check one and zeros padding #4 (correct) 156 Check one and zeros padding #5 (correct) 160 Check one and zeros padding #6 (missing one) 164 Check one and zeros padding #7 (overlong) 168 Check one and zeros padding #8 (last byte 0x80 | x)
|
A D | test_suite_psa_crypto_init.data | 41 Fake entropy: one block eventually 45 Fake entropy: one block in two steps 49 Fake entropy: more than one block in two steps 59 NV seed only: less than one block
|
A D | test_suite_cipher.des.data | 73 DES Encrypt and decrypt 0 bytes with one and zeros padding 77 DES Encrypt and decrypt 1 byte with one and zeros padding 81 DES Encrypt and decrypt 2 bytes with one and zeros padding 85 DES Encrypt and decrypt 7 bytes with one and zeros padding 89 DES Encrypt and decrypt 8 bytes with one and zeros padding 93 DES Encrypt and decrypt 9 bytes with one and zeros padding 97 DES Encrypt and decrypt 15 bytes with one and zeros padding 101 DES Encrypt and decrypt 16 bytes with one and zeros padding 105 DES Encrypt and decrypt 17 bytes with one and zeros padding 109 DES Encrypt and decrypt 31 bytes with one and zeros padding [all …]
|
A D | test_suite_cipher.camellia.data | 69 CAMELLIA Encrypt and decrypt 0 bytes with one and zeros padding 73 CAMELLIA Encrypt and decrypt 1 byte with one and zeros padding 77 CAMELLIA Encrypt and decrypt 2 bytes with one and zeros padding 81 CAMELLIA Encrypt and decrypt 7 bytes with one and zeros padding 85 CAMELLIA Encrypt and decrypt 8 bytes with one and zeros padding 89 CAMELLIA Encrypt and decrypt 9 bytes with one and zeros padding 93 CAMELLIA Encrypt and decrypt 15 bytes with one and zeros padding 97 CAMELLIA Encrypt and decrypt 16 bytes with one and zeros padding 101 CAMELLIA Encrypt and decrypt 17 bytes with one and zeros padding 105 CAMELLIA Encrypt and decrypt 31 bytes with one and zeros padding [all …]
|
A D | test_suite_pem.data | 7 PEM write (one byte)
|
A D | test_suite_cipher.aes.data | 69 AES-128 CBC - Encrypt and decrypt 0 bytes with one and zeros padding 73 AES-128 CBC - Encrypt and decrypt 1 byte with one and zeros padding 77 AES-128 CBC - Encrypt and decrypt 2 bytes with one and zeros padding 81 AES-128 CBC - Encrypt and decrypt 7 bytes with one and zeros padding 85 AES-128 CBC - Encrypt and decrypt 8 bytes with one and zeros padding 89 AES-128 CBC - Encrypt and decrypt 9 bytes with one and zeros padding 93 AES-128 CBC - Encrypt and decrypt 15 bytes with one and zeros padding 97 AES-128 CBC - Encrypt and decrypt 16 bytes with one and zeros padding 101 AES-128 CBC - Encrypt and decrypt 17 bytes with one and zeros padding 105 AES-128 CBC - Encrypt and decrypt 31 bytes with one and zeros padding [all …]
|
/mbedtls-development/docs/architecture/testing/ |
A D | driver-interface-test-strategy.md | 19 …lude/psa/crypto_se_driver.h). This is an interface between Mbed Crypto and one or more third-party… 34 * Make at least one failing call to `psa_register_se_driver` followed by a successful call. 35 * Make at least one test that successfully registers the maximum number of drivers and fails to reg… 42 * Make at least one test with a key that is not in a secure element that checks that the driver met… 46 * At least one test should register the same driver structure with multiple lifetime values and che… 74 The following tests must be performed at least one for each key creation method (import, generate, … 98 We must have at least one driver that is close to real-world conditions: 103 * Run at least one test application (e.g. the Mbed OS TLS example). 109 We should have at least one driver that covers the whole interface: 125 … (key creation, cryptographic operations, …) must be exercised in at least one build. The test mus… [all …]
|
A D | psa-storage-format-testing.md | 45 * [Key files](#key-storage) (files containing one key's metadata and, except for some secure elemen… 74 …validate that each `PSA_xxx` constant that is stored in a key is covered by at least one test case: 100 Some types only have one plausible representation. Others admit alternative plausible representatio…
|
/mbedtls-development/configs/ |
A D | README.txt | 7 These files are complete replacements for the default mbedtls_config.h. To use one of 8 them, you can pick one of the following methods: 10 1. Replace the default file include/mbedtls/mbedtls_config.h with the chosen one.
|
/mbedtls-development/library/ |
A D | ecjpake.c | 561 mbedtls_mpi one; in ecjpake_ecp_add3() local 563 mbedtls_mpi_init( &one ); in ecjpake_ecp_add3() 565 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in ecjpake_ecp_add3() 566 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, A, &one, B ) ); in ecjpake_ecp_add3() 567 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( grp, R, &one, R, &one, C ) ); in ecjpake_ecp_add3() 570 mbedtls_mpi_free( &one ); in ecjpake_ecp_add3() 759 mbedtls_mpi m_xm2_s, one; in mbedtls_ecjpake_derive_secret() local 774 mbedtls_mpi_init( &one ); in mbedtls_ecjpake_derive_secret() 776 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &one, 1 ) ); in mbedtls_ecjpake_derive_secret() 786 &one, &ctx->Xp, in mbedtls_ecjpake_derive_secret() [all …]
|
A D | net_sockets.c | 403 int one = 1; in mbedtls_net_accept() local 417 (const char *) &one, sizeof( one ) ) != 0 ) in mbedtls_net_accept()
|
A D | bignum.c | 2303 size_t wbits, wsize, one = 1; in mbedtls_mpi_exp_mod() local 2409 j = one << ( wsize - 1 ); in mbedtls_mpi_exp_mod() 2420 for( i = j + 1; i < ( one << wsize ); i++ ) in mbedtls_mpi_exp_mod() 2503 if( ( wbits & ( one << wsize ) ) != 0 ) in mbedtls_mpi_exp_mod() 2520 for( i = ( one << ( wsize - 1 ) ); i < ( one << wsize ); i++ ) in mbedtls_mpi_exp_mod()
|
/mbedtls-development/programs/ |
A D | README.md | 65 …ls_client.c): a simple DTLS client program, which sends one datagram to the server and reads one d… 67 …server.c): a simple DTLS server program, which expects one datagram from the client and writes one… 73 * [`ssl/ssl_fork_server.c`](ssl/ssl_fork_server.c): a simple HTTPS server using one process per cli… 77 * [`ssl/ssl_pthread_server.c`](ssl/ssl_pthread_server.c): a simple HTTPS server using one thread pe…
|
/mbedtls-development/programs/fuzz/ |
A D | README.md | 26 To run the fuzz targets without oss-fuzz, you first need to install one libFuzzingEngine (libFuzzer… 51 * Run them one against the other with `reproducible` option turned on while capturing trafic into t…
|
/mbedtls-development/ChangeLog.d/ |
A D | 00README.md | 27 changelog entry, but not for deciding whether to write one. 79 why one might be interested in the feature. For an API change or a deprecation,
|
/mbedtls-development/doxygen/ |
A D | mbedtls.doxyfile | 39 # Using the PROJECT_BRIEF tag one can provide an optional one line description 45 # With the PROJECT_LOGO tag one can specify an logo or icon that is 138 # only done if one of the specified strings matches the left-hand part of 249 # and language is one of the parsers supported by doxygen: IDL, Java, 596 # The CITE_BIB_FILES tag can be used to specify one or more bib files 723 # The EXAMPLE_PATH tag can be used to specify one or more files or 743 # The IMAGE_PATH tag can be used to specify one or more files or 924 # style sheets created by doxygen. Using this option one can overrule 978 # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of 1151 # containing a tree-like index structure (just like the one that [all …]
|
/mbedtls-development/tests/git-scripts/ |
A D | README.md | 7 The mbed TLS git hooks are located in `<mbed TLS root>/tests/git-scripts` directory, and one must c…
|
/mbedtls-development/.github/ |
A D | pull_request_template.md | 2 …elines](../CONTRIBUTING.md). In particular, each commit must have at least one `Signed-off-by:` li…
|
/mbedtls-development/docs/ |
A D | use-psa-crypto.md | 71 `mbedtls_ssl_set_hs_psk_opaque()`. Call one of these from an application to 96 multi-part APIs are not supported, only the one-shot APIs. The only modes 100 possible to perform multiple one-shot operations with the same context;
|
A D | 3.0-migration-guide.md | 82 checks that the value is a valid one. With the feature disabled, an invalid 83 value causes a silent default to one of the valid values. 449 ### The RNG parameter is now mandatory for all functions that accept one 467 `f_rng` argument but must allow users to pass one anyway. 635 to date. If one of your peers is in that case, please try contacting them and 708 settings, i.e. enabled at least one of the options. 711 `MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY` were combined into one option because 780 the one that has been configured last. In Mbed TLS 3.0, 786 remove all but the last call, so that only one call to _either_ 861 This option was added only to control compilation of one function, [all …]
|
/mbedtls-development/docs/proposed/ |
A D | psa-driver-integration-guide.md | 16 Concretely speaking, a driver consists of one or more **driver description files** in JSON format a…
|
A D | psa-driver-interface.md | 213 The following driver entry points perform a cryptographic operation in one shot (single-part operat… 411 …BLOCK`: If this flag is set, the driver should block until it has at least one bit of entropy. If … 430 …lso unspecified whether other drivers' `"init"` entry points are called if one or more init entry … 438 …rapped keys, you need to provide two driver descriptions, one for a transparent driver and one for… 523 … been initialized by a call to the driver's `"init_random"` entry point if one is present, and to … 534 When the driver requires entropy, the core can supply it with one or more successive calls to the `… 538 This section provides guidance on combining one or more [entropy sources](#entropy-collection-entry… 715 …` step but before the call to the second driver entry point, the core will do one of the following: 920 …ransparent drivers implement the same mechanism, which one is called? The first one? The last one?… 922 The current choice is that the first one is used, which allows having a preference order on drivers… [all …]
|
A D | psa-conditional-inclusion-c.md | 42 … (for example encrypt/decrypt, sign/verify), there is no requirement to include only one direction. 46 …r example single-part and multi-part, there is no mechanism to select only one or a subset of the … 103 …_xxx` symbols. It is an error to include a base mechanism without at least one possible parameter,… 116 `MBEDTLS_PSA_ACCEL_xxx` is one of the outputs of the transpilation of a driver description, alongsi… 194 …rt of it is enabled. For example, if there is a capability for AES-CTR and one for CAMELLIA-GCM, t…
|
/mbedtls-development/docs/architecture/ |
A D | tls13-experimental.md | 136 (2) The MVP sends one shared secret corresponding to the configured preferred 278 Those idioms should lower the risk of mis-using one of the address in place 279 of another one which could potentially lead to some nasty issues. 379 lines in the same commit: it makes the review harder. Make one commit with
|