Adding private key of termca. It is the worst thing I can do, but first I need to develop the secure channel, which uses the private key of device. Later, I will figure out how to generate the private key and certificate during initialization, but it will be difficult, as it needs to be signed by the CA.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -38,4 +38,10 @@ static const unsigned char dica[] = {
|
|||||||
0xb7,0x33,0x70,0xd6,0x00,0xff,0x73,0x0c,0x5d
|
0xb7,0x33,0x70,0xd6,0x00,0xff,0x73,0x0c,0x5d
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const unsigned char termca_pk[] = {
|
||||||
|
0x18, 0x00,
|
||||||
|
0xD9,0xE5,0x1B,0x79,0xF2,0x80,0x49,0x2B,0x35,0xFC,0x8C,0xC4,0xFC,0x5C,0xF4,0x72,
|
||||||
|
0x25,0xC7,0x5B,0x08,0xFD,0xBC,0xE1,0x13
|
||||||
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user