Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/stream/salsa20/
A Dsalsa20_crypt.c70 for (i = 0; i < j; ++i, st->ksleft--) out[i] = in[i] ^ st->kstream[64 - st->ksleft]; in salsa20_crypt()
83 for (i = inlen; i < 64; ++i) st->kstream[i] = buf[i]; in salsa20_crypt()
/optee_os/core/lib/libtomcrypt/src/stream/chacha/
A Dchacha_crypt.c69 for (i = 0; i < j; ++i, st->ksleft--) out[i] = in[i] ^ st->kstream[64 - st->ksleft]; in chacha_crypt()
88 for (i = inlen; i < 64; ++i) st->kstream[i] = buf[i]; in chacha_crypt()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1000 unsigned char kstream[64]; member
1023 unsigned char kstream[64]; member

Completed in 6 milliseconds