Home
last modified time | relevance | path

Searched refs:chacha_ivctr64 (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_setiv.c39 if ((err = chacha_ivctr64(&st->chacha, iv, ivlen, 1)) != CRYPT_OK) return err; in chacha20poly1305_setiv()
52 if ((err = chacha_ivctr64(&tmp_st, iv, ivlen, 0)) != CRYPT_OK) return err; in chacha20poly1305_setiv()
/optee_os/core/lib/libtomcrypt/src/stream/chacha/
A Dchacha_ivctr64.c28 int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counter) in chacha_ivctr64() function
A Dchacha_memory.c40 if ((err = chacha_ivctr64(&st, iv, ivlen, counter)) != CRYPT_OK) goto WIPE_KEY; in chacha_memory()
A Dchacha_test.c63 …if ((err = chacha_ivctr64(&st, n + 4, sizeof(n) - 4, 1)) != CRYPT_OK) return err; in chacha_test()
/optee_os/core/lib/libtomcrypt/src/prngs/
A Dchacha20.c73 if ((err = chacha_ivctr64(&prng->u.chacha.s, buf + 32, 8, 0)) != CRYPT_OK) goto LBL_UNLOCK; in chacha20_prng_add_entropy()
103 …if ((err = chacha_ivctr64(&prng->u.chacha.s, prng->u.chacha.ent + 32, 8, 0)) != CRYPT_OK) goto LBL… in chacha20_prng_ready()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1008 int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivlen, ulong64 counter);

Completed in 8 milliseconds