forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The sample program aescrypt2 shows bad practice: hand-rolled CBC implementation, CBC+HMAC for AEAD, hand-rolled iterated SHA-2 for key stretching, no algorithm agility. The new sample program pbcrypt does the same thing, but better. So remove aescrypt2. Fix Mbed-TLS#1906
- Loading branch information
1 parent
d5f6663
commit 1d965b4
Showing
4 changed files
with
2 additions
and
477 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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
*.sln | ||
*.vcxproj | ||
|
||
aes/aescrypt2 | ||
aes/crypt_and_hash | ||
cipher/pbcrypt | ||
hash/generic_sum | ||
|
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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
add_executable(aescrypt2 aescrypt2.c) | ||
target_link_libraries(aescrypt2 mbedtls) | ||
|
||
add_executable(crypt_and_hash crypt_and_hash.c) | ||
target_link_libraries(crypt_and_hash mbedtls) | ||
|
||
install(TARGETS aescrypt2 crypt_and_hash | ||
install(TARGETS crypt_and_hash | ||
DESTINATION "bin" | ||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |
Oops, something went wrong.