* Added AES and AES-CTR modules. AES-CTR conforms to the same counter mode used with AES in *OpenSSL*. * All algorithms now work on Big-Endian architectures. * Now uses CMake for building rather than make files and Visual Studio projects. CMake will generate whatever system is required. * Input function parameters are now marked `const` * File names have been changed to have the prefix `CryptLib_` rather than `Lib`. * Various formatting changes to the files.
17 lines
381 B
CMake
17 lines
381 B
CMake
SET( MODULE_NAME CryptLibTest )
|
|
|
|
add_executable( ${MODULE_NAME}
|
|
CryptLibTest.c
|
|
CryptLibTest_Hashes.c
|
|
CryptLibTest_Hashes.h
|
|
CryptLibTest_Rc4.c
|
|
CryptLibTest_Rc4.h
|
|
CryptLibTest_Aes.c
|
|
CryptLibTest_Aes.h
|
|
CryptLibTest_AesCtr.c
|
|
CryptLibTest_AesCtr.h )
|
|
target_link_libraries( ${MODULE_NAME}
|
|
CryptLib )
|
|
|
|
install(TARGETS ${MODULE_NAME} DESTINATION .)
|