diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-02 13:28:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-02 13:28:31 +0000 |
commit | 8bc924aa93cddd7f68ee6ead8e67958fc777102e (patch) | |
tree | a1fca3ee60bb9a9139016f91152dfa095fa65a69 /src/libcryptobox/cryptobox.c | |
parent | 15f18d0c0c326dc789c2af1715fefecb01abfcce (diff) | |
download | rspamd-8bc924aa93cddd7f68ee6ead8e67958fc777102e.tar.gz rspamd-8bc924aa93cddd7f68ee6ead8e67958fc777102e.zip |
Add test vectors for eddsa
Diffstat (limited to 'src/libcryptobox/cryptobox.c')
-rw-r--r-- | src/libcryptobox/cryptobox.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index 3d7c57c85..549af9736 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -1223,6 +1223,17 @@ rspamd_cryptobox_sk_sig_bytes (void) } guint +rspamd_cryptobox_signature_bytes (void) +{ + if (G_UNLIKELY (!use_openssl)) { + return 64; + } + else { + return 64; + } +} + +guint rspamd_cryptobox_nm_bytes (void) { return 32; |