Home
last modified time | relevance | path

Searched refs:rc4_stream_setup (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/stream/rc4/
H A Drc4_stream_memory.c24 if ((err = rc4_stream_setup(&st, key, keylen)) != CRYPT_OK) goto WIPE_KEY; in rc4_stream_memory()
H A Drc4_test.c20 if ((err = rc4_stream_setup(&st, key, sizeof(key))) != CRYPT_OK) return err; in rc4_stream_test()
H A Drc4_stream.c15 int rc4_stream_setup(rc4_state *st, const unsigned char *key, unsigned long keylen) in rc4_stream_setup() function
/optee_os/core/lib/libtomcrypt/src/prngs/
H A Drc4.c66 if ((err = rc4_stream_setup(&prng->u.rc4.s, buf, sizeof(buf))) != CRYPT_OK) goto LBL_UNLOCK; in rc4_add_entropy()
99 if ((err = rc4_stream_setup(&prng->u.rc4.s, buf, len)) != CRYPT_OK) goto LBL_UNLOCK; in rc4_ready()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_cipher.h1143 int rc4_stream_setup(rc4_state *st, const unsigned char *key, unsigned long keylen);