Lines Matching refs:rem
78 size_t num, rem; in keccak_update() local
86 rem = bsz - num; in keccak_update()
88 if (len < rem) { in keccak_update()
94 memcpy(ctx->buf + num, inp, rem); in keccak_update()
96 inp += rem; in keccak_update()
97 len -= rem; in keccak_update()
102 rem = ctx->meth.absorb(ctx, inp, len); in keccak_update()
104 if (rem) { in keccak_update()
105 memcpy(ctx->buf, inp + len - rem, rem); in keccak_update()
106 ctx->bufsz = rem; in keccak_update()
196 size_t rem = len % ctx->block_size; in s390x_sha3_absorb() local
202 if (len - rem > 0) { in s390x_sha3_absorb()
206 s390x_kimd(inp, len - rem, fc, ctx->A); in s390x_sha3_absorb()
208 return rem; in s390x_sha3_absorb()