/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 28 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 D | cipher_chacha20_poly1305.h | 23 unsigned char tag[POLY1305_BLOCK_SIZE]; 24 unsigned char tls_aad[POLY1305_BLOCK_SIZE];
|
H A D | cipher_chacha20_poly1305.c | 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()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_poly1305_hw.c | 28 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 D | cipher_chacha20_poly1305.h | 23 unsigned char tag[POLY1305_BLOCK_SIZE]; 24 unsigned char tls_aad[POLY1305_BLOCK_SIZE];
|
H A D | cipher_chacha20_poly1305.c | 117 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 D | e_chacha20_poly1305.c | 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() 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 D | e_chacha20_poly1305.c | 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() 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 D | poly1305.c | 69 * 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 D | poly1305_base2_44.c | 29 #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 D | poly1305.c | 69 * 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 D | poly1305_base2_44.c | 29 #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 D | poly1305.h | 16 #define POLY1305_BLOCK_SIZE 16 macro 33 unsigned char data[POLY1305_BLOCK_SIZE];
|
/third_party/openssl/include/crypto/ |
H A D | poly1305.h | 16 #define POLY1305_BLOCK_SIZE 16 macro 33 unsigned char data[POLY1305_BLOCK_SIZE];
|
/third_party/openssl/ohos_lite/include/crypto/ |
H A D | poly1305.h | 12 #define POLY1305_BLOCK_SIZE 16 macro
|