other versions
- stretch 4.9.168-1
CRYPTO_BLKCIPHER_DEC(9) | Programming Interface | CRYPTO_BLKCIPHER_DEC(9) |
NAME¶
crypto_blkcipher_decrypt_iv - decrypt ciphertext with dedicated IVSYNOPSIS¶
int crypto_blkcipher_decrypt_iv(struct blkcipher_desc * desc, struct scatterlist * dst, struct scatterlist * src, unsigned int nbytes);
ARGUMENTS¶
descreference to the block cipher handle with meta data
dst
scatter/gather list that is filled by the cipher
operation with the plaintext
src
scatter/gather list that holds the ciphertext
nbytes
number of bytes of the ciphertext to decrypt.
DESCRIPTION¶
Decrypt ciphertext data with the use of an IV that is solely used for this cipher operation. Any previously set IV is not used.The blkcipher_desc data structure must be filled by the caller as documented for the crypto_blkcipher_encrypt_iv call above.
RETURN¶
0 if the cipher operation was successful; < 0 if an error occurredAUTHORS¶
Stephan Mueller <smueller@chronox.de>Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |