Lines Matching refs:rem
77 size_t num, rem; in keccak_update() local
85 rem = bsz - num; in keccak_update()
87 if (len < rem) { in keccak_update()
93 memcpy(ctx->buf + num, inp, rem); in keccak_update()
95 inp += rem; in keccak_update()
96 len -= rem; in keccak_update()
101 rem = ctx->meth.absorb(ctx, inp, len); in keccak_update()
103 if (rem) { in keccak_update()
104 memcpy(ctx->buf, inp + len - rem, rem); in keccak_update()
105 ctx->bufsz = rem; in keccak_update()
195 size_t rem = len % ctx->block_size; in s390x_sha3_absorb() local
201 if (len - rem > 0) { in s390x_sha3_absorb()
205 s390x_kimd(inp, len - rem, fc, ctx->A); in s390x_sha3_absorb()
207 return rem; in s390x_sha3_absorb()