Lines Matching refs:GHASH_BLOCK_SIZE
23 #define GHASH_BLOCK_SIZE 16 macro
31 u8 buffer[GHASH_BLOCK_SIZE];
49 if (keylen != GHASH_BLOCK_SIZE) { in ghash_setkey()
75 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update()
87 while (srclen >= GHASH_BLOCK_SIZE) { in ghash_update()
88 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
90 src += GHASH_BLOCK_SIZE; in ghash_update()
91 srclen -= GHASH_BLOCK_SIZE; in ghash_update()
95 dctx->bytes = GHASH_BLOCK_SIZE - srclen; in ghash_update()
108 u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_flush()
129 memcpy(dst, buf, GHASH_BLOCK_SIZE); in ghash_final()
153 .cra_blocksize = GHASH_BLOCK_SIZE,