Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/chacha/
A Dchacha_test.c39 …if ((err = chacha_setup(&st, k, sizeof(k), 20)) != CRYPT_OK) return err; in chacha_test()
49 …if ((err = chacha_setup(&st, k, sizeof(k), 20)) != CRYPT_OK) return err; in chacha_test()
55 …if ((err = chacha_setup(&st, k, sizeof(k), 20)) != CRYPT_OK) return err; in chacha_test()
A Dchacha_memory.c29 if ((err = chacha_setup(&st, key, keylen, rounds)) != CRYPT_OK) goto WIPE_KEY; in chacha_memory()
A Dchacha_setup.c24 int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keylen, int rounds) in chacha_setup() function
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_init.c17 return chacha_setup(&st->chacha, key, keylen, 20); in chacha20poly1305_init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Dchacha20.c64 if ((err = chacha_setup(&prng->u.chacha.s, buf, 32, 20)) != CRYPT_OK) goto LBL_UNLOCK; in chacha20_prng_add_entropy()
94 …if ((err = chacha_setup(&prng->u.chacha.s, prng->u.chacha.ent, 32, 20)) != CRYPT_OK) goto LBL… in chacha20_prng_ready()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_cipher.h1018 int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keylen, int rounds);

Completed in 7 milliseconds