Searched refs:POLY1305_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance
28 if (len < POLY1305_BLOCK_SIZE) in chacha_poly1305_tls_init()141 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()166 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()239 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()251 if (len > POLY1305_BLOCK_SIZE) in chacha20_poly1305_tls_cipher()253 len - POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()257 len -= POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()281 if (inl != plen + POLY1305_BLOCK_SIZE) in chacha20_poly1305_aead_cipher()340 unsigned char temp[POLY1305_BLOCK_SIZE]; in chacha20_poly1305_aead_cipher()353 POLY1305_BLOCK_SIZE); in chacha20_poly1305_aead_cipher()[all …]
23 unsigned char tag[POLY1305_BLOCK_SIZE];24 unsigned char tls_aad[POLY1305_BLOCK_SIZE];
137 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) { in chacha20_poly1305_get_ctx_params()202 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) { in chacha20_poly1305_set_ctx_params()
156 unsigned char tag[POLY1305_BLOCK_SIZE];157 unsigned char tls_aad[POLY1305_BLOCK_SIZE];221 if (len != plen + POLY1305_BLOCK_SIZE) in chacha20_poly1305_tls_cipher()237 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()262 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()281 tail = (0 - i) & (POLY1305_BLOCK_SIZE - 1); in chacha20_poly1305_tls_cipher()338 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()353 len - POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()429 unsigned char temp[POLY1305_BLOCK_SIZE]; in chacha20_poly1305_cipher()555 if (arg <= 0 || arg > POLY1305_BLOCK_SIZE) in chacha20_poly1305_ctrl()[all …]
165 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()204 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()205 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()313 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()368 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()369 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()482 rem = POLY1305_BLOCK_SIZE - num; in Poly1305_Update()496 rem = len % POLY1305_BLOCK_SIZE; in Poly1305_Update()499 if (len >= POLY1305_BLOCK_SIZE) { in Poly1305_Update()520 while (num < POLY1305_BLOCK_SIZE) in Poly1305_Final()[all …]
29 #define POLY1305_BLOCK_SIZE 16 macro102 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()126 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()127 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()
16 #define POLY1305_BLOCK_SIZE 16 macro33 unsigned char data[POLY1305_BLOCK_SIZE];
1557 C<taglen> specified here must be 16 (B<POLY1305_BLOCK_SIZE>, i.e. 128-bits) or1564 C<taglen> must be between 1 and 16 (B<POLY1305_BLOCK_SIZE>) inclusive.
Completed in 28 milliseconds