Lines Matching refs:bytes
26 u32 bytes; member
63 if (dctx->bytes) { in ghash_update()
64 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update()
66 n = min(srclen, dctx->bytes); in ghash_update()
67 dctx->bytes -= n; in ghash_update()
73 if (!dctx->bytes) { in ghash_update()
91 dctx->bytes = GHASH_BLOCK_SIZE - srclen; in ghash_update()
103 if (dctx->bytes) { in ghash_flush()
104 u8 *pos = buf + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_flush()
106 memset(pos, 0, dctx->bytes); in ghash_flush()
112 dctx->bytes = 0; in ghash_flush()