Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
2 years ago |
Tesfa Mael
|
b2c0bacb06
Fix Cryptocell ecc
|
3 years ago |
Daniel Pouzzner
|
0b4f34d62a
typographic cleanup: fix whitespace, remove unneeded UTF-8, convert C++ comment constructs to C.
|
3 years ago |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
3 years ago |
David Garske
|
3a3c0be43f
Fixes for build warnings for CryptoCell with ECC and RSA.
|
3 years ago |
Sean Parkinson
|
763f388471
SP int: get rsavfy and rsapub working again
|
3 years ago |
David Garske
|
6b1a6309ce
Fixes for CryptoCell. Fix for signature wrapper signing to allow larger signing input buffer. Cleanup of some duplicate code. Fix for bad cryptocell ECC make key result check (-9628). Fixes #3059. Thanks Sylwester.
|
4 years ago |
David Garske
|
fd51eecb4f
Fix for using signature wrapper with `WOLFSSL_NO_MALLOC`. Improve `wc_SignatureVerifyHash` to use RSA verify inline.
|
4 years ago |
David Garske
|
1831193c20
* Fixes for building ECC without ASN.
|
4 years ago |
Sean Parkinson
|
55ea2facdd
Changes to clear issues raised by cppcheck
|
4 years ago |
Chris Conlon
|
45c5a2d39c
update copyright to 2020
|
4 years ago |
Tesfa Mael
|
f58a9e81e9
Cryptocell rsa improvements to sign/verify more digest types
|
4 years ago |
Sean Parkinson
|
23878512c6
Change signature generation to verify by default
|
5 years ago |
David Garske
|
6c65550eab
Added CryptoCell-310 support
|
5 years ago |
John Safranek
|
246c444b93
Updates for v4.0.0
|
5 years ago |
Sean Parkinson
|
c122f6082f
Allow a very small build based on SHA-256 and RSA verify
|
6 years ago |
David Garske
|
6372c3d6e1
* Added RSA non-blocking support enabled with `WC_RSA_NONBLOCK`. Adds new `wc_RsaSetNonBlock` function for enabling / non-block context. Added wolfCrypt test function `rsa_nb_test` to validate. Result is: `RSA non-block sign: 8200 times` and `RSA non-block verify: 264 times`
|
6 years ago |
David Garske
|
fc02003f76
Added new signature wrapper functions to allow direct use of hash `wc_SignatureVerifyHash` and `wc_SignatureGenerateHash`. These new function abstract existing signature wrapper code, so minimal code size increase. Added test cases for new functions for RSA (with and without DER encoding) and ECC.
|
6 years ago |
David Garske
|
911b6f95f8
Release v3.12.2 (lib 14.0.0). Updated copywright.
|
7 years ago |
David Garske
|
562db08c3d
Implemented strict switch fall-through handling using new macro `FALL_THROUGH`.
|
7 years ago |
David Garske
|
c1640e8a3d
Intel QuickAssist (QAT) support and async enhancements/fixes:
|
7 years ago |
Jacob Barthelmeh
|
f4e604dec3
verify case with unexpected input
|
8 years ago |
Jacob Barthelmeh
|
e99a5b0483
prepare for release v3.9.0
|
8 years ago |
David Garske
|
aeaac15682
Fixed compile errors in signature.c if ECC on but ECC sign/verify disabled. Added new NO_ASN_TIME option to reduce ASN size for space constrained or missing RTC. Added check to make sure ASN is enabled if ECC sign/verify is enabled.
|
8 years ago |
David Garske
|
4872f2bc33
Added the following ECC optional config defines: HAVE_ECC_SIGN, HAVE_ECC_VERIFY, HAVE_ECC_DHE, HAVE_ECC_KEY_IMPORT and HAVE_ECC_KEY_EXPORT. Still working through issues with using ECC sign/verify with ASN disabled. Added documentation to top of ecc.c for all the ECC define options.
|
8 years ago |
David Garske
|
09615c01cc
Updated the naming for the new encoding DER signature enum and function.
|
8 years ago |
David Garske
|
d5f410523a
Fixed possible memory leak on signature wrapper ASN encode and corrected the maximum header size. Added new MAX_ENCODED_HEADER_SZ which is the maximum encoded ASN header size and update asn.c to use it. Added comment about key size sanity check. Renamed wc_SignatureRsaEncode to wc_SignatureAsnEncode.
|
8 years ago |
David Garske
|
be99fcff43
Fixed typo in wc_SignatureGetSize causing error.
|
8 years ago |
David Garske
|
faf590eb22
Fix for "warning: Value stored to 'ret' is never read". Now explicitly set SIG_TYPE_E in each case. Fixed wc_SignatureGetSize so it will return SIG_TYPE_E for unsupported type scenario.
|
8 years ago |
David Garske
|
f3399b6578
Fixes/improvements to the signature and hash wrappers:
|
8 years ago |