Home
last modified time | relevance | path

Searched refs:chacha20poly1305_encrypt (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/
A Dchacha20poly1305_test.c41 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m, 25, ct)) != CRYPT_OK) re… in chacha20poly1305_test()
42 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m + 25, 10, ct + 25)) != CRYPT_O… in chacha20poly1305_test()
43 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m + 35, 35, ct + 35)) != CRYPT_O… in chacha20poly1305_test()
44 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m + 70, 5, ct + 70)) != CRYPT_O… in chacha20poly1305_test()
45 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m + 75, 5, ct + 75)) != CRYPT_O… in chacha20poly1305_test()
46 …if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m + 80, mlen - 80, ct + 80)) != CRYPT_O… in chacha20poly1305_test()
83 if ((err = chacha20poly1305_encrypt(&st1, rfc7905_pt, 16, ct)) != CRYPT_OK) return err; in chacha20poly1305_test()
105 if ((err = chacha20poly1305_encrypt(&st1, (unsigned char *)m, mlen, ct)) != CRYPT_OK) return err; in chacha20poly1305_test()
A Dchacha20poly1305_encrypt.c16 int chacha20poly1305_encrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl… in chacha20poly1305_encrypt() function
A Dchacha20poly1305_memory.c48 if ((err = chacha20poly1305_encrypt(&st, in, inlen, out)) != CRYPT_OK) { goto LBL_ERR; } in chacha20poly1305_memory()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_mac.h555 int chacha20poly1305_encrypt(chacha20poly1305_state *st, const unsigned char *in, unsigned long inl…

Completed in 5 milliseconds