From: Markus Triska Date: Wed, 20 May 2020 23:27:06 +0000 (+0200) Subject: correct mode indication for ed25519_verify/4 X-Git-Tag: v0.8.123~7^2~1 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=93da831ef0f0eaac935f75a8c3d0a24bf20d5d34;p=scryer-prolog.git correct mode indication for ed25519_verify/4 Noted by @notoria in #545. Many thanks! --- diff --git a/src/prolog/lib/crypto.pl b/src/prolog/lib/crypto.pl index 8c255a4c..67fef071 100644 --- a/src/prolog/lib/crypto.pl +++ b/src/prolog/lib/crypto.pl @@ -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