Searched refs:GHASH_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
39 if (keylen != GHASH_BLOCK_SIZE) { in ghash_setkey()47 BUILD_BUG_ON(sizeof(k) != GHASH_BLOCK_SIZE); in ghash_setkey()48 memcpy(&k, key, GHASH_BLOCK_SIZE); /* avoid violating alignment rules */ in ghash_setkey()50 memzero_explicit(&k, GHASH_BLOCK_SIZE); in ghash_setkey()67 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update()79 while (srclen >= GHASH_BLOCK_SIZE) { in ghash_update()80 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()82 src += GHASH_BLOCK_SIZE; in ghash_update()83 srclen -= GHASH_BLOCK_SIZE; in ghash_update()87 dctx->bytes = GHASH_BLOCK_SIZE - srclen; in ghash_update()[all …]
12 #define GHASH_BLOCK_SIZE 16 macro20 u8 buffer[GHASH_BLOCK_SIZE];