aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ed25519/ed25519.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ed25519/ed25519.h')
-rw-r--r--src/lib/pubkey/ed25519/ed25519.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/pubkey/ed25519/ed25519.h b/src/lib/pubkey/ed25519/ed25519.h
index 51c75e641..97ed023f2 100644
--- a/src/lib/pubkey/ed25519/ed25519.h
+++ b/src/lib/pubkey/ed25519/ed25519.h
@@ -99,12 +99,14 @@ void ed25519_gen_keypair(uint8_t pk[32], uint8_t sk[64], const uint8_t seed[32])
void ed25519_sign(uint8_t sig[64],
const uint8_t msg[],
size_t msg_len,
- const uint8_t sk[64]);
+ const uint8_t sk[64],
+ const uint8_t domain_sep[], size_t domain_sep_len);
bool ed25519_verify(const uint8_t msg[],
size_t msg_len,
const uint8_t sig[64],
- const uint8_t pk[32]);
+ const uint8_t pk[32],
+ const uint8_t domain_sep[], size_t domain_sep_len);
}