Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dchacha20.c178 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_init()
232 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_starts()
256 ^ ctx->keystream8[ctx->keystream_bytes_used]; in mbedtls_chacha20_update()
267 chacha20_block( ctx->state, ctx->keystream8 ); in mbedtls_chacha20_update()
272 output[offset + i ] = input[offset + i ] ^ ctx->keystream8[i ]; in mbedtls_chacha20_update()
273 output[offset + i+1] = input[offset + i+1] ^ ctx->keystream8[i+1]; in mbedtls_chacha20_update()
274 output[offset + i+2] = input[offset + i+2] ^ ctx->keystream8[i+2]; in mbedtls_chacha20_update()
275 output[offset + i+3] = input[offset + i+3] ^ ctx->keystream8[i+3]; in mbedtls_chacha20_update()
276 output[offset + i+4] = input[offset + i+4] ^ ctx->keystream8[i+4]; in mbedtls_chacha20_update()
290 chacha20_block( ctx->state, ctx->keystream8 ); in mbedtls_chacha20_update()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dchacha20.h66 uint8_t keystream8[64]; /*! Leftover keystream bytes. */ member

Completed in 6 milliseconds