Skip to content

Commit bedce17

Browse files
committed
SP int: fix constant time
Generic modular exponentiation is now hardened at a finer level by default (when WC_NO_HARDEN is not defined). Define WC_NO_MODEXP_TIMING_RESISTANT to disable. Improved code to mitigate some of the performance loss.
1 parent 80c58da commit bedce17

2 files changed

Lines changed: 744 additions & 368 deletions

File tree

‎.wolfssl_known_macro_extras‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ WC_MPFS_ATHENA_NO_HW_INIT
870870
WC_MPFS_ATHENA_NO_HW_MUTEX
871871
WC_NO_ASYNC_SLEEP
872872
WC_NO_CTX_ALIGN_CHECK
873+
WC_NO_MODEXP_TIMING_RESISTANT
873874
WC_NO_RNG_SIMPLE
874875
WC_NO_STATIC_ASSERT
875876
WC_NO_VERBOSE_RNG

0 commit comments

Comments
 (0)