Lines Matching refs:nbuf
874 unsigned int nbuf;
886 unsigned int nbuf;
1731 if (is_sec1 && req_ctx->nbuf)
1756 req_ctx->nbuf = req_ctx->to_hash_later;
1821 if (is_sec1 && req_ctx->nbuf)
1822 length -= req_ctx->nbuf;
1833 if (is_sec1 && req_ctx->nbuf) {
1834 map_single_talitos_ptr(dev, &desc->ptr[3], req_ctx->nbuf,
1862 if (is_sec1 && req_ctx->nbuf && length) {
1922 nbytes -= req_ctx->nbuf;
1939 req_ctx->nbuf = 0;
1998 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) {
2006 ctx_buf + req_ctx->nbuf, nbytes);
2007 req_ctx->nbuf += nbytes;
2012 nbytes_to_hash = nbytes + req_ctx->nbuf;
2027 if (!is_sec1 && req_ctx->nbuf) {
2028 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1;
2030 sg_set_buf(req_ctx->bufsl, ctx_buf, req_ctx->nbuf);
2034 } else if (is_sec1 && req_ctx->nbuf && req_ctx->nbuf < blocksize) {
2038 offset = blocksize - req_ctx->nbuf;
2040 offset = nbytes_to_hash - req_ctx->nbuf;
2047 ctx_buf + req_ctx->nbuf, offset);
2048 req_ctx->nbuf += offset;
2146 memcpy(export->buf, req_ctx->buf[req_ctx->buf_idx], req_ctx->nbuf);
2151 export->nbuf = req_ctx->nbuf;
2172 memcpy(req_ctx->buf[0], export->buf, export->nbuf);
2177 req_ctx->nbuf = export->nbuf;