correct the two last weak keys in accordance with FIPS 74. noted by
<jhutz@cmu.edu> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9677 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -111,7 +111,7 @@ static des_cblock weak_keys[NUM_WEAK_KEY]={
|
|||||||
/* weak keys */
|
/* weak keys */
|
||||||
{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01},
|
{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01},
|
||||||
{0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE},
|
{0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE},
|
||||||
{0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F},
|
{0x1F,0x1F,0x1F,0x1F,0xE0,0xE0,0xE0,0xE0},
|
||||||
{0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0},
|
{0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0},
|
||||||
/* semi-weak keys */
|
/* semi-weak keys */
|
||||||
{0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE},
|
{0x01,0xFE,0x01,0xFE,0x01,0xFE,0x01,0xFE},
|
||||||
|
Reference in New Issue
Block a user