[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (KAME-snap 5215) ESP Encryption Key



> I have a question related to esp encryption key ,
> I am using 3des so I set my keys as 
> case 1:
>  { 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
>    0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
>    0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03}
> Here problem is this If I use the keys as 
> case 2:
>  { 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
>    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
>    0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01}
> the encrypted results are same in case 1 and case 2. Can any one tell why it is 
> same even I am using different keys ?

i'm not sure what the platform you are using.
at least, these key cannot be installed into the kernel based kame stack.
kame stack says "esp_cbc_mature 3des-cbc: weak key was passed",


Follow-Ups: References: