Lines Matching refs:POLY1305_BLOCK_SIZE
56 src += POLY1305_BLOCK_SIZE;
57 len -= POLY1305_BLOCK_SIZE;
60 if (len >= POLY1305_BLOCK_SIZE) {
65 src += POLY1305_BLOCK_SIZE;
66 len -= POLY1305_BLOCK_SIZE;
69 if (len < POLY1305_BLOCK_SIZE)
73 len &= ~(POLY1305_BLOCK_SIZE - 1);
85 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen);
92 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
94 POLY1305_BLOCK_SIZE, 1, false);
99 if (likely(len >= POLY1305_BLOCK_SIZE)) {
101 src += round_down(len, POLY1305_BLOCK_SIZE);
102 len %= POLY1305_BLOCK_SIZE;
129 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen);
136 if (dctx->buflen == POLY1305_BLOCK_SIZE) {
137 poly1305_blocks(&dctx->h, dctx->buf, POLY1305_BLOCK_SIZE, 1);
142 if (likely(nbytes >= POLY1305_BLOCK_SIZE)) {
143 unsigned int len = round_down(nbytes, POLY1305_BLOCK_SIZE);
160 nbytes %= POLY1305_BLOCK_SIZE;
175 POLY1305_BLOCK_SIZE - dctx->buflen);
176 poly1305_blocks(&dctx->h, dctx->buf, POLY1305_BLOCK_SIZE, 0);
205 .base.cra_blocksize = POLY1305_BLOCK_SIZE,