Lines Matching defs:buffer
340 * @digcnt: Number of bytes processed by HW (without buffer[] ones)
346 * @sgl: sg for joining buffer and req->src scatterlist
351 * @bufcnt: Number of bytes holded in buffer[]
352 * @buffer: For byte(s) from end of req->src in UPDATE op
373 u8 buffer[];
1014 * s5p_hash_copy_sgs() - copy request's bytes into new buffer
1019 * Allocate new buffer, copy data for HASH into it. If there was xmit_buf
1021 * with allocated buffer.
1134 * then either (1) allocates new buffer for data with s5p_hash_copy_sgs, copy
1135 * data into this buffer and prepare request in sgl, or (2) allocates new sg
1238 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src,
1248 memcpy(ctx->dd->xmit_buf, ctx->buffer, ctx->bufcnt);
1262 scatterwalk_map_and_copy(ctx->buffer, req->src,
1275 /* first update didn't fill up buffer */
1502 * If request will fit in buffer, copy it and return immediately
1515 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, req->src,
1537 * previous update op, so there are always some buffered bytes in ctx->buffer,
1558 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer,
1697 * @out: buffer for exported state
1711 * @in: buffer with state to be imported from