Searched refs:chacha_keystream (Results 1 – 4 of 4) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_keystream.c | 27 int chacha_keystream(chacha_state *st, unsigned char *out, unsigned long outlen) in chacha_keystream() function
|
/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | chacha20.c | 68 … if ((err = chacha_keystream(&prng->u.chacha.s, buf, sizeof(buf))) != CRYPT_OK) goto LBL_UNLOCK; in chacha20_prng_add_entropy() 124 if (chacha_keystream(&prng->u.chacha.s, out, outlen) != CRYPT_OK) outlen = 0; in chacha20_prng_read()
|
/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_setiv.c | 55 if ((err = chacha_keystream(&tmp_st, polykey, 32)) != CRYPT_OK) return err; in chacha20poly1305_setiv()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_cipher.h | 1010 int chacha_keystream(chacha_state *st, unsigned char *out, unsigned long outlen);
|
Completed in 8 milliseconds