From a8135dec1e8b9360274679c9ff89cb98cda87930 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sat, 6 Apr 2013 16:00:37 +0800 Subject: Make _sign and _verify functions take a buffer* rather than void* and int --HG-- branch : ecc --- buffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index 5964370..b18ccaa 100644 --- a/buffer.h +++ b/buffer.h @@ -59,6 +59,7 @@ buffer * buf_getstringbuf(buffer *buf); void buf_eatstring(buffer *buf); void buf_putint(buffer* buf, unsigned int val); void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len); +void buf_putstringbuf(buffer *buf, const buffer* buf_str); void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len); void buf_putmpint(buffer* buf, mp_int * mp); int buf_getmpint(buffer* buf, mp_int* mp); -- cgit v1.2.3