'\" t .\" Title: ahash_request_set_crypt .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Programming Interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "AHASH_REQUEST_SET_CR" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Programming Interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ahash_request_set_crypt \- set data buffers .SH "SYNOPSIS" .HP \w'void\ ahash_request_set_crypt('u .BI "void ahash_request_set_crypt(struct\ ahash_request\ *\ " "req" ", struct\ scatterlist\ *\ " "src" ", u8\ *\ " "result" ", unsigned\ int\ " "nbytes" ");" .SH "ARGUMENTS" .PP \fIreq\fR .RS 4 ahash_request handle to be updated .RE .PP \fIsrc\fR .RS 4 source scatter/gather list .RE .PP \fIresult\fR .RS 4 buffer that is filled with the message digest \-\- the caller must ensure that the buffer has sufficient space by, for example, calling \fBcrypto_ahash_digestsize\fR .RE .PP \fInbytes\fR .RS 4 number of bytes to process from the source scatter/gather list .RE .SH "DESCRIPTION" .PP By using this call, the caller references the source scatter/gather list\&. The source scatter/gather list points to the data the message digest is to be calculated for\&. .SH "AUTHORS" .PP \fBStephan Mueller\fR <\&smueller@chronox.de\&> .RS 4 Author. .RE .PP \fBMarek Vasut\fR <\&marek@denx.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br