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

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_ofb_encrypt(
    unsigned char const* in,
    unsigned char* out,
    int numbits,
    long length,
    DES_key_schedule* schedule,
    DES_cblock* ivec);
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.

numbits

Number of bits of keystream consumed per step (1..64).

length

Number of bytes to process.

schedule

Expanded DES key schedule.

ivec

8‐byte IV updated in place.

Created with MrDocs