POLY1305_BLOCK_SIZE 54 arch/x86/crypto/poly1305_glue.c u8 m[POLY1305_BLOCK_SIZE]; POLY1305_BLOCK_SIZE 79 arch/x86/crypto/poly1305_glue.c if (poly1305_use_avx2 && srclen >= POLY1305_BLOCK_SIZE * 4) { POLY1305_BLOCK_SIZE 92 arch/x86/crypto/poly1305_glue.c blocks = srclen / (POLY1305_BLOCK_SIZE * 4); POLY1305_BLOCK_SIZE 95 arch/x86/crypto/poly1305_glue.c src += POLY1305_BLOCK_SIZE * 4 * blocks; POLY1305_BLOCK_SIZE 96 arch/x86/crypto/poly1305_glue.c srclen -= POLY1305_BLOCK_SIZE * 4 * blocks; POLY1305_BLOCK_SIZE 99 arch/x86/crypto/poly1305_glue.c if (likely(srclen >= POLY1305_BLOCK_SIZE * 2)) { POLY1305_BLOCK_SIZE 105 arch/x86/crypto/poly1305_glue.c blocks = srclen / (POLY1305_BLOCK_SIZE * 2); POLY1305_BLOCK_SIZE 108 arch/x86/crypto/poly1305_glue.c src += POLY1305_BLOCK_SIZE * 2 * blocks; POLY1305_BLOCK_SIZE 109 arch/x86/crypto/poly1305_glue.c srclen -= POLY1305_BLOCK_SIZE * 2 * blocks; POLY1305_BLOCK_SIZE 111 arch/x86/crypto/poly1305_glue.c if (srclen >= POLY1305_BLOCK_SIZE) { POLY1305_BLOCK_SIZE 113 arch/x86/crypto/poly1305_glue.c srclen -= POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 131 arch/x86/crypto/poly1305_glue.c bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen); POLY1305_BLOCK_SIZE 137 arch/x86/crypto/poly1305_glue.c if (dctx->buflen == POLY1305_BLOCK_SIZE) { POLY1305_BLOCK_SIZE 139 arch/x86/crypto/poly1305_glue.c POLY1305_BLOCK_SIZE); POLY1305_BLOCK_SIZE 144 arch/x86/crypto/poly1305_glue.c if (likely(srclen >= POLY1305_BLOCK_SIZE)) { POLY1305_BLOCK_SIZE 170 arch/x86/crypto/poly1305_glue.c .cra_blocksize = POLY1305_BLOCK_SIZE, POLY1305_BLOCK_SIZE 53 crypto/adiantum.c #define HASH_KEY_SIZE (POLY1305_BLOCK_SIZE + NHPOLY1305_KEY_SIZE) POLY1305_BLOCK_SIZE 178 crypto/adiantum.c keyp += POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 243 crypto/adiantum.c BUILD_BUG_ON(sizeof(header) % POLY1305_BLOCK_SIZE != 0); POLY1305_BLOCK_SIZE 245 crypto/adiantum.c &header, sizeof(header) / POLY1305_BLOCK_SIZE); POLY1305_BLOCK_SIZE 247 crypto/adiantum.c BUILD_BUG_ON(TWEAK_SIZE % POLY1305_BLOCK_SIZE != 0); POLY1305_BLOCK_SIZE 249 crypto/adiantum.c TWEAK_SIZE / POLY1305_BLOCK_SIZE); POLY1305_BLOCK_SIZE 37 crypto/chacha20poly1305.c u8 pad[POLY1305_BLOCK_SIZE]; POLY1305_BLOCK_SIZE 209 crypto/chacha20poly1305.c padlen = -rctx->cryptlen % POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 268 crypto/chacha20poly1305.c padlen = -rctx->assoclen % POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 78 crypto/nhpoly1305.c BUILD_BUG_ON(NH_HASH_BYTES % POLY1305_BLOCK_SIZE != 0); POLY1305_BLOCK_SIZE 81 crypto/nhpoly1305.c NH_HASH_BYTES / POLY1305_BLOCK_SIZE); POLY1305_BLOCK_SIZE 134 crypto/nhpoly1305.c key += POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 70 crypto/poly1305_generic.c if (!dctx->rset && srclen >= POLY1305_BLOCK_SIZE) { POLY1305_BLOCK_SIZE 72 crypto/poly1305_generic.c src += POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 73 crypto/poly1305_generic.c srclen -= POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 76 crypto/poly1305_generic.c if (srclen >= POLY1305_BLOCK_SIZE) { POLY1305_BLOCK_SIZE 81 crypto/poly1305_generic.c src += POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 82 crypto/poly1305_generic.c srclen -= POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 148 crypto/poly1305_generic.c src += POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 178 crypto/poly1305_generic.c src, srclen / POLY1305_BLOCK_SIZE, hibit); POLY1305_BLOCK_SIZE 188 crypto/poly1305_generic.c bytes = min(srclen, POLY1305_BLOCK_SIZE - dctx->buflen); POLY1305_BLOCK_SIZE 194 crypto/poly1305_generic.c if (dctx->buflen == POLY1305_BLOCK_SIZE) { POLY1305_BLOCK_SIZE 196 crypto/poly1305_generic.c POLY1305_BLOCK_SIZE, 1 << 24); POLY1305_BLOCK_SIZE 201 crypto/poly1305_generic.c if (likely(srclen >= POLY1305_BLOCK_SIZE)) { POLY1305_BLOCK_SIZE 203 crypto/poly1305_generic.c src += srclen - (srclen % POLY1305_BLOCK_SIZE); POLY1305_BLOCK_SIZE 204 crypto/poly1305_generic.c srclen %= POLY1305_BLOCK_SIZE; POLY1305_BLOCK_SIZE 276 crypto/poly1305_generic.c POLY1305_BLOCK_SIZE - dctx->buflen); POLY1305_BLOCK_SIZE 277 crypto/poly1305_generic.c poly1305_blocks(dctx, dctx->buf, POLY1305_BLOCK_SIZE, 0); POLY1305_BLOCK_SIZE 306 crypto/poly1305_generic.c .cra_blocksize = POLY1305_BLOCK_SIZE, POLY1305_BLOCK_SIZE 33 include/crypto/nhpoly1305.h #define NHPOLY1305_KEY_SIZE (POLY1305_BLOCK_SIZE + NH_KEY_BYTES) POLY1305_BLOCK_SIZE 32 include/crypto/poly1305.h u8 buf[POLY1305_BLOCK_SIZE];