pub unsafe extern "C" fn mbedtls_des_key_check_weak(
    key: *const [u8; 8]
) -> i32
Expand description

\brief Check that key is not a weak or semi-weak DES key

\param key 8-byte secret key

\return 0 if no weak key was found, 1 if a weak key was identified.

\warning DES is considered a weak cipher and its use constitutes a security risk. We recommend considering stronger ciphers instead.