David Garske
|
b258321219
Fixes for misc.c to not be included unless required.
|
3 years ago |
Sean Parkinson
|
d372f097f7
SP C: change number of words for RSA/DH
|
3 years ago |
Sean Parkinson
|
d45e78b715
SP: ecc proj add point, dbl point fix
|
3 years ago |
Guido Vranken
|
460b513594
Fix compilation failure with WOLFSSL_PUBLIC_ECC_ADD_DBL
|
3 years ago |
David Garske
|
ae68de060a
Merge pull request #4171 from SparkiDev/sp_small_fast_modexp
|
3 years ago |
Sean Parkinson
|
303f944935
SP: allow fast mod_exp to be compiled for small C code
|
3 years ago |
Sean Parkinson
|
08e560e0a7
SP: Don't cast number to sp_digit rather than declare as long
|
3 years ago |
Sean Parkinson
|
2fb6a9eacf
SAKKE: fix configurations
|
3 years ago |
Sean Parkinson
|
4e88521a90
SP C ECC: mont sub - always normalize after sub before check for add
|
3 years ago |
Sean Parkinson
|
bb75c4d610
SP DIV word C: Add instead of OR
|
3 years ago |
Sean Parkinson
|
d8a81d0c0f
SP C 32/64: fix corner cases around subtraction
|
3 years ago |
David Garske
|
a6e9e71fde
Synchronization of SP ECC non-blocking code. Adds `WOLFSSL_ECDSA_SET_K_ONE_LOOP` support to SP ECC non-block. Removes double code in verify steps. Fixes verify result logic. Spelling error.
|
3 years ago |
David Garske
|
6bf3c08634
Fixes for SP RSA/DH with `WOLFSSL_SP_NO_MALLOC`. Cleanup of the SP no malloc code for ECC, RSA and DH.
|
3 years ago |
Sean Parkinson
|
a55e94cf6f
ECCSI and SAKKE: add support
|
3 years ago |
Sean Parkinson
|
3bf9b49274
SP ECDSA sign: fix multiple loops work of generating k
|
3 years ago |
Sean Parkinson
|
590597a0e2
SP ECC verify: check point for z=0 and set to infinity
|
3 years ago |
Sean Parkinson
|
6dc06993bf
SP: ensure modulus/prime is odd before performing RSA/DH/ModExp ops
|
3 years ago |
Sean Parkinson
|
2862a9ce56
SP modinv: add non-constant time modinv
|
3 years ago |
toddouska
|
6c62899ea8
Merge pull request #3535 from SparkiDev/sp_fixes_4
|
3 years ago |
Sean Parkinson
|
dbe4ce0e24
SP: Get RSA verify only to build with DH
|
3 years ago |
Sean Parkinson
|
56cb4c8ea7
SP: change implicit casting downs to be explicit
|
3 years ago |
Sean Parkinson
|
35acfa0f42
SP ECC: check the length of public key ordinates and private key
|
3 years ago |
Sean Parkinson
|
b1f9aba0ca
SP div: stop overflow on divide
|
3 years ago |
David Garske
|
508ba85b69
Fixes for SP math only with ECC check key. Fix SP math when loading an ECC public only and calling `wc_ecc_check_key`. Fix for missing `ecc_check_privkey_gen` with SP math only. Applies to: `/configure --enable-sp --enable-sp-math CFLAGS="-DWOLFSSL_VALIDATE_ECC_IMPORT"`.
|
3 years ago |
John Safranek
|
28be1d0cb3
Scan-Build Fixes
|
3 years ago |
Sean Parkinson
|
78309cd7aa
SP C32/64 mul_d: large div needs mul_d to propagate carry
|
3 years ago |
Sean Parkinson
|
b3f6c483bf
SP C64/32: Fix define check
|
3 years ago |
David Garske
|
a85c93e44a
Fix spelling error and sync with latest scripts.
|
4 years ago |
David Garske
|
94b0dcb7e9
Peer review feedback to add explicit parenthesis on cast.
|
4 years ago |
David Garske
|
0d2e37cc42
Fixes for several implicit cast warnings. ZD 10848.
|
4 years ago |