Skip to content

Commit

Permalink
Uncommented aes_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Tjaden committed Aug 9, 2024
1 parent 90ef05f commit e788e44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ extern "C" {
#define WOLFSSL_BASE64_ENCODE
#define HAVE_PK_CALLBACKS
#define WOLFSSL_ATECC608A
#define WOLFSSL_AESGCM_STREAM
//#define WOLFSSL_AESGCM_STREAM
// ---------- FUNCTIONAL CONFIGURATION END ----------

/* MPLAB Harmony Net Presentation Layer Definitions*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ int CRYPT_TDES_CBC_Decrypt(CRYPT_TDES_CTX* tdes, unsigned char* out,
int CRYPT_AES_KeySet(CRYPT_AES_CTX* aes, const unsigned char* key,
unsigned int keyLen, const unsigned char* iv, int dir)
{
//typedef char aes_test[sizeof(CRYPT_AES_CTX) >= sizeof(Aes) ? 1 : -1];
//(void)sizeof(aes_test);
typedef char aes_test[sizeof(CRYPT_AES_CTX) >= sizeof(Aes) ? 1 : -1];
(void)sizeof(aes_test);

if (aes == NULL || key == NULL)
return BAD_FUNC_ARG;
Expand Down Expand Up @@ -561,8 +561,8 @@ int CRYPT_AES_CTR_Encrypt(CRYPT_AES_CTX* aes, unsigned char* out,
#if defined(HAVE_AESGCM)
int CRYPT_AES_GCM_SetKey(CRYPT_AES_CTX* aes, const unsigned char* key, unsigned int len)
{
//typedef char aes_test[sizeof(CRYPT_AES_CTX) >= sizeof(Aes) ? 1 : -1];
//(void)sizeof(aes_test);
typedef char aes_test[sizeof(CRYPT_AES_CTX) >= sizeof(Aes) ? 1 : -1];
(void)sizeof(aes_test);

if (aes == NULL || key == NULL)
{
Expand Down

0 comments on commit e788e44

Please sign in to comment.