Mercurial > dropbear
comparison common-kex.c @ 766:d1575fdc29a6 ecc
start on ecdsa keys
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 09 Apr 2013 00:36:04 +0800 |
parents | 5503e05ab3a4 |
children | 70625eed40c9 |
comparison
equal
deleted
inserted
replaced
765:5503e05ab3a4 | 766:d1575fdc29a6 |
---|---|
33 #include "packet.h" | 33 #include "packet.h" |
34 #include "bignum.h" | 34 #include "bignum.h" |
35 #include "random.h" | 35 #include "random.h" |
36 #include "runopts.h" | 36 #include "runopts.h" |
37 #include "ecc.h" | 37 #include "ecc.h" |
38 #include "crypto_desc.h" | |
38 | 39 |
39 /* diffie-hellman-group1-sha1 value for p */ | 40 /* diffie-hellman-group1-sha1 value for p */ |
40 const unsigned char dh_p_1[DH_P_1_LEN] = { | 41 const unsigned char dh_p_1[DH_P_1_LEN] = { |
41 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC9, 0x0F, 0xDA, 0xA2, | 42 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC9, 0x0F, 0xDA, 0xA2, |
42 0x21, 0x68, 0xC2, 0x34, 0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C, 0xD1, | 43 0x21, 0x68, 0xC2, 0x34, 0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C, 0xD1, |