AES_cfb8_encrypt

Encrypt or decrypt data with AES in 8-bit CFB mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/aes.h>

[[deprecated]]
void
AES_cfb8_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t length,
    AES_KEY const* key,
    unsigned char* ivec,
    int* num,
    int const enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length length.
outOutput buffer of length length (may equal in).
lengthNumber of bytes to process.
keyExpanded AES key schedule.
ivec16-byte IV updated in place.
numFeedback offset into the IV (updated; typically starts at 0).
encAES_ENCRYPT to encrypt, or AES_DECRYPT to decrypt.