Home
last modified time | relevance | path

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

/third_party/openssl/crypto/evp/
De_chacha20_poly1305.c154 unsigned char tag[POLY1305_BLOCK_SIZE];
155 unsigned char tls_aad[POLY1305_BLOCK_SIZE];
219 if (len != plen + POLY1305_BLOCK_SIZE) in chacha20_poly1305_tls_cipher()
224 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
234 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
235 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
259 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
260 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
279 tail = (0 - i) & (POLY1305_BLOCK_SIZE - 1); in chacha20_poly1305_tls_cipher()
292 Poly1305_Update(POLY1305_ctx(actx), actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
[all …]
/third_party/openssl/crypto/poly1305/
Dpoly1305.c167 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()
206 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()
207 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()
315 while (len >= POLY1305_BLOCK_SIZE) { in poly1305_blocks()
370 inp += POLY1305_BLOCK_SIZE; in poly1305_blocks()
371 len -= POLY1305_BLOCK_SIZE; in poly1305_blocks()
484 rem = POLY1305_BLOCK_SIZE - num; in Poly1305_Update()
487 poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, 1); in Poly1305_Update()
498 rem = len % POLY1305_BLOCK_SIZE; in Poly1305_Update()
501 if (len >= POLY1305_BLOCK_SIZE) { in Poly1305_Update()
[all …]
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()
Dpoly1305_local.h21 unsigned char data[POLY1305_BLOCK_SIZE];
/third_party/openssl/include/crypto/
Dpoly1305.h12 #define POLY1305_BLOCK_SIZE 16 macro
/third_party/openssl/doc/man3/
DEVP_EncryptInit.pod458 C<taglen> specified here must be 16 (B<POLY1305_BLOCK_SIZE>, i.e. 128-bits) or
465 C<taglen> must be between 1 and 16 (B<POLY1305_BLOCK_SIZE>) inclusive.