Test whether a DES key is one of the known weak or semi‐weak keys (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
int
DES_is_weak_key(const_DES_cblock* key);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if key is weak or semi‐weak, or 0 otherwise.

Parameters

Name

Description

key

Eight‐byte DES key to check.

Created with MrDocs