|
NAMEAES_set_encrypt_key ,
AES_set_decrypt_key ,
AES_encrypt , AES_decrypt ,
AES_cbc_encrypt —
low-level interface to the AES symmetric cipher
SYNOPSIS#include <openssl/aes.h>
int
int
void
void
void
DESCRIPTIONThese function provide a low-level interface to the AES symmetric cipher algorithm, also called Rijndael. For reasons of flexibility, it is recommended that application programs use the high-level interface described in EVP_EncryptInit(3) and EVP_aes_128_cbc(3) instead whenever possible.AES_KEY is a structure that can hold up to 60 int values and a number of rounds.
If enc is non-zero,
RETURN VALUESAES_set_encrypt_key () and
AES_set_decrypt_key () return 0 for success, -1 if
userKey or key is
NULL , or -2 if the number of
bits is unsupported.
SEE ALSOcrypto(3), EVP_aes_128_cbc(3), EVP_EncryptInit(3)STANDARDSISO/IEC 18033-3:2010 Information technology — Security techniques — Encryption algorithms — Part 3: Block ciphersHISTORYThese functions first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2.AUTHORSVincent RijmenAntoon Bosselaers Paulo Barreto
Visit the GSP FreeBSD Man Page Interface. |