SysTutorials

Linux Manual Pages › Section 9

crypto_skcipher_decrypt(9)

crypto_skcipher_decrypt – decrypt ciphertext

Synopsis

int crypto_skcipher_decrypt(struct skcipher_request *req);

Arguments

req

reference to the skcipher_request handle that holds all information needed to perform the cipher operation

Description

Decrypt ciphertext data using the skcipher_request handle. That data structure and how it is filled with data is discussed with the skcipher_request_* functions.

Return

0 if the cipher operation was successful; < 0 if an error occurred

Authors

Stephan Mueller <smueller [at] chronox.de>

Author.

Marek Vasut <marek [at] denx.de>

Author.

Copyright