Point::steg_encode was leaving the 24 high bits of the buffer as zero.
It also ignored the size parameter. The size parameter has now been removed,
the zeros fixed and a test added to make sure that it is fixed.
Per https://github.com/MystenLabs/ed25519-unsafe-libs, deprecate eddsa signing
with separate pubkey and privkey input. Instead decaf_ed*_keypair_sign
The old API takes the public key as an input. If the wrong public key
is passed, then the private key may be revealed to the attacker (via the
usual two-signatures-one-nonce vulnerability). As a countermeasure, the
API now instead rederives the pubkey and asserts equality. This makes it
twice as slow.
The new API stores the public and private keypair in one struct, which is
initialized by expanding the private key. This protects against mistakes.
The old API is soft-deprecated. I might add a deprecation attribute
later.
Apply Modern CMake best practices and use target_include_directories
rather than include_directories for defining where to find header files.
Where possible, scope was reduced to PRIVATE, indicating that the headers
are required only for compilation, not when linking against the target.
Additionally, the generated headers that are required for the decaf libs
to work have been added to their build interface. This means that other
projects that use CMake to build this project will correctly link against
the decaf and decaf-static targets.
The existing code checked if a directory existed and if it did, it would
not attempt to create it. However, this proved to be flaky on Mac and Linux.
The check would frequently report the directory as not existing, but the
attempt to create the directory would cause an exception.
Bump version number in CMakeLists.txt, thanks Johan Pascal.
Change test scripts to avoid GCC warnings, thanks Sofi Celi.
Add full RFC 8032 test vectors, thanks Sofi Celi.
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows_testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
windows testing
Revert "windows testing"
This reverts commit 4b1047d433.
Revert "windows testing"
This reverts commit 4deaad7796.
Revert "windows testing"
This reverts commit ce1af72cd1.
windows testing