Home
last modified time | relevance | path

Searched refs:POLY1305_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c28 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 …]
H A Dcipher_chacha20_poly1305.h23 unsigned char tag[POLY1305_BLOCK_SIZE];
24 unsigned char tls_aad[POLY1305_BLOCK_SIZE];
H A Dcipher_chacha20_poly1305.c137 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()
/openssl/crypto/evp/
H A De_chacha20_poly1305.c156 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 …]
/openssl/crypto/poly1305/
H A Dpoly1305.c165 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 …]
H A Dpoly1305_base2_44.c29 #define POLY1305_BLOCK_SIZE 16 macro
102 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()
126 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()
127 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()
/openssl/include/crypto/
H A Dpoly1305.h16 #define POLY1305_BLOCK_SIZE 16 macro
33 unsigned char data[POLY1305_BLOCK_SIZE];
/openssl/doc/man3/
H A DEVP_EncryptInit.pod1557 C<taglen> specified here must be 16 (B<POLY1305_BLOCK_SIZE>, i.e. 128-bits) or
1564 C<taglen> must be between 1 and 16 (B<POLY1305_BLOCK_SIZE>) inclusive.

Completed in 43 milliseconds