Searched refs:POLY1305_DIGEST_SIZE (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/lib/crypto/ |
D | chacha20poly1305.c | 134 u8 mac[POLY1305_DIGEST_SIZE]; in __chacha20poly1305_decrypt() 138 if (unlikely(src_len < POLY1305_DIGEST_SIZE)) in __chacha20poly1305_decrypt() 148 dst_len = src_len - POLY1305_DIGEST_SIZE; in __chacha20poly1305_decrypt() 159 ret = crypto_memneq(b.mac, src + dst_len, POLY1305_DIGEST_SIZE); in __chacha20poly1305_decrypt() 231 u8 mac[2][POLY1305_DIGEST_SIZE]; in chacha20poly1305_crypt_sg_inplace() 304 if (likely(sl <= -POLY1305_DIGEST_SIZE)) { in chacha20poly1305_crypt_sg_inplace() 313 POLY1305_DIGEST_SIZE); in chacha20poly1305_crypt_sg_inplace() 319 if (unlikely(sl > -POLY1305_DIGEST_SIZE)) { in chacha20poly1305_crypt_sg_inplace() 324 !crypto_memneq(b.mac[0], b.mac[1], POLY1305_DIGEST_SIZE); in chacha20poly1305_crypt_sg_inplace() 348 if (unlikely(src_len < POLY1305_DIGEST_SIZE)) in chacha20poly1305_decrypt_sg_inplace() [all …]
|
D | chacha20poly1305-selftest.c | 8914 POLY1305_DIGEST_SIZE)) { in chacha20poly1305_selftest() 8927 chacha20poly1305_enc_vectors[i].ilen + POLY1305_DIGEST_SIZE); in chacha20poly1305_selftest() 8937 POLY1305_DIGEST_SIZE)) { in chacha20poly1305_selftest() 8958 POLY1305_DIGEST_SIZE))) { in chacha20poly1305_selftest() 8980 POLY1305_DIGEST_SIZE))) { in chacha20poly1305_selftest() 8999 POLY1305_DIGEST_SIZE)) { in chacha20poly1305_selftest() 9020 POLY1305_DIGEST_SIZE))) { in chacha20poly1305_selftest() 9027 for (total_len = POLY1305_DIGEST_SIZE; IS_ENABLED(DEBUG_CHACHA20POLY1305_SLOW_CHUNK_TEST) in chacha20poly1305_selftest() 9044 total_len - POLY1305_DIGEST_SIZE, NULL, 0, in chacha20poly1305_selftest() 9049 total_len - POLY1305_DIGEST_SIZE, NULL, 0, 0, in chacha20poly1305_selftest() [all …]
|
/linux-6.1.9/arch/x86/crypto/ |
D | poly1305_glue.c | 22 asmlinkage void poly1305_emit_x86_64(void *ctx, u8 mac[POLY1305_DIGEST_SIZE], 24 asmlinkage void poly1305_emit_avx(void *ctx, u8 mac[POLY1305_DIGEST_SIZE], 123 static void poly1305_simd_emit(void *ctx, u8 mac[POLY1305_DIGEST_SIZE], in poly1305_simd_emit() argument 246 .digestsize = POLY1305_DIGEST_SIZE,
|
D | nhpoly1305-avx2-glue.c | 50 .digestsize = POLY1305_DIGEST_SIZE,
|
D | nhpoly1305-sse2-glue.c | 50 .digestsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/crypto/ |
D | chacha20poly1305.c | 57 u8 tag[POLY1305_DIGEST_SIZE]; 456 rctx->cryptlen = req->cryptlen - POLY1305_DIGEST_SIZE; in chachapoly_decrypt() 494 if (authsize != POLY1305_DIGEST_SIZE) in chachapoly_setauthsize() 591 if (poly->digestsize != POLY1305_DIGEST_SIZE) in chachapoly_create() 619 inst->alg.maxauthsize = POLY1305_DIGEST_SIZE; in chachapoly_create()
|
D | poly1305_generic.c | 118 .digestsize = POLY1305_DIGEST_SIZE,
|
D | nhpoly1305.c | 230 .digestsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/arch/arm/crypto/ |
D | nhpoly1305-neon-glue.c | 50 .digestsize = POLY1305_DIGEST_SIZE,
|
D | poly1305-glue.c | 217 .digestsize = POLY1305_DIGEST_SIZE, 230 .digestsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/arch/arm64/crypto/ |
D | nhpoly1305-neon-glue.c | 50 .digestsize = POLY1305_DIGEST_SIZE,
|
D | poly1305-glue.c | 199 .digestsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/include/crypto/ |
D | poly1305.h | 14 #define POLY1305_DIGEST_SIZE 16 macro
|
/linux-6.1.9/arch/mips/crypto/ |
D | poly1305-glue.c | 164 .digestsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 2890 if (authsize != POLY1305_DIGEST_SIZE) in safexcel_aead_chachapoly_setauthsize() 2913 req->cryptlen > POLY1305_DIGEST_SIZE)) { in safexcel_aead_chachapoly_crypt() 3011 .maxauthsize = POLY1305_DIGEST_SIZE, 3051 .maxauthsize = POLY1305_DIGEST_SIZE,
|
/linux-6.1.9/drivers/crypto/caam/ |
D | caamalg.c | 552 if (authsize != POLY1305_DIGEST_SIZE) in chachapoly_setauthsize() 3315 .maxauthsize = POLY1305_DIGEST_SIZE, 3338 .maxauthsize = POLY1305_DIGEST_SIZE,
|
D | caamalg_qi2.c | 625 if (authsize != POLY1305_DIGEST_SIZE) in chachapoly_setauthsize() 2921 .maxauthsize = POLY1305_DIGEST_SIZE, 2944 .maxauthsize = POLY1305_DIGEST_SIZE,
|