From c6c1232e19468f977b89091af7b79d39c305a3bc Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Fri, 1 Jul 2016 02:56:23 +0300 Subject: [PATCH] sxt: max size buffer added; --- include/sxt/sxtkey.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sxt/sxtkey.h b/include/sxt/sxtkey.h index e6c4694..9c2055f 100644 --- a/include/sxt/sxtkey.h +++ b/include/sxt/sxtkey.h @@ -36,6 +36,8 @@ typedef uint8_t ed25519_pubkey[ED25519_PK_LEN]; typedef uint8_t ed25519_privkey[ED25519_SK_LEN]; typedef uint8_t ed25519_signature[ED25519_SIG_LEN]; +#define SXT_PPKP_MAXCSIZE 1024*1024 + /* flags */ #define SXT_PPKP_PRIVATE (1 << 2) #define SXT_PPKP_PUBLIC (1 << 1)