Searched refs:keystream_bytes_used (Results 1 – 2 of 2) sorted by relevance
191 ctx->keystream_bytes_used = CHACHA20_BLOCK_SIZE_BYTES; in mbedtls_chacha20_init()245 ctx->keystream_bytes_used = CHACHA20_BLOCK_SIZE_BYTES; in mbedtls_chacha20_starts()263 while( size > 0U && ctx->keystream_bytes_used < CHACHA20_BLOCK_SIZE_BYTES ) in mbedtls_chacha20_update()266 ^ ctx->keystream8[ctx->keystream_bytes_used]; in mbedtls_chacha20_update()268 ctx->keystream_bytes_used++; in mbedtls_chacha20_update()308 ctx->keystream_bytes_used = size; in mbedtls_chacha20_update()
64 size_t keystream_bytes_used; /*! Number of keystream bytes already used. */ member