diff options
author | TJ Kolev <tjkolev@gmail.com> | 2023-02-02 15:10:37 -0600 |
---|---|---|
committer | TJ Kolev <tjkolev@gmail.com> | 2023-02-02 15:10:37 -0600 |
commit | fdcadd906c21dcf2c09a965a6046f7bf9de84a69 (patch) | |
tree | f3ca129cb8f9d058a963fafadb707fee26b8a872 /src/dh_groups.h | |
parent | 9defeb477aebf0eb575885eb1fd4a4330ce52531 (diff) | |
download | dropbear-fdcadd906c21dcf2c09a965a6046f7bf9de84a69.tar.gz |
Dropbear SSH - file structure reorg
Separating source and binaries.
* Dropbear source files (.c, .h) were moved under
a new ./src folder.
* Object binaries get generated into the ./obj folder.
This helps to keep less cluttered project.
tjk :)
Diffstat (limited to 'src/dh_groups.h')
-rw-r--r-- | src/dh_groups.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/dh_groups.h b/src/dh_groups.h new file mode 100644 index 0000000..c995937 --- /dev/null +++ b/src/dh_groups.h @@ -0,0 +1,26 @@ +#ifndef DROPBEAR_DH_GROUPS_H +#define DROPBEAR_DH_GROUPS_H +#include "options.h" + +#if DROPBEAR_NORMAL_DH + +#if DROPBEAR_DH_GROUP1 +#define DH_P_1_LEN 128 +extern const unsigned char dh_p_1[DH_P_1_LEN]; +#endif + +#if DROPBEAR_DH_GROUP14 +#define DH_P_14_LEN 256 +extern const unsigned char dh_p_14[DH_P_14_LEN]; +#endif + +#if DROPBEAR_DH_GROUP16 +#define DH_P_16_LEN 512 +extern const unsigned char dh_p_16[DH_P_16_LEN]; +#endif + +extern const int DH_G_VAL; + +#endif /* DROPBEAR_NORMAL_DH */ + +#endif |