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

Name

Description

data

Two DES_LONG words holding the 64‐bit block in little‐endian byte order.

ks

Expanded DES key schedule.

enc

Non‐zero to encrypt, or zero to decrypt.

Created with MrDocs