|
QuickCrypt Library |
API |
|
SL_DES_CorrectKeyParityBits
void SL_CRYPTCALL SL_DES_CorrectKeyParityBits(
void* pKey );
Parameters
pKey
[in] Pointer to the secret
key.
Remarks
Call this function to correct key parity bits.
Note. A DES key consists of 64 binary digits
("0"s or "1"s) of which 56 bits are randomly generated and used directly by the
algorithm. The other 8 bits, which are not used by the algorithm, may be used
for error detection. The 8 error detecting bits are set to make the parity of
each 8-bit byte of the key odd, i.e., there is an odd number of "1"s in each
8-bit byte.
DES API Overview
| DES Functions
|
Useful Links
See Also
SL_DES_CheckKeyParityBits
|