aboutsummaryrefslogtreecommitdiff
path: root/scratchpad/scratchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'scratchpad/scratchpad.c')
-rw-r--r--scratchpad/scratchpad.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/scratchpad/scratchpad.c b/scratchpad/scratchpad.c
index 49a484f..4e7f007 100644
--- a/scratchpad/scratchpad.c
+++ b/scratchpad/scratchpad.c
@@ -1,6 +1,5 @@
#include "cmix.h"
-#include "message.h"
#include "api.h"
@@ -10,7 +9,6 @@
#include <string.h>
#include <stddef.h>
-void cmix_buffer_scratch();
void crypto_api_scratch();
void gcrypt_scratch();
@@ -123,24 +121,6 @@ void gcrypt_scratch() {
gcry_sexp_release(plain_sexpr);
}
-void cmix_buffer_scratch() {
- struct CmixBufferImpl buffer_impl = get_cmix_Curve25519_buffer_implementation();
- char* buffer = buffer_impl.allocate_cmix_buffer(3);
-
- int message_size = buffer_impl.message_length();
-
- for(int i=0; i < 3; i++) {
- buffer[i*message_size] = 'h';
- }
-
- for(int i=0; i < 3; i++) {
- putc(buffer[i*message_size], stdout);
- putc('\n', stdout);
- }
-
- buffer_impl.deallocate_cmix_buffer(buffer);
-}
-
void crypto_api_scratch() {
/* struct Api api = get_implementation();