Lines Matching refs:POLYVAL_BLOCK_SIZE
63 u8 buffer[POLYVAL_BLOCK_SIZE];
68 static void copy_and_reverse(u8 dst[POLYVAL_BLOCK_SIZE], in copy_and_reverse() argument
69 const u8 src[POLYVAL_BLOCK_SIZE]) in copy_and_reverse() argument
84 if (keylen != POLYVAL_BLOCK_SIZE) in polyval_setkey()
89 BUILD_BUG_ON(sizeof(k) != POLYVAL_BLOCK_SIZE); in polyval_setkey()
94 memzero_explicit(&k, POLYVAL_BLOCK_SIZE); in polyval_setkey()
116 u8 tmp[POLYVAL_BLOCK_SIZE]; in polyval_update()
120 crypto_xor(dctx->buffer, tmp, POLYVAL_BLOCK_SIZE); in polyval_update()
122 src += POLYVAL_BLOCK_SIZE; in polyval_update()
123 srclen -= POLYVAL_BLOCK_SIZE; in polyval_update()
124 } while (srclen >= POLYVAL_BLOCK_SIZE); in polyval_update()
135 u8 tmp[POLYVAL_BLOCK_SIZE] = {}; in polyval_finup()
138 polyval_update(desc, tmp, POLYVAL_BLOCK_SIZE); in polyval_finup()
183 .cra_blocksize = POLYVAL_BLOCK_SIZE,