crypto_skcipher_encrypt (9) - Linux Manuals

crypto_skcipher_encrypt: encrypt plaintext

NAME

crypto_skcipher_encrypt - encrypt plaintext

SYNOPSIS

int crypto_skcipher_encrypt(struct skcipher_request req);

ARGUMENTS

req

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

DESCRIPTION

Encrypt plaintext 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