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.
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
Switch everything over to the Ristretto variant of the Decaf encoding,
for compatibility with https://github.com/isislovecruft/curve25519-dalek
and others. Documentation coming sometime at https://ristretto.group/.
For now, suffice it to say that Ristretto has the same API and security
properties, but slightly different input and output bytes.
Also close Ticket 9, renaming "mul_by_cofactor_and_encode" functions to
"mul_by_ratio_and_encode" with an appropriate #defined ENCODE_RATIO.
This is because the base points in RFC 7748 and RFC 8032 have different
relationships with the libdecaf base points. With this change,
mul_by_ratio_and_encode'ing the base point will result in
[EDDSA|X25519|X448]_ENCODE_RATIO times the RFC 8032 EdDSA and RFC 7748
X25519|X448 base point.
Merge branch 'ristretto-work'