mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 08:44:17 +01:00
98b3cd6b23
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 #1906 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
13 lines
373 B
CMake
13 lines
373 B
CMake
set(executables
|
|
crypt_and_hash
|
|
)
|
|
|
|
foreach(exe IN LISTS executables)
|
|
add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
|
|
target_link_libraries(${exe} ${mbedcrypto_target})
|
|
endforeach()
|
|
|
|
install(TARGETS ${executables}
|
|
DESTINATION "bin"
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|