• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..10-Feb-2022-

README.mdH A D10-Feb-20221.2 KiB2617

include.amH A D10-Feb-2022443 119

user_settings_all.hH A D10-Feb-20226.4 KiB234143

user_settings_fipsv2.hH A D10-Feb-20222.5 KiB11759

user_settings_min_ecc.hH A D10-Feb-20222.7 KiB11345

user_settings_stm32.hH A D10-Feb-202216.3 KiB587306

user_settings_template.hH A D10-Feb-202213.6 KiB542268

user_settings_wolfboot_keytools.hH A D10-Feb-20222.2 KiB9852

README.md

1# Example build configurations
2
3Example wolfSSL configuration file templates for use when autoconf is not available, such as building with a custom IDE.
4
5## Files
6
7* `user_settings_template.h`: Template that allows modular algorithm and feature selection using `#if 0` logic.
8* `user_settings_all.h`: This is wolfSSL with all features enabled. Equivalent to `./configure --enable-all`.
9* `user_settings_min_ecc.h`: This is ECC and SHA-256 only. For ECC verify only add `BUILD_VERIFY_ONLY`.
10* `user_settings_wolfboot_keytools.h`: This from wolfBoot tools/keytools and is ECC, RSA, ED25519 and ChaCha20.
11* `user_settings_fipsv2.h`: The FIPS v2 (3389) 140-2 certificate build options.
12* `user_settings_stm32.h`: Example configuration file generated from the wolfSSL STM32 Cube pack.
13
14## Usage
15
161. Copy to your local project and rename to `user_settings.h`.
172. Add pre-processor macro `WOLFSSL_USER_SETTINGS` to your project.
183. Make sure and include `#include <wolfssl/wolfcrypt/settings.h>` prior to any other wolfSSL headers in your application.
19
20## Testing with Autoconf
21
22To use these with autoconf:
23
241. Copy file to root as `user_settings.h`.
252. Run `./configure --enable-usersettings --disable-examples && make`
26