2019-10-27 07:30:03 +01:00
|
|
|
/* user_settings.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef H_USER_SETTINGS_
|
|
|
|
#define H_USER_SETTINGS_
|
|
|
|
|
|
|
|
/* System */
|
|
|
|
#define WOLFSSL_GENERAL_ALIGNMENT 4
|
|
|
|
#define SINGLE_THREADED
|
|
|
|
//#define WOLFSSL_SMALL_STACK
|
|
|
|
#define WOLFCRYPT_ONLY
|
|
|
|
#define TFM_TIMING_RESISTANT
|
|
|
|
#define HAVE_CHACHA
|
|
|
|
#define HAVE_SHA256
|
|
|
|
#define HAVE_PBKDF2
|
2019-11-04 15:38:49 +01:00
|
|
|
#define HAVE_AES
|
|
|
|
#define HAVE_AES_CBC
|
|
|
|
#define HAVE_AES_DECRYPT
|
2019-10-27 07:30:03 +01:00
|
|
|
|
|
|
|
#define CUSTOM_RAND_GENERATE random_uint32
|
|
|
|
#define CUSTOM_RAND_TYPE uint32_t
|
|
|
|
|
|
|
|
|
|
|
|
#define WOLFSSL_SP
|
|
|
|
#define WOLFSSL_SP_SMALL
|
|
|
|
#define WOLFSSL_SP_MATH
|
|
|
|
#define SP_WORD_SIZE 32
|
|
|
|
#define SINGLE_THREADED
|
|
|
|
|
|
|
|
/* Disables - For minimum wolfCrypt build */
|
|
|
|
#define NO_CMAC
|
|
|
|
#define NO_CODING
|
|
|
|
#define NO_RSA
|
|
|
|
#define NO_BIG_INT
|
|
|
|
#define NO_ASN
|
|
|
|
#define NO_RC4
|
|
|
|
#define NO_SHA
|
|
|
|
#define NO_DH
|
|
|
|
#define NO_DSA
|
|
|
|
#define NO_MD4
|
|
|
|
#define NO_RABBIT
|
|
|
|
#define NO_MD5
|
|
|
|
#define NO_SIG_WRAPPER
|
|
|
|
#define NO_CERT
|
|
|
|
#define NO_SESSION_CACHE
|
|
|
|
#define NO_HC128
|
|
|
|
#define NO_DES3
|
|
|
|
#define NO_WRITEV
|
|
|
|
#define NO_DEV_RANDOM
|
|
|
|
#define NO_FILESYSTEM
|
|
|
|
#define NO_MAIN_DRIVER
|
|
|
|
#define NO_OLD_RNGNAME
|
|
|
|
#define NO_WOLFSSL_DIR
|
|
|
|
#define WOLFSSL_NO_SOCK
|
|
|
|
|
|
|
|
#endif /* !H_USER_SETTINGS_ */
|