From c5f4875f22396c71bd8cf1f9d33786aea232a019 Mon Sep 17 00:00:00 2001 From: Eric Wolz Date: Thu, 29 Sep 2022 17:19:27 -0700 Subject: [PATCH] support 64 byte DSP/Central keys --- .gitignore | 1 + examples/Azure_IoT_Central_ESP32/AzureIoT.cpp | 2 +- examples/Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c6127b38..429e0549 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ modules.order Module.symvers Mkfile.old dkms.conf +/.vs diff --git a/examples/Azure_IoT_Central_ESP32/AzureIoT.cpp b/examples/Azure_IoT_Central_ESP32/AzureIoT.cpp index 37b9f07e..363c5790 100644 --- a/examples/Azure_IoT_Central_ESP32/AzureIoT.cpp +++ b/examples/Azure_IoT_Central_ESP32/AzureIoT.cpp @@ -23,7 +23,7 @@ log_function_t default_logging_function = NULL; #define MQTT_CLIENT_ID_BUFFER_SIZE 256 #define MQTT_USERNAME_BUFFER_SIZE 350 -#define DECODED_SAS_KEY_BUFFER_SIZE 32 +#define DECODED_SAS_KEY_BUFFER_SIZE 64 #define PLAIN_SAS_SIGNATURE_BUFFER_SIZE 256 #define SAS_HMAC256_ENCRYPTED_SIGNATURE_BUFFER_SIZE 32 #define SAS_SIGNATURE_BUFFER_SIZE 64 diff --git a/examples/Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp b/examples/Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp index a8934ced..d0a38a4e 100644 --- a/examples/Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp +++ b/examples/Azure_IoT_Central_ESP32_AzureIoTKit/AzureIoT.cpp @@ -23,7 +23,7 @@ log_function_t default_logging_function = NULL; #define MQTT_CLIENT_ID_BUFFER_SIZE 256 #define MQTT_USERNAME_BUFFER_SIZE 350 -#define DECODED_SAS_KEY_BUFFER_SIZE 32 +#define DECODED_SAS_KEY_BUFFER_SIZE 64 #define PLAIN_SAS_SIGNATURE_BUFFER_SIZE 256 #define SAS_HMAC256_ENCRYPTED_SIGNATURE_BUFFER_SIZE 32 #define SAS_SIGNATURE_BUFFER_SIZE 64