summaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:05:28 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 14:08:17 +0200
commitf712d7a28192cbfcde5845d0c2e78fefd7386273 (patch)
tree1b190d1617389ada0bf3c94f77d73d6f612a9021 /crypto.h
parentc19bbb5083376a7941e2ea4607ee5e90ecfb5cde (diff)
keypair: Add routines to generate and verify a keypair
This is needed in order to replace curvetun's routines. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto.h b/crypto.h
index 2c3fac3..d06da00 100644
--- a/crypto.h
+++ b/crypto.h
@@ -15,5 +15,6 @@
#define crypto_box_afternm crypto_box_curve25519xsalsa20poly1305_afternm
#define crypto_box_open_afternm crypto_box_curve25519xsalsa20poly1305_open_afternm
#define crypto_box_pub_key_size crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
+#define crypto_box_sec_key_size crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES
#endif /* CRYPTO_H */