Lines Matching refs:GHASH_BLOCK_SIZE
25 #define GHASH_BLOCK_SIZE 16 macro
35 u8 buf[GHASH_BLOCK_SIZE];
58 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_update()
62 if ((partial + len) >= GHASH_BLOCK_SIZE) { in ghash_update()
67 int p = GHASH_BLOCK_SIZE - partial; in ghash_update()
74 blocks = len / GHASH_BLOCK_SIZE; in ghash_update()
75 len %= GHASH_BLOCK_SIZE; in ghash_update()
81 src += blocks * GHASH_BLOCK_SIZE; in ghash_update()
92 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_final()
97 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial); in ghash_final()
115 if (keylen != GHASH_BLOCK_SIZE) { in ghash_setkey()
145 .cra_blocksize = GHASH_BLOCK_SIZE,
283 .cra_blocksize = GHASH_BLOCK_SIZE,