Lines Matching refs:accumulator
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 );
363 mbedtls_sha512_update( &accumulator, empty, MBEDTLS_ENTROPY_BLOCK_SIZE );
366 mbedtls_sha512_update( &accumulator, header, 2 );
367 mbedtls_sha512_update( &accumulator, check_seed, MBEDTLS_ENTROPY_BLOCK_SIZE );
368 mbedtls_sha512_finish( &accumulator, buf );