Add Ed25519 tests

This commit is contained in:
Johannes Leupold committed 2024-08-13 15:33:51 +02:00
1 parent fafa0aa0c5
commit 338c1f0012
3 files changed
+273 -2

No files matched your search

@@ -101,7 +101,7 @@ object Ed25519 : Ed25519LowLevel() {
companion object {
val IDENTITY: Point = Point(UByteArray(crypto_core_ed25519_BYTES))
val BASE: Point = scalarMultiplicationBase(Scalar.ONE)
val BASE: Point = scalarMultiplicationBaseNoClamp(Scalar.ONE)
fun fromHash(hash: UByteArray): Point = pointFromHash(hash)