SKCIPHER_REQUEST_SET(9) | Programming Interface | SKCIPHER_REQUEST_SET(9) |
NAME¶
skcipher_request_set_crypt - set data buffers
SYNOPSIS¶
void skcipher_request_set_crypt(struct skcipher_request * req, struct scatterlist * src, struct scatterlist * dst, unsigned int cryptlen, void * iv);
ARGUMENTS¶
req
src
dst
cryptlen
iv
DESCRIPTION¶
This function allows setting of the source data and destination data scatter / gather lists.
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.
AUTHORS¶
Stephan Mueller <smueller@chronox.de>
Marek Vasut <marek@denx.de>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.9. |