Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dchacha20.c188 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_init()
242 mbedtls_platform_zeroize( ctx->keystream8, sizeof( ctx->keystream8 ) ); in mbedtls_chacha20_starts()
266 ^ ctx->keystream8[ctx->keystream_bytes_used]; in mbedtls_chacha20_update()
277 chacha20_block( ctx->state, ctx->keystream8 ); in mbedtls_chacha20_update()
282 output[offset + i ] = input[offset + i ] ^ ctx->keystream8[i ]; in mbedtls_chacha20_update()
283 output[offset + i+1] = input[offset + i+1] ^ ctx->keystream8[i+1]; in mbedtls_chacha20_update()
284 output[offset + i+2] = input[offset + i+2] ^ ctx->keystream8[i+2]; in mbedtls_chacha20_update()
285 output[offset + i+3] = input[offset + i+3] ^ ctx->keystream8[i+3]; in mbedtls_chacha20_update()
286 output[offset + i+4] = input[offset + i+4] ^ ctx->keystream8[i+4]; in mbedtls_chacha20_update()
287 output[offset + i+5] = input[offset + i+5] ^ ctx->keystream8[i+5]; in mbedtls_chacha20_update()
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/include/mbedtls/
Dchacha20.h63 uint8_t keystream8[64]; /*! Leftover keystream bytes. */ member