comparison dh_groups.h @ 1739:13d834efc376 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Thu, 15 Oct 2020 19:55:15 +0800
parents ee6ccc2ecc47
children
comparison
equal deleted inserted replaced
1562:768ebf737aa0 1739:13d834efc376
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 #include "options.h"
4
5 #if DROPBEAR_NORMAL_DH
4 6
5 #if DROPBEAR_DH_GROUP1 7 #if DROPBEAR_DH_GROUP1
6 #define DH_P_1_LEN 128 8 #define DH_P_1_LEN 128
7 extern const unsigned char dh_p_1[DH_P_1_LEN]; 9 extern const unsigned char dh_p_1[DH_P_1_LEN];
8 #endif 10 #endif
15 #if DROPBEAR_DH_GROUP16 17 #if DROPBEAR_DH_GROUP16
16 #define DH_P_16_LEN 512 18 #define DH_P_16_LEN 512
17 extern const unsigned char dh_p_16[DH_P_16_LEN]; 19 extern const unsigned char dh_p_16[DH_P_16_LEN];
18 #endif 20 #endif
19 21
20
21 extern const int DH_G_VAL; 22 extern const int DH_G_VAL;
22 23
24 #endif /* DROPBEAR_NORMAL_DH */
23 25
24 #endif 26 #endif