Lines Matching defs:inp
68 static int keccak_update(void *vctx, const unsigned char *inp, size_t len)
83 memcpy(ctx->buf + num, inp, len);
88 memcpy(ctx->buf + num, inp, rem);
90 inp += rem;
96 rem = ctx->meth.absorb(ctx, inp, len);
99 memcpy(ctx->buf, inp + len - rem, rem);
123 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len)
127 return SHA3_absorb(ctx->A, inp, len, ctx->block_size);
150 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len)
155 s390x_kimd(inp, len - rem, ctx->pad, ctx->A);