From 0b901ca6b878d2d8a69476ee5185da2a4c3d7864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Sat, 15 Jul 2017 09:09:45 +0200 Subject: [PATCH] add tiny-AES128-C submodule: AES encryption/decryption Source: https://github.com/kokke/tiny-AES128-C License: public domain --- .gitmodules | 3 +++ libs/thirdParty/tiny-AES128-C | 1 + qgroundcontrol.pro | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 libs/thirdParty/tiny-AES128-C diff --git a/.gitmodules b/.gitmodules index 1e3835f3c..7fc80e81b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "libs/mavlink/include/mavlink/v2.0"] path = libs/mavlink/include/mavlink/v2.0 url = https://github.com/mavlink/c_library_v2.git +[submodule "libs/thirdParty/tiny-AES128-C"] + path = libs/thirdParty/tiny-AES128-C + url = https://github.com/bkueng/tiny-AES128-C.git diff --git a/libs/thirdParty/tiny-AES128-C b/libs/thirdParty/tiny-AES128-C new file mode 160000 index 000000000..28fcc570b --- /dev/null +++ b/libs/thirdParty/tiny-AES128-C @@ -0,0 +1 @@ +Subproject commit 28fcc570b97aba1f05336a5f7b06e63dc165d962 diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index 153842438..7f68c7876 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -585,6 +585,7 @@ HEADERS += \ src/uas/UASInterface.h \ src/uas/UASMessageHandler.h \ src/AnalyzeView/LogDownloadController.h \ + libs/thirdParty/tiny-AES128-C/aes.h \ AndroidBuild { HEADERS += \ @@ -773,6 +774,7 @@ SOURCES += \ src/uas/UAS.cc \ src/uas/UASMessageHandler.cc \ src/AnalyzeView/LogDownloadController.cc \ + libs/thirdParty/tiny-AES128-C/aes.c \ DebugBuild { SOURCES += \ @@ -850,6 +852,7 @@ INCLUDEPATH += \ src/FirmwarePlugin \ src/Vehicle \ src/VehicleSetup \ + libs/thirdParty/tiny-AES128-C \ HEADERS+= \ src/AutoPilotPlugins/AutoPilotPlugin.h \ -- 2.22.0