aboutsummaryrefslogtreecommitdiff
path: root/networking/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls.h')
-rw-r--r--networking/tls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/tls.h b/networking/tls.h
index 66d25eff5..1d379c193 100644
--- a/networking/tls.h
+++ b/networking/tls.h
@@ -78,6 +78,8 @@ typedef int16_t int16;
#define PUBKEY_TYPE 0x01
#define PRIVKEY_TYPE 0x02
+#define AES_BLOCK_SIZE 16
+
void tls_get_random(void *buf, unsigned len);
#define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS)
@@ -96,5 +98,6 @@ void tls_get_random(void *buf, unsigned len);
#include "tls_pstm.h"
#include "tls_symmetric.h"
#include "tls_aes.h"
+#include "tls_aesgcm.h"
#include "tls_rsa.h"
#include "tls_fe.h"