You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added support for using libsodium for encryption rather than OpenSSL
- Removed AES-GCM tests with keys shorter than 256; libsodium only supports 256
- Added a build with libsodium to the CI matrix
Signed-off-by: Andrew Simpson <[email protected]>
steven@ edited and rebased:
- integrated with new USE_CRYPTO/USE_CRYPTO25519 options in CMake/meson
- separated using libsodium for ed25519/curve25519 and AES/SHA256.
- ensured libsodium simple crypto tests run on all builders instead of
a single isolated builder.
- prevented building with -DUSE_CRYPTO=libsodium for non-x86 hardware,
as libsodium's AES implementation depends on AES-NI. it is still
possible to configure with -DUSE_CRYPTO25519=libsodium on arbitrary
hardware targets.
Fixes#88.
Signed-off-by: Steven Noonan <[email protected]>
@@ -107,6 +107,16 @@ if(USE_CRYPTO25519 STREQUAL "OpenSSL" AND NOT OPENSSL_HAS_25519_RAW)
107
107
message(FATAL_ERROR "This version of OpenSSL does not support ed25519/curve25519. Please use -DUSE_CRYPTO25519=Reference or upgrade OpenSSL to 1.1.1 or later")
0 commit comments