Lines Matching refs:GHASH_BLOCK_SIZE
27 #define GHASH_BLOCK_SIZE 16 macro
37 u8 buf[GHASH_BLOCK_SIZE];
69 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_update()
73 if ((partial + len) >= GHASH_BLOCK_SIZE) { in ghash_update()
78 int p = GHASH_BLOCK_SIZE - partial; in ghash_update()
85 blocks = len / GHASH_BLOCK_SIZE; in ghash_update()
86 len %= GHASH_BLOCK_SIZE; in ghash_update()
92 src += blocks * GHASH_BLOCK_SIZE; in ghash_update()
103 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_final()
108 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial); in ghash_final()
126 if (keylen != GHASH_BLOCK_SIZE) { in ghash_setkey()
156 .cra_blocksize = GHASH_BLOCK_SIZE,
312 .cra_blocksize = GHASH_BLOCK_SIZE,