dh_groups.h 483 B

1234567891011121314151617181920212223242526
  1. #ifndef DROPBEAR_DH_GROUPS_H
  2. #define DROPBEAR_DH_GROUPS_H
  3. #include "options.h"
  4. #if DROPBEAR_NORMAL_DH
  5. #if DROPBEAR_DH_GROUP1
  6. #define DH_P_1_LEN 128
  7. extern const unsigned char dh_p_1[DH_P_1_LEN];
  8. #endif
  9. #if DROPBEAR_DH_GROUP14
  10. #define DH_P_14_LEN 256
  11. extern const unsigned char dh_p_14[DH_P_14_LEN];
  12. #endif
  13. #if DROPBEAR_DH_GROUP16
  14. #define DH_P_16_LEN 512
  15. extern const unsigned char dh_p_16[DH_P_16_LEN];
  16. #endif
  17. extern const int DH_G_VAL;
  18. #endif /* DROPBEAR_NORMAL_DH */
  19. #endif