Lines Matching refs:GHASH_BLOCK_SIZE
16 #define GHASH_BLOCK_SIZE 16 macro
20 u8 key[GHASH_BLOCK_SIZE];
24 u8 icv[GHASH_BLOCK_SIZE];
25 u8 key[GHASH_BLOCK_SIZE];
26 u8 buffer[GHASH_BLOCK_SIZE];
36 memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE); in ghash_init()
46 if (keylen != GHASH_BLOCK_SIZE) in ghash_setkey()
49 memcpy(ctx->key, key, GHASH_BLOCK_SIZE); in ghash_setkey()
62 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update()
73 GHASH_BLOCK_SIZE); in ghash_update()
77 n = srclen & ~(GHASH_BLOCK_SIZE - 1); in ghash_update()
85 dctx->bytes = GHASH_BLOCK_SIZE - srclen; in ghash_update()
97 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_flush()
100 cpacf_kimd(CPACF_KIMD_GHASH, dctx, buf, GHASH_BLOCK_SIZE); in ghash_flush()
114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
129 .cra_blocksize = GHASH_BLOCK_SIZE,