'\" t .\" Title: ablkcipher_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 "ABLKCIPHER_REQUEST_S" "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" ablkcipher_request_set_crypt \- set data buffers .SH "SYNOPSIS" .HP \w'void\ ablkcipher_request_set_crypt('u .BI "void ablkcipher_request_set_crypt(struct\ ablkcipher_request\ *\ " "req" ", struct\ scatterlist\ *\ " "src" ", struct\ scatterlist\ *\ " "dst" ", unsigned\ int\ " "nbytes" ", void\ *\ " "iv" ");" .SH "ARGUMENTS" .PP \fIreq\fR .RS 4 request handle .RE .PP \fIsrc\fR .RS 4 source scatter / gather list .RE .PP \fIdst\fR .RS 4 destination scatter / gather list .RE .PP \fInbytes\fR .RS 4 number of bytes to process from \fIsrc\fR .RE .PP \fIiv\fR .RS 4 IV for the cipher operation which must comply with the IV size defined by crypto_ablkcipher_ivsize .RE .SH "DESCRIPTION" .PP This function allows setting of the source data and destination data scatter / gather lists\&. .PP For encryption, the source is treated as the plaintext and the destination is the ciphertext\&. For a decryption operation, the use is reversed \- the source is the ciphertext and the destination is the plaintext\&. .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