Home
last modified time | relevance | path

Searched refs:additional (Results 1 – 23 of 23) sorted by relevance

/mbedtls-3.4.0/library/
Dhmac_drbg.c56 const unsigned char *additional, in mbedtls_hmac_drbg_update() argument
60 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update()
79 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_update()
138 const unsigned char *additional, size_t len, in hmac_drbg_reseed_core() argument
194 if( additional != NULL && len != 0 ) in hmac_drbg_reseed_core()
196 memcpy( seed + seedlen, additional, len ); in hmac_drbg_reseed_core()
217 const unsigned char *additional, size_t len ) in mbedtls_hmac_drbg_reseed() argument
219 return( hmac_drbg_reseed_core( ctx, additional, len, 0 ) ); in mbedtls_hmac_drbg_reseed()
314 const unsigned char *additional, size_t add_len ) in mbedtls_hmac_drbg_random_with_add() argument
335 if( ( ret = mbedtls_hmac_drbg_reseed( ctx, additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()
[all …]
Dctr_drbg.c310 const unsigned char *additional, in mbedtls_ctr_drbg_update() argument
319 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_update()
343 const unsigned char *additional, in mbedtls_ctr_drbg_reseed_internal() argument
378 if( additional != NULL && len != 0 ) in mbedtls_ctr_drbg_reseed_internal()
380 memcpy( seed + seedlen, additional, len ); in mbedtls_ctr_drbg_reseed_internal()
399 const unsigned char *additional, size_t len ) in mbedtls_ctr_drbg_reseed() argument
401 return( mbedtls_ctr_drbg_reseed_internal( ctx, additional, len, 0 ) ); in mbedtls_ctr_drbg_reseed()
495 const unsigned char *additional, size_t add_len ) in mbedtls_ctr_drbg_random_with_add() argument
516 if( ( ret = mbedtls_ctr_drbg_reseed( ctx, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
525 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
/mbedtls-3.4.0/include/mbedtls/
Dhmac_drbg.h299 const unsigned char *additional, size_t add_len );
326 const unsigned char *additional, size_t len );
361 const unsigned char *additional,
Dctr_drbg.h444 const unsigned char *additional, size_t len );
467 const unsigned char *additional,
503 const unsigned char *additional, size_t add_len );
/mbedtls-3.4.0/docs/proposed/
Dpsa-driver-integration-guide.md6 This document describes how to build Mbed TLS with additional cryptoprocessor drivers that follow t…
12 The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that im…
16 …in the build. The driver code can either be provided in binary form as additional object file to l…
45 <!-- TODO: what about additional include files? -->
Dpsa-driver-developer-guide.md16 The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that im…
Dpsa-driver-interface.md65 …ions may support additional properties. Such properties must use names consisting of the implement…
337 size_t *bits); // additional parameter, see below
476 …for the key types that the entry point is declared for. It may support additional formats as speci…
499 …py. This value is also a hint for the size to supply if the core makes additional calls to `"add_e…
531 … sources are mixed into the random generator state. The driver may mix additional entropy of its o…
552 Random generator drivers should have the capability to inject additional entropy through the `"add_…
580 * `PSA_ERROR_INSUFFICIENT_ENTROPY`: the core must supply additional entropy by calling the `"add_en…
615 …key context includes space for the public key. If omitted or false, no additional space is added f…
Dpsa-conditional-inclusion-c.md75 * In application code that provides additional features based on cryptographic capabilities, for ex…
/mbedtls-3.4.0/tests/suites/
Dtest_suite_ctr_drbg.function108 unsigned char additional[512];
112 memset( additional, 0, sizeof( additional ) );
116 additional, 16 ) ==
120 additional, MBEDTLS_CTR_DRBG_MAX_INPUT + 1 ) ==
123 TEST_ASSERT( mbedtls_ctr_drbg_reseed( &ctx, additional,
128 TEST_ASSERT( mbedtls_ctr_drbg_reseed( &ctx, additional,
Dtest_suite_constant_time_hmac.function30 /* TLS additional data is 13 bytes (hence the "lucky 13" name) */
Dtest_suite_psa_crypto.function326 * feed additional data in to be encrypted /
466 /* Pass additional data in parts */
494 /* Pass additional data in one go. */
6352 /* Test for not sending any additional data or data after setting non zero
6371 /* Test for not sending any additional data or data after setting non-zero
6390 /* Test for not sending any additional data after setting a non-zero length
6428 /* Test for sending too much additional data after setting lengths. */
6499 /* Test sending additional data after data. */
7530 /* state of operation shouldn't allow additional generation */
Dtest_suite_psa_crypto_driver_wrappers.function2488 * set length (additional data and data to encrypt) */
2495 /* Pass the additional data */
Dtest_suite_ssl.function3752 * 1) It determines the AEAD additional data
4127 /* MAC with additional data */
/mbedtls-3.4.0/3rdparty/everest/
DREADME.md5 …do not provide a 128-bit integer type and KreMLin therefore has to use additional (also verified) …
/mbedtls-3.4.0/
DLICENSE121 that such additional attribution notices cannot be construed
125 may provide additional or different license terms and conditions
134 this License, without any additional terms or conditions.
175 of your accepting any such warranty or additional liability.
DCONTRIBUTING.md47 … only security fixes and fixes for other defects, without encountering additional features or API …
53 … or enhancement, no backporting is required. Exceptions to this may be additional test cases or qu…
66 [A Knowledge Base article describing how to add additional tests is available on the Mbed TLS websi…
DREADME.md240 For machines with a Unix shell and OpenSSL (and optionally GnuTLS) installed, additional test scrip…
276 …y, which allows the library to be implemented in an isolated space for additional security. Librar…
DCMakeLists.txt306 # additional convenience targets for Unix only
DChangeLog289 Furthermore you may name an additional file to include after the main
793 Further, callbacks now receive an additional parameter
1132 in bits rather than bytes, with an additional flag to indicate if the
1357 * Fix an off-by-one error in the additional data length check for
1590 * Add additional bounds checks in ssl_write_client_hello() preventing
2054 at the cost of additional lifetime constraints on the input
2142 disabled by default. See its API documentation in config.h for additional
2542 * Add additional block mode, OFB (Output Feedback), to the AES module and
3611 additional callback for read-with-timeout).
3643 * ecdsa_write_signature() gained an additional md_alg argument and
[all …]
/mbedtls-3.4.0/docs/architecture/testing/
Dinvasive-testing.md154 | 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-3.4.0/docs/architecture/psa-migration/
Dtesting.md98 However, if additional logic is involved, or there are run-time decisions about
/mbedtls-3.4.0/tests/scripts/
Dall.sh264 --no-memory No additional memory tests (default).
/mbedtls-3.4.0/docs/
D3.0-migration-guide.md540 implement those additional five API functions.