Mercurial > dropbear
comparison dh_groups.h @ 1225:6a7938ba004a
add dh group15 and group16, disabled by default
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 15 Jan 2016 00:19:11 +0800 |
parents | 82e2037d34ea |
children | 739b3909c499 |
comparison
equal
deleted
inserted
replaced
1224:82e2037d34ea | 1225:6a7938ba004a |
---|---|
1 #ifndef DROPBEAR_DH_GROUPS_H | 1 #ifndef DROPBEAR_DH_GROUPS_H |
2 #define DROPBEAR_DH_GROUPS_H | 2 #define DROPBEAR_DH_GROUPS_H |
3 #include "options.h" | |
3 | 4 |
4 #define DH_P_1_LEN 128 | 5 #define DH_P_1_LEN 128 |
5 extern const unsigned char dh_p_1[DH_P_1_LEN]; | 6 extern const unsigned char dh_p_1[DH_P_1_LEN]; |
6 #define DH_P_14_LEN 256 | 7 #define DH_P_14_LEN 256 |
7 extern const unsigned char dh_p_14[DH_P_14_LEN]; | 8 extern const unsigned char dh_p_14[DH_P_14_LEN]; |
9 | |
10 #ifdef DROPBEAR_DH_GROUP15 | |
11 #define DH_P_15_LEN 384 | |
12 extern const unsigned char dh_p_15[DH_P_15_LEN]; | |
13 #endif | |
14 | |
15 #ifdef DROPBEAR_DH_GROUP16 | |
16 #define DH_P_16_LEN 512 | |
17 extern const unsigned char dh_p_16[DH_P_16_LEN]; | |
18 #endif | |
19 | |
20 | |
8 extern const int DH_G_VAL; | 21 extern const int DH_G_VAL; |
9 | 22 |
10 | 23 |
11 #endif | 24 #endif |