Searched refs:CHACHA_BLK_SIZE (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/crypto/openssl/include/crypto/
H A Dchacha.h40 #define CHACHA_BLK_SIZE 64 macro
/freebsd-12-stable/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c27 unsigned char buf[CHACHA_BLK_SIZE];
64 while (len && n < CHACHA_BLK_SIZE) {
73 if (n == CHACHA_BLK_SIZE) {
81 rem = (unsigned int)(len % CHACHA_BLK_SIZE);
84 while (len >= CHACHA_BLK_SIZE) {
85 size_t blocks = len / CHACHA_BLK_SIZE;
105 blocks *= CHACHA_BLK_SIZE;
117 ChaCha20_ctr32(key->buf, key->buf, CHACHA_BLK_SIZE,
207 static const unsigned char zero[4 * CHACHA_BLK_SIZE] = { 0 };
209 static const unsigned char zero[2 * CHACHA_BLK_SIZE]
[all...]

Completed in 63 milliseconds