weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.67k stars 1.47k forks source link

The file structure is very irregular #1227

Closed MajidNamnabat closed 11 months ago

MajidNamnabat commented 11 months ago

Crypto++ Issue Report

The file structure is very irregular.

The CPP and header files are in the same folder. The test and library files are mixed together. Please separate these. You can have the include and source folder separately,also the core and the test folder separately.

I need to use this project as a static library cross-platform Visual Studio project, but it cannot be used.

Also, suppose a static library is built using the project. The parent project needs its header files. But the header files don't just contain only function declarations. Sometimes it includes the definition of functions and this leads to link error in jni environment of the android studio environment.

Also, the volume of the project has been expanded. If it has a common section and an algorithms section. It would be nice to be able to isolate a particular algorithm more easily from the entire library.

I need only one encrypt algorithm and It must have limited size.

Briefly, The file structure is very irregular, Correction of it is very easy

Thanks a lot, Majid