Searched refs:CHACHA_CTR_SIZE (Results 1 – 6 of 6) sorted by relevance
27 unsigned int counter[CHACHA_CTR_SIZE / 4];38 const unsigned char iv[CHACHA_CTR_SIZE], int enc) in chacha_init_key() argument49 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()
46 #define CHACHA_CTR_SIZE 16 macro
19 unsigned int counter[CHACHA_CTR_SIZE / 4];
34 for (i = 0; i < CHACHA_CTR_SIZE; i += 4) in chacha20_initiv()
19 #define CHACHA20_IVLEN (CHACHA_CTR_SIZE)
78 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