Searched refs:chacha_crypt (Results 1 – 7 of 7) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_test.c | 41 …if ((err = chacha_crypt(&st, (unsigned char*)pt, 35, out )) != CRYPT_OK) return err; in chacha_test() 42 …if ((err = chacha_crypt(&st, (unsigned char*)pt + 35, 35, out + 35)) != CRYPT_OK) return err; in chacha_test() 43 …if ((err = chacha_crypt(&st, (unsigned char*)pt + 70, 5, out + 70)) != CRYPT_OK) return err; in chacha_test() 44 …if ((err = chacha_crypt(&st, (unsigned char*)pt + 75, 5, out + 75)) != CRYPT_OK) return err; in chacha_test() 45 …if ((err = chacha_crypt(&st, (unsigned char*)pt + 80, len - 80, out + 80)) != CRYPT_OK) return err; in chacha_test() 51 …if ((err = chacha_crypt(&st, (unsigned char*)pt, len, out)) != CRYPT_OK) return err; in chacha_test() 57 …if ((err = chacha_crypt(&st, (unsigned char*)pt, len, out)) != CRYPT_OK) return err; in chacha_test()
|
A D | chacha_keystream.c | 25 return chacha_crypt(st, out, outlen, out); in chacha_keystream()
|
A D | chacha_memory.c | 35 err = chacha_crypt(&st, datain, datalen, dataout); in chacha_memory()
|
A D | chacha_crypt.c | 48 int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen, unsigned char *out) in chacha_crypt() function
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_encrypt.c | 24 if ((err = chacha_crypt(&st->chacha, in, inlen, out)) != CRYPT_OK) return err; in chacha20poly1305_encrypt()
|
A D | chacha20poly1305_decrypt.c | 33 if ((err = chacha_crypt(&st->chacha, in, inlen, out)) != CRYPT_OK) return err; in chacha20poly1305_decrypt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_cipher.h | 1021 int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen, unsigned char *out…
|
Completed in 8 milliseconds