Expand a DES key into a key schedule after checking parity and weak keys (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
int
DES_set_key_checked(
    const_DES_cblock* key,
    DES_key_schedule* schedule);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

0 on success, ‐1 on parity error, or ‐2 if key is a weak key.

Parameters

Name

Description

key

Eight‐byte DES key.

schedule

Destination expanded key schedule.

Created with MrDocs