summaryrefslogtreecommitdiff
path: root/nacl/crypto_box/wrapper-keypair.cpp
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-13 10:09:38 -0400
commitd4fe483efd3e0062f12430efe9deb66d43d914d7 (patch)
treee6aa9ac716ae82cdb15c6e6cb5d9d1d9d29f053b /nacl/crypto_box/wrapper-keypair.cpp
parent835ef0320d47372eac14bef31c979b8217d04498 (diff)
NaCl moved to other repo.
Diffstat (limited to 'nacl/crypto_box/wrapper-keypair.cpp')
-rw-r--r--nacl/crypto_box/wrapper-keypair.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/nacl/crypto_box/wrapper-keypair.cpp b/nacl/crypto_box/wrapper-keypair.cpp
deleted file mode 100644
index b59f92d9..00000000
--- a/nacl/crypto_box/wrapper-keypair.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
1#include <string>
2using std::string;
3#include "crypto_box.h"
4
5string crypto_box_keypair(string *sk_string)
6{
7 unsigned char pk[crypto_box_PUBLICKEYBYTES];
8 unsigned char sk[crypto_box_SECRETKEYBYTES];
9 crypto_box_keypair(pk,sk);
10 *sk_string = string((char *) sk,sizeof sk);
11 return string((char *) pk,sizeof pk);
12}