diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 14:05:28 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 14:08:17 +0200 |
commit | f712d7a28192cbfcde5845d0c2e78fefd7386273 (patch) | |
tree | 1b190d1617389ada0bf3c94f77d73d6f612a9021 /crypto.h | |
parent | c19bbb5083376a7941e2ea4607ee5e90ecfb5cde (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |