Lines Matching defs:buffer
341 * @digcnt: Number of bytes processed by HW (without buffer[] ones)
347 * @sgl: sg for joining buffer and req->src scatterlist
352 * @bufcnt: Number of bytes holded in buffer[]
353 * @buffer: For byte(s) from end of req->src in UPDATE op
374 u8 buffer[];
1011 * s5p_hash_copy_sgs() - copy request's bytes into new buffer
1016 * Allocate new buffer, copy data for HASH into it. If there was xmit_buf
1018 * with allocated buffer.
1131 * then either (1) allocates new buffer for data with s5p_hash_copy_sgs, copy
1132 * data into this buffer and prepare request in sgl, or (2) allocates new sg
1235 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src,
1245 memcpy(ctx->dd->xmit_buf, ctx->buffer, ctx->bufcnt);
1259 scatterwalk_map_and_copy(ctx->buffer, req->src,
1272 /* first update didn't fill up buffer */
1499 * If request will fit in buffer, copy it and return immediately
1512 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src,
1534 * previous update op, so there are always some buffered bytes in ctx->buffer,
1555 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer,
1694 * @out: buffer for exported state
1708 * @in: buffer with state to be imported from