Searched refs:keystream_start (Results 1 – 2 of 2) sorted by relevance
68 ctx->state.keystream_start = CHACHA_BLOCK_SIZE_BYTES; in cc3xx_chacha20_init()120 ctx->state.keystream_start = CHACHA_BLOCK_SIZE_BYTES; in cc3xx_chacha20_set_counter()151 (CHACHA_BLOCK_SIZE_BYTES - ctx->state.keystream_start) > 0 ? in cc3xx_chacha20_update()152 (CHACHA_BLOCK_SIZE_BYTES - ctx->state.keystream_start) : 0; in cc3xx_chacha20_update()158 ctx->state.keystream[i+ctx->state.keystream_start] ^ input[i]; in cc3xx_chacha20_update()160 ctx->state.keystream_start += size_to_process; in cc3xx_chacha20_update()202 ctx->state.keystream_start = (input_len-process_len); in cc3xx_chacha20_update()
23 uint8_t keystream_start; /*!< Index pointing to keystream data start */ member