Home
last modified time | relevance | path

Searched refs:CHACHA_CTR_SIZE (Results 1 – 6 of 6) sorted by relevance

/openssl/crypto/evp/
H A De_chacha20_poly1305.c27 unsigned int counter[CHACHA_CTR_SIZE / 4];
38 const unsigned char iv[CHACHA_CTR_SIZE], int enc) in chacha_init_key() argument
49 for (i = 0; i < CHACHA_CTR_SIZE; i+=4) { in chacha_init_key()
132 CHACHA_CTR_SIZE, /* iv_len, 128-bit counter in the context */
183 unsigned char temp[CHACHA_CTR_SIZE] = { 0 }; in chacha20_poly1305_init_key()
186 if (actx->nonce_len <= CHACHA_CTR_SIZE) in chacha20_poly1305_init_key()
187 memcpy(temp + CHACHA_CTR_SIZE - actx->nonce_len, iv, in chacha20_poly1305_init_key()
/openssl/include/crypto/
H A Dchacha.h46 #define CHACHA_CTR_SIZE 16 macro
/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20.h19 unsigned int counter[CHACHA_CTR_SIZE / 4];
H A Dcipher_chacha20_hw.c34 for (i = 0; i < CHACHA_CTR_SIZE; i += 4) in chacha20_initiv()
H A Dcipher_chacha20.c19 #define CHACHA20_IVLEN (CHACHA_CTR_SIZE)
H A Dcipher_chacha20_poly1305_hw.c78 unsigned char tempiv[CHACHA_CTR_SIZE] = { 0 }; in chacha20_poly1305_initiv()
89 memcpy(tempiv + CHACHA_CTR_SIZE - noncelen, bctx->oiv, in chacha20_poly1305_initiv()

Completed in 9 milliseconds