Chris Conlon
|
446393bcab
|
Merge pull request #3793 from TakayukiMatsuo/os_base64
Add wolfSSL_EVP_Encode/Decode APIs
|
2021-06-22 10:19:30 -06:00 |
|
David Garske
|
52582ede28
|
Merge pull request #4146 from SparkiDev/pkcs11_dec_final
PKCS #11: Use C_Decrypt instead of C_DecryptUpdate
|
2021-06-21 15:28:45 -07:00 |
|
David Garske
|
7491a44bb4
|
Fix for possible memory leak case on mp_init failure in wc_ecc_verify_hash_ex with WOLFSSL_SMALL_STACK.
|
2021-06-21 09:19:47 -07:00 |
|
Guido Vranken
|
7c600e3ebc
|
In wc_ecc_verify_hash_ex, return if ALLOC_CURVE_SPECS() fails
This prevents a NULL pointer dereference later in the function.
|
2021-06-20 22:29:20 +02:00 |
|
David Garske
|
15065175d8
|
Merge pull request #4145 from SparkiDev/sp_int_neg_mod
SP int negative: check size of a in mp_mod
|
2021-06-18 08:14:02 -07:00 |
|
Sean Parkinson
|
699a75c211
|
PKCS #11: Use C_Decrypt instead of C_DecryptUpdate
Some PKCS #11 devices need final called (implicit in C_Decrypt).
|
2021-06-18 12:14:34 +10:00 |
|
Sean Parkinson
|
2fb80ceb59
|
Merge pull request #4133 from dgarske/crypto_cb_25519
Adds crypto callback support for Ed/Curve25519 and SHA2-512/384
|
2021-06-18 09:47:30 +10:00 |
|
David Garske
|
18fc1b7e63
|
Merge pull request #4006 from elms/refactor_pointer_manipulation
|
2021-06-17 16:37:03 -07:00 |
|
Sean Parkinson
|
485cfd798b
|
SP int negative: check size of a in mp_mod
When using negative numbers, t is allocated to be one digit longer than
a->used. Fail when a->used is SP_DIGIT_MAX.
|
2021-06-18 09:28:51 +10:00 |
|
David Garske
|
258e0c10da
|
Merge pull request #4142 from elms/fix/memtest
test: Fix memtest callbacks
|
2021-06-17 14:01:21 -07:00 |
|
David Garske
|
5440b6c63c
|
Fix for intel asm SHA512 where HAVE_INTEL_AVX1 or HAVE_INTEL_AVX2 is defined, but USE_INTEL_SPEEDUP is not. Fix for scan-build error with test.c ret not used.
|
2021-06-17 13:50:09 -07:00 |
|
Chris Conlon
|
bd6a353921
|
Merge pull request #4083 from dgarske/stm32_aes_gcm
Fix for STM32 AES GCM for HAL's that support byte sized headers
|
2021-06-17 13:08:15 -06:00 |
|
Elms
|
ad59b8af45
|
test: Fix memtest callbacks
|
2021-06-17 10:15:11 -07:00 |
|
David Garske
|
c802ea7ebd
|
Fix for unaligned authentication tag sizes when the STM32 Cube HAL supports it with CRYP_HEADERWIDTHUNIT_BYTE.
|
2021-06-17 08:15:44 -07:00 |
|
David Garske
|
b6ec698a83
|
Fix for FIPS case with hkdf_test.
|
2021-06-17 08:15:44 -07:00 |
|
David Garske
|
14b845a9a5
|
Fixes for wolfCrypt HMAC test without SHA1/SHA2. Added NO RNG option to cube pack configuration template.
|
2021-06-17 08:15:44 -07:00 |
|
David Garske
|
e8c4f857e1
|
Fix to use accelerated AES GCM when auth is not 4-byte aligned on platforms supporting byte header size.
|
2021-06-17 08:15:44 -07:00 |
|
David Garske
|
5751e20bcc
|
Merge pull request #4136 from SparkiDev/tfm_size_checks
tfm: fix length check in add and mul_d
|
2021-06-17 07:28:40 -07:00 |
|
Sean Parkinson
|
ad4baec0f5
|
Merge pull request #4090 from JacobBarthelmeh/CAAM
CAAM: add dynamic setup of entropy delay on init
|
2021-06-17 17:06:01 +10:00 |
|
Jacob Barthelmeh
|
d09b7153f2
|
address review items
|
2021-06-17 09:43:06 +07:00 |
|
David Garske
|
98147de422
|
Fix for wolfCrypt test not calling init for ed25519 tests.
|
2021-06-16 16:44:28 -07:00 |
|
Sean Parkinson
|
9023c4d65a
|
tfm: fix length check in add and mul_d
Check that the overflow digit is going to fit rather than whether we are
at limit after adding digit.
|
2021-06-17 09:11:01 +10:00 |
|
David Garske
|
0fc9c33f84
|
Wire up Ed25519 SHA512 to use devId.
|
2021-06-16 13:15:06 -07:00 |
|
David Garske
|
15d761a0c2
|
Added ED25519 and Curve25519 crypto callback support.
|
2021-06-16 11:49:24 -07:00 |
|
David Garske
|
9c24731e3c
|
Added SHA2-384/512 crypto callback support.
|
2021-06-16 11:49:24 -07:00 |
|
TakayukiMatsuo
|
9e02655ac4
|
Merge remote-tracking branch 'upstream/master' into os_base64
|
2021-06-16 23:19:52 +09:00 |
|
Elms
|
3a885aba23
|
Refactor pointer manipulation to be independent of datatype width
Tested with `./configure CFLAGS="-DNO_64BIT" --disable-sha512
--disable-sha384 --enable-harden` on a 64-bit machine
|
2021-06-15 21:08:49 -07:00 |
|
Sean Parkinson
|
d849606bba
|
Merge pull request #4109 from guidovranken/Base64_SkipNewline-fixes
Additional length check improvements in Base64_SkipNewline
|
2021-06-16 08:52:32 +10:00 |
|
Sean Parkinson
|
b73673a218
|
Merge pull request #3794 from TakayukiMatsuo/os_keyprint
Add wolfSSL_EVP_PKEY_print_public
|
2021-06-16 08:43:41 +10:00 |
|
David Garske
|
1374ab7da5
|
Merge pull request #4123 from SparkiDev/sp_int_neg_cmp
SP math all: sp_cmp handling of negative values
|
2021-06-15 15:33:29 -07:00 |
|
TakayukiMatsuo
|
c6680d08ba
|
Fix coding issues
|
2021-06-15 11:16:38 +09:00 |
|
Sean Parkinson
|
12c358bc30
|
Merge pull request #3979 from dgarske/tls13_async
Asynchronous support for TLS v1.3 TLSX ECC/DH key generation and key agreement
|
2021-06-15 10:02:19 +10:00 |
|
Sean Parkinson
|
b9715432f8
|
SP math all: sp_cmp handling of negative values
|
2021-06-15 09:44:06 +10:00 |
|
Sean Parkinson
|
07784e9f56
|
Merge pull request #4066 from dgarske/stm_pka
Fixes for STM32 PKA with ECC
|
2021-06-15 08:33:50 +10:00 |
|
David Garske
|
77df7d8630
|
Merge pull request #3968 from elms/pedantic_cleanup
Fixes for some `-pedantic` errors
|
2021-06-14 13:46:39 -07:00 |
|
David Garske
|
fd6b30ef32
|
Merge pull request #4111 from elms/silabs/fix_ecc_shared_secret_outlen
silabs: fix `wc_ecc_shared_secret` to only return x coordinate
|
2021-06-14 13:44:00 -07:00 |
|
David Garske
|
2ffc0a8392
|
Remove casts that are not needed.
|
2021-06-14 08:47:40 -07:00 |
|
David Garske
|
4d4b3c9e8a
|
Fixes for return codes on STM PKA code. Fix for const warnings.
|
2021-06-14 08:47:40 -07:00 |
|
David Garske
|
98ab62ea74
|
Fix for STM32 PKA ECC point mapping, which is handled in hardware.
|
2021-06-14 08:47:38 -07:00 |
|
David Garske
|
7b6005d467
|
Remove unused STM32 cofactor.
|
2021-06-14 08:46:20 -07:00 |
|
David Garske
|
b0782cb8f8
|
Fix for improperly initialized PKA_ECDSASignOutTypeDef on STM32 PKA sign.
|
2021-06-14 08:46:20 -07:00 |
|
David Garske
|
839231c508
|
Fixes for STM32 PKA compiler warnings.
|
2021-06-14 08:46:20 -07:00 |
|
Jacob Barthelmeh
|
70063213a5
|
additional comments, code readability, and error check
|
2021-06-14 21:40:51 +07:00 |
|
Jacob Barthelmeh
|
bba1c8b433
|
add error return with alloc curve macro
|
2021-06-14 20:33:20 +07:00 |
|
JacobBarthelmeh
|
64298a2c4a
|
Merge pull request #4094 from guidovranken/DecodePolicyOID-XSNPRINTF
Improve checking of XSNPRINTF return value in DecodePolicyOID
|
2021-06-14 19:58:09 +07:00 |
|
Elms
|
ed4cf6e91c
|
silabs: fix wc_ecc_shared_secret to only return x coordinate
secure element computes and returns the full coordinate. The wolfSSL
API should only return the x component.
|
2021-06-13 21:46:23 -07:00 |
|
TakayukiMatsuo
|
ebec2fbd25
|
Fixed uninitialized parameter for Base16_Encode
|
2021-06-14 13:45:12 +09:00 |
|
Guido Vranken
|
f163a4e18f
|
Return BUFFER_E from DecodePolicyOID if XSNPRINTF indicates insufficient buffer space
|
2021-06-14 03:55:13 +02:00 |
|
Guido Vranken
|
220bfe9926
|
Fix Base64_SkipNewline such that tests pass
|
2021-06-14 03:42:41 +02:00 |
|
Sean Parkinson
|
3180ec96a5
|
Merge pull request #3963 from dgarske/nxp_ltc_rsa
Fixes for NXP LTC ECC/RSA
|
2021-06-14 08:29:24 +10:00 |
|