/mbedtls-latest/library/ |
D | hmac_drbg.c | 44 const unsigned char *additional, in mbedtls_hmac_drbg_update() argument 48 unsigned char rounds = (additional != NULL && add_len != 0) ? 2 : 1; in mbedtls_hmac_drbg_update() 68 additional, add_len)) != 0) { in mbedtls_hmac_drbg_update() 135 const unsigned char *additional, size_t len, in hmac_drbg_reseed_core() argument 188 if (additional != NULL && len != 0) { in hmac_drbg_reseed_core() 189 memcpy(seed + seedlen, additional, len); in hmac_drbg_reseed_core() 211 const unsigned char *additional, size_t len) in mbedtls_hmac_drbg_reseed() argument 213 return hmac_drbg_reseed_core(ctx, additional, len, 0); in mbedtls_hmac_drbg_reseed() 308 const unsigned char *additional, size_t add_len) in mbedtls_hmac_drbg_random_with_add() argument 330 if ((ret = mbedtls_hmac_drbg_reseed(ctx, additional, add_len)) != 0) { in mbedtls_hmac_drbg_random_with_add() [all …]
|
D | ctr_drbg.c | 412 const unsigned char *additional, in mbedtls_ctr_drbg_update() argument 422 if ((ret = block_cipher_df(add_input, additional, add_len)) != 0) { in mbedtls_ctr_drbg_update() 448 const unsigned char *additional, in mbedtls_ctr_drbg_reseed_internal() argument 483 if (additional != NULL && len != 0) { in mbedtls_ctr_drbg_reseed_internal() 484 memcpy(seed + seedlen, additional, len); in mbedtls_ctr_drbg_reseed_internal() 505 const unsigned char *additional, size_t len) in mbedtls_ctr_drbg_reseed() argument 507 return mbedtls_ctr_drbg_reseed_internal(ctx, additional, len, 0); in mbedtls_ctr_drbg_reseed() 611 const unsigned char *additional, size_t add_len) in mbedtls_ctr_drbg_random_with_add() argument 634 if ((ret = mbedtls_ctr_drbg_reseed(ctx, additional, add_len)) != 0) { in mbedtls_ctr_drbg_random_with_add() 641 if ((ret = block_cipher_df(locals.add_input, additional, add_len)) != 0) { in mbedtls_ctr_drbg_random_with_add()
|
/mbedtls-latest/docs/proposed/ |
D | psa-driver-integration-guide.md | 7 This document describes how to build Mbed TLS with additional cryptoprocessor drivers that follow t… 13 The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that im… 17 …in the build. The driver code can either be provided in binary form as additional object file to l… 39 <!-- TODO: what about additional include files? -->
|
D | psa-driver-developer-guide.md | 17 The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that im…
|
D | psa-conditional-inclusion-c.md | 75 * In application code that provides additional features based on cryptographic capabilities, for ex… 85 …or asymmetric cryptography), the feature selection is more fine-grained, with an additional suffix:
|
D | psa-driver-interface.md | 67 …ions may support additional properties. Such properties must use names consisting of the implement… 499 …in succession if fallback applies). In some cases, the core then calls additional entry points in … 769 size_t *bits); // additional parameter, see below 909 …for the key types that the entry point is declared for. It may support additional formats as speci… 932 …py. This value is also a hint for the size to supply if the core makes additional calls to `"add_e… 964 … sources are mixed into the random generator state. The driver may mix additional entropy of its o… 985 Random generator drivers should have the capability to inject additional entropy through the `"add_… 1013 * `PSA_ERROR_INSUFFICIENT_ENTROPY`: the core must supply additional entropy by calling the `"add_en… 1048 …key context includes space for the public key. If omitted or false, no additional space is added f…
|
/mbedtls-latest/include/mbedtls/ |
D | hmac_drbg.h | 286 const unsigned char *additional, size_t add_len); 313 const unsigned char *additional, size_t len); 348 const unsigned char *additional,
|
D | ctr_drbg.h | 462 const unsigned char *additional, size_t len); 485 const unsigned char *additional, 521 const unsigned char *additional, size_t add_len);
|
/mbedtls-latest/tests/suites/ |
D | test_suite_ctr_drbg.function | 124 unsigned char additional[512]; 128 memset(additional, 0, sizeof(additional)); 132 additional, 16) == 136 additional, MBEDTLS_CTR_DRBG_MAX_INPUT + 1) == 139 TEST_ASSERT(mbedtls_ctr_drbg_reseed(&ctx, additional, 144 TEST_ASSERT(mbedtls_ctr_drbg_reseed(&ctx, additional,
|
D | test_suite_constant_time_hmac.function | 30 /* TLS additional data is 13 bytes (hence the "lucky 13" name) */
|
D | test_suite_psa_crypto.function | 315 * feed additional data in to be encrypted / 446 /* Pass additional data in parts */ 466 /* Pass additional data in one go. */ 6566 /* Test for not sending any additional data or data after setting non zero 6585 /* Test for not sending any additional data or data after setting non-zero 6604 /* Test for not sending any additional data after setting a non-zero length 6642 /* Test for sending too much additional data after setting lengths. */ 6713 /* Test sending additional data after data. */ 8962 /* state of operation shouldn't allow additional generation */
|
/mbedtls-latest/ |
D | CONTRIBUTING.md | 43 … only security fixes and fixes for other defects, without encountering additional features or API … 49 … or enhancement, no backporting is required. Exceptions to this may be additional test cases or qu… 62 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
|
D | LICENSE | 128 that such additional attribution notices cannot be construed 132 may provide additional or different license terms and conditions 141 this License, without any additional terms or conditions. 182 of your accepting any such warranty or additional liability.
|
D | README.md | 245 For machines with a Unix shell and OpenSSL (and optionally GnuTLS) installed, additional test scrip… 285 …y, which allows the library to be implemented in an isolated space for additional security. Librar…
|
D | CMakeLists.txt | 405 # additional convenience targets for Unix only
|
/mbedtls-latest/3rdparty/everest/ |
D | README.md | 5 …do not provide a 128-bit integer type and KreMLin therefore has to use additional (also verified) …
|
/mbedtls-latest/docs/architecture/testing/ |
D | invasive-testing.md | 154 | Portability | ++ Ideal; the additional interfaces may be useful for portability beyond testing | 169 | Portability | ++ Ideal; the additional interfaces may be useful for portability beyond testing | 184 | Coverage | ~ Many useful tests require additional internal interfaces | 243 | Maintainability | ~ Depending on the instrumentation, this may require additional builds and scri…
|
/mbedtls-latest/docs/architecture/psa-migration/ |
D | testing.md | 98 However, if additional logic is involved, or there are run-time decisions about
|
D | md-cipher-dispatch.md | 211 …doesn't guarantee that it won't be enabled in the build. We can enable additional features through… 229 * Possibly additional runtime state (for example, we might check whether `psa_crypto_init` has been…
|
/mbedtls-latest/tests/scripts/ |
D | all.sh | 299 --no-memory No additional memory tests (default).
|
/mbedtls-latest/docs/architecture/ |
D | psa-shared-memory.md | 94 …ceptually simple. However, it is often unattractive because it requires additional memory and time. 138 …which has to be set by the application using Mbed TLS. This is both an additional maintenance cost… 202 **Design decision: for now, require AEAD drivers to read the additional data without a risk of read… 469 * AEAD (additional data only) 508 AEAD | Copying (careful access for additional data) | Copying |
|
D | psa-crypto-implementation-structure.md | 131 …tests/include/test/drivers/crypto_config_test_driver_extension.h` sets additional `MBEDTLS_PSA_ACC…
|
/mbedtls-latest/docs/architecture/psa-thread-safety/ |
D | psa-thread-safety.md | 17 - The core makes no additional guarantees for drivers. See [Driver policy](#driver-policy) for deta… 101 The core makes no additional guarantees for drivers. Driver entry points may be called concurrently…
|
/mbedtls-latest/docs/ |
D | driver-only-builds.md | 390 Note that if you also disable `MBEDTLS_CIPHER_C`, there will be additional
|
D | psa-transition.md | 180 …edtls__config_8h_1abd1870cc0d2681183a3018a7247cb137) to the path of an additional file (similar to… 189 …S 3.5.0, for key pair types, the feature selection is more fine-grained, with an additional suffix: 390 …` module, also call `mbedtls_ccm_set_lengths` to set the length of the additional data and of the … 391 4. Call `mbedtls_cipher_update_ad` to pass the unencrypted additional data. 1048 … API performs some basic checks when it imports a key, and may perform additional checks before pe…
|