A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

Revision:
20:197c3e6e8b8d
Parent:
19:f22327e8be7b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aes-cbc/aes128cbc.h	Wed Oct 16 11:11:03 2019 +0000
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdint.h>
+
+#define AES128CBC_BLOCK_SIZE 16 //Block length in bytes AES is 128b block only
+
+void Aes128CbcEncrypt(const uint8_t* key, const uint8_t* iv, uint8_t* buf, uint32_t length);
+void Aes128CbcDecrypt(const uint8_t* key, const uint8_t* iv, uint8_t* buf, uint32_t length);