Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update manual to reflect WOLFSSL_SP_CACHE_RESISTANT now on by default #107

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions wolfSSL/src/chapter02.md
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,14 @@ Enable Max Strength build, allows TSLv1.2-AEAD-PFS ciphers only

Disable Hardened build, Enables Timing Resistance and Blinding

To disable via user_settings.h the equivalent settings would be:

* `#define WC_NO_CACHE_RESISTANT`
* `#define WC_NO_HARDEN`
* Remove the setting `WC_RSA_BLINDING` if present or un-define it
* Remove the setting `ECC_TIMING_RESISTANT` if present or un-define it
* Remove the setting `TFM_TIMING_RESISTANT` if present or un-define it

### `--enable-ipv6`

Enable testing of IPv6, wolfSSL proper is IP neutral
Expand Down
2 changes: 1 addition & 1 deletion wolfSSL/src/chapter04.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ See also: [`--disable-harden`](chapter02.md#--disable-harden)

Timing resistance and cache resistance defines enabled with `--enable-harden`:

* `WOLFSSL_SP_CACHE_RESISTANT`: Enables logic to mask the address used.
* DEPRECATED: `WOLFSSL_SP_CACHE_RESISTANT`: Always on by default, see [`--disable-harden`](chapter02.md#--disable-harden) to disable default cache resistance.
* `WC_RSA_BLINDING`: Enables blinding mode, to prevent timing attacks.
* `ECC_TIMING_RESISTANT`: ECC specific timing resistance.
* `TFM_TIMING_RESISTANT`: Fast math specific timing resistance.
Expand Down
Loading