Home
last modified time | relevance | path

Searched refs:process_len (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20.c169 size_t process_len = in cc3xx_chacha20_update() local
171 if (process_len) { in cc3xx_chacha20_update()
173 &output[size_to_process], process_len); in cc3xx_chacha20_update()
178 (*output_len) += process_len; in cc3xx_chacha20_update()
184 if (input_len - process_len) { in cc3xx_chacha20_update()
194 for (int i=0; i<input_len-process_len; i++) { 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()
199 (*output_len) += (input_len-process_len); in cc3xx_chacha20_update()
202 ctx->state.keystream_start = (input_len-process_len); in cc3xx_chacha20_update()