fips related macros for configurations using AES direct and DES ECB

This commit is contained in:
Jacob Barthelmeh
2015-10-14 10:51:39 -06:00
parent 52cdf85e26
commit d2cc582939
2 changed files with 15 additions and 2 deletions

View File

@@ -50,9 +50,22 @@
#if defined(NO_WOLFSSL_MEMORY) && !defined(NO_CYASSL_MEMORY)
#define NO_CYASSL_MEMORY
#endif
#ifdef WOLFSSL_KEY_GEN
#if defined(WOLFSSL_KEY_GEN) && !defined(CYASSL_KEY_GEN)
#define CYASSL_KEY_GEN
#endif
/* AES */
#if defined(WOLFSSL_AES_DIRECT) && !defined(CYASSL_AES_DIRECT)
#define CYASSL_AES_DIRECT
#endif
#if defined(WOLFSSL_AES_COUNTER) && !defined(CYASSL_AES_COUNTER)
#define CYASSL_AES_COUNTER
#endif
/* DES */
#if defined(WOLFSSL_DES_ECB) && !defined(CYASSL_DES_ECB)
#define CYASSL_DES_ECB
#endif
#endif /* CTAO_CRYPT_SETTINGS_C_H */