mbedtls_des_key_check_weak() function
Check that key is not a weak or semi-weak DES key \warning DES is considered a weak cipher and its use constitutes a security risk. We recommend considering stronger ciphers instead.
Return value
0 if no weak key was found, 1 if a weak key was identified.