diff --git a/ctaocrypt/src/aes.c b/ctaocrypt/src/aes.c index 079b98526..8f5e357d7 100644 --- a/ctaocrypt/src/aes.c +++ b/ctaocrypt/src/aes.c @@ -55,7 +55,7 @@ word32 length); #endif -#if STM32F2_CRYPTO +#ifdef STM32F2_CRYPTO /* * STM32F2 hardware AES support through the STM32F2 standard peripheral * library. Documentation located in STM32F2xx Standard Peripheral Library diff --git a/cyassl/ctaocrypt/des3.h b/cyassl/ctaocrypt/des3.h index 65be3fd2f..8c9d910cc 100644 --- a/cyassl/ctaocrypt/des3.h +++ b/cyassl/ctaocrypt/des3.h @@ -66,7 +66,7 @@ typedef struct Des {; byte keylen ; /* for Coldfire SEC */ byte ivlen ; /* for Coldfire SEC */ byte iv[DES3_IVLEN]; /* for Coldfire SEC */ - word32 key[DES_KS_SIZE] + word32 key[DES_KS_SIZE]; } Des;