mbedtls_des_key_set_parity() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_des_key_set_parity() function

Set key parity on the given key to odd. DES keys are 56 bits long, but each byte is padded with a parity bit to allow verification. \warning DES is considered a weak cipher and its use constitutes a security risk. We recommend considering stronger ciphers instead.

Syntax

void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] );

Arguments

key

8-byte secret key

References

LocationText
des.h:133
void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] );