DES_cfb_encrypt

Encrypt or decrypt with DES in CFB mode with a configurable bit width (deprecated; prefer EVP).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_cfb_encrypt(
    unsigned char const* in,
    unsigned char* out,
    int numbits,
    long length,
    DES_key_schedule* schedule,
    DES_cblock* ivec,
    int enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length length.
outOutput buffer of length length.
numbitsNumber of bits of feedback per CFB step (1..64).
lengthNumber of bytes to process.
scheduleExpanded DES key schedule.
ivec8-byte IV updated in place.
encDES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt.