-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate cryptopp and implement iso checksum verification (#24)
* Integrate cryptopp and implement iso checksum verification Signed-off-by: lbgracioso <[email protected]> * Change map to unordered_map, remove 'using namespaces' and make 'output' lowercase instead of 'isoHash' Signed-off-by: lbgracioso <[email protected]> * Use 'make_unique' instead of 'new' Signed-off-by: lbgracioso <[email protected]> * Implement unit tests Signed-off-by: lbgracioso <[email protected]> * Transfer tests from test/diskImage.cpp to src/diskImage.cpp Signed-off-by: lbgracioso <[email protected]> * Add context on the need of .release() Signed-off-by: Vinícius Ferrão <[email protected]> --------- Signed-off-by: lbgracioso <[email protected]> Signed-off-by: Vinícius Ferrão <[email protected]> Co-authored-by: Vinícius Ferrão <[email protected]>
- Loading branch information
1 parent
392b81d
commit 7e6c551
Showing
6 changed files
with
108 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,14 @@ function(cloysterhpc_setup_dependencies) | |
endif() | ||
endif() | ||
|
||
if(NOT TARGET cryptopp::cryptopp) | ||
if (cloysterhpc_ENABLE_CONAN) | ||
CPMFindPackage(NAME cryptopp) | ||
else() | ||
CPMAddPackage("gh:cryptopp/[email protected]") | ||
endif() | ||
endif() | ||
|
||
# Packages only available with CPM | ||
#if(NOT TARGET tools::tools) | ||
# CPMAddPackage("gh:lefticus/tools#update_build_system") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ set(COMMON_LIBS | |
SimpleIni::SimpleIni | ||
resolv | ||
${STDC++FS} | ||
doctest::doctest) | ||
doctest::doctest | ||
cryptopp::cryptopp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ boost/1.82.0 | |
magic_enum/0.9.2 | ||
gsl-lite/0.40.0 | ||
doctest/2.4.11 | ||
cryptopp/8.7.0 | ||
|
||
[layout] | ||
cmake_layout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please DO NOT MODIFY this file |