Searched refs:accumulator (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | entropy.c | 78 mbedtls_sha512_starts( &ctx->accumulator, 0 ); in mbedtls_entropy_init() 80 mbedtls_sha256_starts( &ctx->accumulator, 0 ); in mbedtls_entropy_init() 191 mbedtls_sha512_update( &ctx->accumulator, header, 2 ); in entropy_update() 192 mbedtls_sha512_update( &ctx->accumulator, p, use_len ); in entropy_update() 194 mbedtls_sha256_update( &ctx->accumulator, header, 2 ); in entropy_update() 195 mbedtls_sha256_update( &ctx->accumulator, p, use_len ); in entropy_update() 336 mbedtls_sha512_finish( &ctx->accumulator, buf ); in mbedtls_entropy_func() 341 memset( &ctx->accumulator, 0, sizeof( mbedtls_sha512_context ) ); in mbedtls_entropy_func() 342 mbedtls_sha512_starts( &ctx->accumulator, 0 ); in mbedtls_entropy_func() 343 mbedtls_sha512_update( &ctx->accumulator, buf, MBEDTLS_ENTROPY_BLOCK_SIZE ); in mbedtls_entropy_func() [all …]
|
/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_entropy.function | 306 mbedtls_sha512_context accumulator; 344 // Init accumulator 346 mbedtls_sha512_starts( &accumulator, 0 ); 350 mbedtls_sha512_update( &accumulator, header, 2 ); 351 mbedtls_sha512_update( &accumulator, read_seed, MBEDTLS_ENTROPY_BLOCK_SIZE ); 352 mbedtls_sha512_finish( &accumulator, buf ); 354 memset( &accumulator, 0, sizeof( mbedtls_sha512_context ) ); 355 mbedtls_sha512_starts( &accumulator, 0 ); 356 mbedtls_sha512_update( &accumulator, buf, MBEDTLS_ENTROPY_BLOCK_SIZE ); 362 mbedtls_sha512_update( &accumulator, header, 2 ); [all …]
|
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/ |
D | entropy.h | 125 mbedtls_sha512_context accumulator; member 127 mbedtls_sha256_context accumulator;
|
/net-tools-3.6.0/mbedtls-2.4.0/ |
D | ChangeLog | 1592 * Added a generic entropy accumulator that provides support for adding
|