Searched refs:size_to_process (Results 1 – 1 of 1) sorted by relevance
153 size_t size_to_process = keystream_size < input_len ? in cc3xx_chacha20_update() local155 if (size_to_process) { in cc3xx_chacha20_update()156 for (int i=0; i<size_to_process; i++) { in cc3xx_chacha20_update()160 ctx->state.keystream_start += size_to_process; in cc3xx_chacha20_update()161 input_len -= size_to_process; in cc3xx_chacha20_update()162 (*output_len) += size_to_process; in cc3xx_chacha20_update()172 status = chacha_block(ctx, &input[size_to_process], in cc3xx_chacha20_update()173 &output[size_to_process], process_len); in cc3xx_chacha20_update()195 output[i+size_to_process+process_len] = in cc3xx_chacha20_update()196 ctx->state.keystream[i] ^ input[i+size_to_process+process_len]; in cc3xx_chacha20_update()