DES_encrypt2

Encrypt or decrypt one DES block without IP/FP (used internally for 3DES; deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_encrypt2(
    DES_LONG* data,
    DES_key_schedule* ks,
    int enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
dataTwo DES_LONG words holding the 64-bit block in little-endian byte order.
ksExpanded DES key schedule.
encNon-zero to encrypt, or zero to decrypt.