Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_chacha20.c68 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()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dchacha_driver.h23 uint8_t keystream_start; /*!< Index pointing to keystream data start */ member