aboutsummaryrefslogtreecommitdiff
path: root/scratchpad/scratchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'scratchpad/scratchpad.c')
-rw-r--r--scratchpad/scratchpad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scratchpad/scratchpad.c b/scratchpad/scratchpad.c
index aadf3f0..1cb2e56 100644
--- a/scratchpad/scratchpad.c
+++ b/scratchpad/scratchpad.c
@@ -120,13 +120,13 @@ void cmix_buffer_scratch() {
}
void crypto_api_scratch() {
- struct Api api = get_implementation();
+/* struct Api api = get_implementation();
struct KeyPair pair1 = api.create_key_pair();
struct KeyPair pair2 = api.create_key_pair();
struct SharedKey sk1 = api.derive_shared_key(pair1, pair2.pub, false);
- struct SharedKey sk2 = api.derive_shared_key(pair2, pair1.pub, true);
+ sstruct SharedKey sk2 = api.derive_shared_key(pair2, pair1.pub, true);
char* buffer1;
size_t len1;
@@ -147,5 +147,5 @@ void crypto_api_scratch() {
api.free_shared_key(&sk1);
api.free_shared_key(&sk2);
-
+*/
}