]> Repositorios git - scryer-prolog.git/commitdiff
correct mode indication for ed25519_verify/4
authorMarkus Triska <[email protected]>
Wed, 20 May 2020 23:27:06 +0000 (01:27 +0200)
committerMarkus Triska <[email protected]>
Wed, 20 May 2020 23:27:06 +0000 (01:27 +0200)
Noted by @notoria in #545. Many thanks!

src/prolog/lib/crypto.pl

index 8c255a4c001810816c93611d509f1d8bdf6b879a..67fef0717bb6799207d580ead6ed5716361c6182 100644 (file)
@@ -24,7 +24,7 @@
            ed25519_new_keypair/1,        % -KeyPair
            ed25519_keypair_public_key/2, % +KeyPair, +PublicKey
            ed25519_sign/4,               % +KeyPair, +Data, -Signature, +Options
-           ed25519_verify/4,             % +PublicKey, +Data, -Signature, +Options
+           ed25519_verify/4,             % +PublicKey, +Data, +Signature, +Options
            crypto_name_curve/2,          % +Name, -Curve
            crypto_curve_order/2,         % +Curve, -Order
            crypto_curve_generator/2,     % +Curve, -Generator