Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 12 of 12) sorted by relevance

/mbedtls-development/tests/suites/
A Dtest_suite_chacha20.function13 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 Dtest_suite_ssl.function28 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 Dtest_suite_entropy.function56 * Just resetting the counter. New sources will overwrite existing ones.
A Dtest_suite_psa_crypto_se_driver_hal.function147 /* Allocate slot numbers with a monotonic counter. */
/mbedtls-development/include/mbedtls/
A Dchacha20.h130 uint32_t counter );
196 uint32_t counter,
A Dctr_drbg.h172 unsigned char MBEDTLS_PRIVATE(counter)[16]; /*!< The counter (V). */
/mbedtls-development/library/
A Dpkcs5.c232 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 Dchacha20.c219 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 Dctr_drbg.c269 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 Drsa.c1119 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 Dpsa-driver-interface.md725counter with a practically unbounded range in the secure element or in the driver's persistent sto…
/mbedtls-development/
A DChangeLog804 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