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

Name

Description

in

Input bytes of length length.

out

Output buffer of length length (may equal in).

length

Number of bytes to process.

key

Expanded AES key schedule.

ivec

16‐byte IV updated in place.

num

Feedback offset into the IV (updated; typically starts at 0).

enc

AES_ENCRYPT to encrypt, or AES_DECRYPT to decrypt.

Created with MrDocs