Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
AES_set_encrypt_key, AES_set_decrypt_key, AES_encrypt, AES_decrypt, AES_cbc_encrypt — low-level interface to the AES symmetric cipherSYNOPSIS
#include <openssl/aes.h>AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key);
AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key);
AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key);
AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key);
AES_cbc_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc);
DESCRIPTION
These 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.bits | bytes | ints | rounds |
128 | 16 | 44 | 10 |
192 | 24 | 52 | 12 |
256 | 32 | 60 | 14 |