Home
last modified time | relevance | path

Searched refs:POLY1305_BLOCK_SIZE (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c28 if (len < POLY1305_BLOCK_SIZE) in chacha_poly1305_tls_init()
30 len -= POLY1305_BLOCK_SIZE; /* discount attached tag */ in chacha_poly1305_tls_init()
42 return POLY1305_BLOCK_SIZE; /* tag length */ in chacha_poly1305_tls_init()
131 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
140 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
141 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
165 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
166 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
185 tail = (0 - i) & (POLY1305_BLOCK_SIZE - 1); in chacha20_poly1305_tls_cipher()
198 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
219 memcpy(ctr, (unsigned char *)&ctx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_tls_cipher() local
353 POLY1305_BLOCK_SIZE); chacha20_poly1305_aead_cipher() local
[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()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c28 if (len < POLY1305_BLOCK_SIZE) in chacha_poly1305_tls_init()
30 len -= POLY1305_BLOCK_SIZE; /* discount attached tag */ in chacha_poly1305_tls_init()
42 return POLY1305_BLOCK_SIZE; /* tag length */ in chacha_poly1305_tls_init()
131 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
140 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
141 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
165 memcpy(tohash, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
166 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
185 tail = (0 - i) & (POLY1305_BLOCK_SIZE - 1); in chacha20_poly1305_tls_cipher()
198 Poly1305_Update(poly, ctx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
219 memcpy(ctr, (unsigned char *)&ctx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_tls_cipher() local
353 POLY1305_BLOCK_SIZE); chacha20_poly1305_aead_cipher() local
[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.c117 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) { in chacha20_poly1305_get_ctx_params()
182 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) { in chacha20_poly1305_set_ctx_params()
/third_party/node/deps/openssl/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()
226 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
236 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
237 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
261 memcpy(tohash, actx->tls_aad, 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()
294 Poly1305_Update(POLY1305_ctx(actx), actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() local
318 memcpy(ctr, (unsigned char *)&actx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_tls_cipher() local
444 (unsigned char *)&actx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_cipher() local
464 Poly1305_Update(POLY1305_ctx(actx), temp, POLY1305_BLOCK_SIZE); chacha20_poly1305_cipher() local
[all...]
/third_party/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()
226 tohash = buf + CHACHA_BLK_SIZE - POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
236 memcpy(tohash, actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher()
237 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
261 memcpy(tohash, actx->tls_aad, 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()
294 Poly1305_Update(POLY1305_ctx(actx), actx->tls_aad, POLY1305_BLOCK_SIZE); in chacha20_poly1305_tls_cipher() local
318 memcpy(ctr, (unsigned char *)&actx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_tls_cipher() local
444 (unsigned char *)&actx->len, POLY1305_BLOCK_SIZE); chacha20_poly1305_cipher() local
464 Poly1305_Update(POLY1305_ctx(actx), temp, POLY1305_BLOCK_SIZE); chacha20_poly1305_cipher() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/
H A Dpoly1305.c69 * poly1305_blocks processes a multiple of POLY1305_BLOCK_SIZE blocks
78 * POLY1305_BLOCK_SIZE and |padbit| to 0. In all other cases |padbit|
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()
485 poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, in Poly1305_Update()
[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()
/third_party/openssl/crypto/poly1305/
H A Dpoly1305.c69 * poly1305_blocks processes a multiple of POLY1305_BLOCK_SIZE blocks
78 * POLY1305_BLOCK_SIZE and |padbit| to 0. In all other cases |padbit|
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()
485 poly1305_blocks(ctx->opaque, ctx->data, POLY1305_BLOCK_SIZE, in Poly1305_Update()
[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()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dpoly1305.h16 #define POLY1305_BLOCK_SIZE 16 macro
33 unsigned char data[POLY1305_BLOCK_SIZE];
/third_party/openssl/include/crypto/
H A Dpoly1305.h16 #define POLY1305_BLOCK_SIZE 16 macro
33 unsigned char data[POLY1305_BLOCK_SIZE];
/third_party/openssl/ohos_lite/include/crypto/
H A Dpoly1305.h12 #define POLY1305_BLOCK_SIZE 16 macro

Completed in 8 milliseconds