Lines Matching refs:POLY1305_BLOCK_SIZE

60 			src += POLY1305_BLOCK_SIZE;  in arm_poly1305_blocks()
61 len -= POLY1305_BLOCK_SIZE; in arm_poly1305_blocks()
64 if (len >= POLY1305_BLOCK_SIZE) { in arm_poly1305_blocks()
69 src += POLY1305_BLOCK_SIZE; in arm_poly1305_blocks()
70 len -= POLY1305_BLOCK_SIZE; in arm_poly1305_blocks()
73 if (len < POLY1305_BLOCK_SIZE) in arm_poly1305_blocks()
77 len &= ~(POLY1305_BLOCK_SIZE - 1); in arm_poly1305_blocks()
89 u32 bytes = min(len, POLY1305_BLOCK_SIZE - dctx->buflen); in arm_poly1305_do_update()
96 if (dctx->buflen == POLY1305_BLOCK_SIZE) { in arm_poly1305_do_update()
98 POLY1305_BLOCK_SIZE, 1, false); in arm_poly1305_do_update()
103 if (likely(len >= POLY1305_BLOCK_SIZE)) { in arm_poly1305_do_update()
105 src += round_down(len, POLY1305_BLOCK_SIZE); in arm_poly1305_do_update()
106 len %= POLY1305_BLOCK_SIZE; in arm_poly1305_do_update()
146 u32 bytes = min(nbytes, POLY1305_BLOCK_SIZE - dctx->buflen); in poly1305_update_arch()
153 if (dctx->buflen == POLY1305_BLOCK_SIZE) { in poly1305_update_arch()
155 POLY1305_BLOCK_SIZE, 1); in poly1305_update_arch()
160 if (likely(nbytes >= POLY1305_BLOCK_SIZE)) { in poly1305_update_arch()
161 unsigned int len = round_down(nbytes, POLY1305_BLOCK_SIZE); in poly1305_update_arch()
178 nbytes %= POLY1305_BLOCK_SIZE; in poly1305_update_arch()
193 POLY1305_BLOCK_SIZE - dctx->buflen); in poly1305_final_arch()
194 poly1305_blocks_arm(&dctx->h, dctx->buf, POLY1305_BLOCK_SIZE, 0); in poly1305_final_arch()
223 .base.cra_blocksize = POLY1305_BLOCK_SIZE,
236 .base.cra_blocksize = POLY1305_BLOCK_SIZE,