Searched refs:counter (Results 1 – 12 of 12) sorted by relevance
/mbedtls-development/tests/suites/ |
A D | test_suite_chacha20.function | 13 int counter, 29 …TEST_ASSERT( mbedtls_chacha20_crypt( key_str->x, nonce_str->x, counter, src_str->len, src_str->x, … 41 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 ); 55 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 );
|
A D | test_suite_ssl.function | 28 size_t counter; 50 p->counter++; 1045 * Write application data. Increase write counter if necessary. 1089 * Read application data and increase read counter and fragments counter if necessary. 3209 * 2) The record counter sometimes determines the IV. 4564 srv_pattern.counter = 0; 4565 cli_pattern.counter = 0; 4583 TEST_ASSERT( srv_pattern.counter >= 1 ); 4588 TEST_ASSERT( cli_pattern.counter >= 1 );
|
A D | test_suite_entropy.function | 56 * Just resetting the counter. New sources will overwrite existing ones.
|
A D | test_suite_psa_crypto_se_driver_hal.function | 147 /* Allocate slot numbers with a monotonic counter. */
|
/mbedtls-development/include/mbedtls/ |
A D | chacha20.h | 130 uint32_t counter ); 196 uint32_t counter,
|
A D | ctr_drbg.h | 172 unsigned char MBEDTLS_PRIVATE(counter)[16]; /*!< The counter (V). */
|
/mbedtls-development/library/ |
A D | pkcs5.c | 232 unsigned char counter[4]; in mbedtls_pkcs5_pbkdf2_hmac() local 234 memset( counter, 0, 4 ); in mbedtls_pkcs5_pbkdf2_hmac() 235 counter[3] = 1; in mbedtls_pkcs5_pbkdf2_hmac() 251 if( ( ret = mbedtls_md_hmac_update( ctx, counter, 4 ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 288 if( ++counter[i - 1] != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
|
A D | chacha20.c | 219 uint32_t counter ) in mbedtls_chacha20_starts() argument 225 ctx->state[12] = counter; in mbedtls_chacha20_starts() 307 uint32_t counter, in mbedtls_chacha20_crypt() argument 326 ret = mbedtls_chacha20_starts( &ctx, nonce, counter ); in mbedtls_chacha20_crypt()
|
A D | ctr_drbg.c | 269 if( ++ctx->counter[i - 1] != 0 ) in ctr_drbg_update_internal() 276 ctx->counter, p ) ) != 0 ) in ctr_drbg_update_internal() 295 memcpy( ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal() 545 if( ++ctx->counter[i - 1] != 0 ) in mbedtls_ctr_drbg_random_with_add() 552 ctx->counter, tmp ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
|
A D | rsa.c | 1119 unsigned char counter[4]; in mgf_mask() local 1126 memset( counter, 0, 4 ); in mgf_mask() 1143 if( ( ret = mbedtls_md_update( md_ctx, counter, 4 ) ) != 0 ) in mgf_mask() 1151 counter[3]++; in mgf_mask()
|
/mbedtls-development/docs/proposed/ |
A D | psa-driver-interface.md | 725 …counter with a practically unbounded range in the secure element or in the driver's persistent sto…
|
/mbedtls-development/ |
A D | ChangeLog | 804 enclave) could bypass an existing counter-measure (base blinding) and 903 * Fix issue in Lucky 13 counter-measure that could make it ineffective when 1808 * Add a counter-measure against a vulnerability in TLS ciphersuites based 2545 would compare 64 bits of the record counter instead of 48 bits as indicated 3685 * RSA blinding on CRT operations to counter timing attacks 3867 * RSA blinding on CRT operations to counter timing attacks 3921 * Corrected GCM counter incrementation to use only 32-bits instead of
|
Completed in 33 milliseconds