Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/encauth/chachapoly/
H A Dchacha20poly1305_test.c38 if ((err = chacha20poly1305_setiv(&st1, i12, sizeof(i12))) != CRYPT_OK) return err; in chacha20poly1305_test()
55 if ((err = chacha20poly1305_setiv(&st2, i12, sizeof(i12))) != CRYPT_OK) return err; in chacha20poly1305_test()
103 if ((err = chacha20poly1305_setiv(&st1, i8, sizeof(i8))) != CRYPT_OK) return err; in chacha20poly1305_test()
111 if ((err = chacha20poly1305_setiv(&st2, i8, sizeof(i8))) != CRYPT_OK) return err; in chacha20poly1305_test()
H A Dchacha20poly1305_setiv_rfc7905.c27 return chacha20poly1305_setiv(st, combined_iv, 12); in chacha20poly1305_setiv_rfc7905()
H A Dchacha20poly1305_setiv.c15 int chacha20poly1305_setiv(chacha20poly1305_state *st, const unsigned char *iv, unsigned long ivlen) in chacha20poly1305_setiv() function
H A Dchacha20poly1305_memory.c43 if ((err = chacha20poly1305_setiv(&st, iv, ivlen)) != CRYPT_OK) { goto LBL_ERR; } in chacha20poly1305_memory()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_mac.h551 int chacha20poly1305_setiv(chacha20poly1305_state *st, const unsigned char *iv, unsigned long ivlen…