Daniel Pouzzner
|
c325001d0d
|
note argument endianness and return values in intro comment for wc_curve25519_make_pub().
|
2020-08-06 18:07:39 -05:00 |
toddouska
|
82d927d40f
|
Merge pull request #3199 from dgarske/openssl_sha
Fix for building openssl compat without SHA-1
|
2020-08-06 15:59:26 -07:00 |
Daniel Pouzzner
|
0f59e632e1
|
tests/api.c: add test_wc_curve25519_make_pub(); fix some old stray tabs; remove weird extra string-terminating null in test_wolfSSL_sk_CIPHER_description().
|
2020-08-06 17:52:48 -05:00 |
Daniel Pouzzner
|
758665e347
|
Fix for TLS anonymous cipher and PKCS11 cast warnings. (author=dgarske)
|
2020-08-06 17:49:55 -05:00 |
Sean Parkinson
|
132adeac14
|
Merge pull request #3188 from julek-wolfssl/missing-cipherExtraData
Move `cipherExtraData` so that it is available when HAVE_SESSION_TICKET
|
2020-08-07 08:18:57 +10:00 |
Daniel Pouzzner
|
52a2222c79
|
curve25519.c: call the new API routine wc_curve25519_make_pub(), not wc_curve25519(), for clarity and consistency (hat tip to Jacob).
|
2020-08-06 14:48:29 -05:00 |
John Safranek
|
14ff41a88c
|
ABI Update for Server
Added WOLFSSL_ABI tags to the functions wolfTLSv1_2_server(),
wolfTLSv1_3_server(), and wolfSSL_accept().
|
2020-08-06 11:17:25 -07:00 |
toddouska
|
e121139178
|
Merge pull request #3179 from ejohnstown/suitesz
Suite Size Check
|
2020-08-06 11:05:10 -07:00 |
toddouska
|
15be5476e9
|
Merge pull request #3185 from SparkiDev/fp_check_max
tfm: Check for overflow and return error (fixed max size)
|
2020-08-06 10:54:26 -07:00 |
toddouska
|
4e9d49556e
|
Merge pull request #3194 from SparkiDev/unit_fix_1
Fix unit.test to not fail randomly
|
2020-08-06 10:51:12 -07:00 |
toddouska
|
462f4f9e45
|
Merge pull request #3196 from cconlon/cavpmarvell
Add fips-check.sh target for marvell-linux-selftest, selftest v2 support
|
2020-08-06 10:45:03 -07:00 |
Daniel Pouzzner
|
b2e7c09b71
|
ksdk_port.c: third time's the charm? (typo, s/curve25529_bCurveParam/curve25519_bCurveParam)
|
2020-08-06 12:02:01 -05:00 |
Daniel Pouzzner
|
7ae789dbb0
|
wolfcrypt/src/curve25519.c: fix typo in wc_curve25519() -- CURVE25519_KEYSIZE, not CURVE25519_KEY_SIZE; add static kCurve25519BasePoint at top level
|
2020-08-06 11:45:54 -05:00 |
Daniel Pouzzner
|
5cad0b10e5
|
fix typo in wolfcrypt/src/port/nxp/ksdk_port.c ("curve_bCurveParam" vs correct curve25529_bCurveParam) introduced in aadec345ab .
|
2020-08-06 11:35:04 -05:00 |
Ethan Looney
|
77bb300409
|
Removed unnecessary pointers, matched Xfree arugments and checked the return values of generated keys
|
2020-08-06 09:21:41 -07:00 |
Ethan Looney
|
afcb40724e
|
Added proper ifdef's to EccPrivateKeyToDer
|
2020-08-06 08:06:06 -07:00 |
David Garske
|
435eabfb4b
|
Fix build error with unused variables. Added compat function for `X509_add_ext`.
|
2020-08-06 07:51:04 -07:00 |
Juliusz Sosinowicz
|
25619119b4
|
Change implicit conversions to explicit conversions
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
f1e2a3c8b9
|
Code review changes
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
139a192185
|
Implement wolfSSL_d2i_X509_NAME
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
ca3a608408
|
Implement functions
- `wolfSSL_d2i_ECPrivateKey`
- `wolfSSL_EC_POINT_add`
- `wolfSSL_EC_POINT_invert`
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
2529ce21b0
|
Implement wolfSSL_EC_GROUP_dup
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
ea8dd31de0
|
Implement wolfSSL_i2d_PUBKEY and refactor wolfSSL_i2d_PrivateKey
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
1f0d6d5f31
|
New functions implemented
- `EC_POINT_is_on_curve`
- `i2d_EC_PUBKEY`
- `i2d_ECPrivateKey`
- `wc_ecc_point_is_on_curve`
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
88b9bf3fba
|
Fix memory leak with EncryptDerKey
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
e131d6be5b
|
group->curve_nid is now set to the real NID of the curve
|
2020-08-06 15:52:11 +02:00 |
Juliusz Sosinowicz
|
471a9bd9fd
|
Handle 2+ dtls APP data records in one udp packet
Just return one message at a time if processing application data
|
2020-08-06 14:03:38 +02:00 |
Juliusz Sosinowicz
|
c28b7b59c3
|
Fix jenkins leaks
|
2020-08-06 13:47:26 +02:00 |
Juliusz Sosinowicz
|
ad2e710563
|
Fix missing free
|
2020-08-06 13:47:26 +02:00 |
Juliusz Sosinowicz
|
a6651a21f8
|
Fix segfault
|
2020-08-06 13:47:26 +02:00 |
Juliusz Sosinowicz
|
229c5e9563
|
wolfSSL_X509V3_EXT_i2d cont.
|
2020-08-06 13:47:26 +02:00 |
Juliusz Sosinowicz
|
dfee8d0346
|
wolfSSL_X509V3_EXT_i2d now copies structs instead of trying to convert to DER format
|
2020-08-06 13:47:26 +02:00 |
Juliusz Sosinowicz
|
fe1f815761
|
wolfSSL_X509V3_EXT_i2d: NID_ext_key_usage
|
2020-08-06 13:45:36 +02:00 |
Juliusz Sosinowicz
|
e89015b58a
|
WIP: wolfSSL_X509V3_EXT_i2d
|
2020-08-06 13:45:36 +02:00 |
Juliusz Sosinowicz
|
3621af9996
|
Implement new OpenSSL API
- i2d_PKCS8PrivateKey_bio
- X509V3_EXT_i2d
- SSL_renegotiate_pending
|
2020-08-06 13:45:36 +02:00 |
Juliusz Sosinowicz
|
42c8f8f9b5
|
Check for WOLFSSL_AEAD_ONLY in wolfSSL_dtls_import_internal
|
2020-08-06 13:44:09 +02:00 |
Daniel Pouzzner
|
18178e056d
|
add missing const qualifiers to arch variants of curve25519(), and to nxp_ltc_curve25519().
|
2020-08-05 21:12:50 -05:00 |
David Garske
|
4a167c0f2c
|
Merge pull request #3119 from tmael/do178-fix
DO-178 fix
|
2020-08-05 16:30:00 -07:00 |
Sean Parkinson
|
8afd629a30
|
Fix unit.test to not fail randomly
Get the serial number from the certificate to calculate the encoding size.
Fix making of the certificate to copy serial number out if not already set.
|
2020-08-06 08:52:21 +10:00 |
Ethan Looney
|
9671901de6
|
Added a free call to SetSubjectBuffer
|
2020-08-05 15:52:09 -07:00 |
Sean Parkinson
|
83caf39caa
|
SP ECC Cache Resitance
SP ECC improved cache attack resistant implementation.
On by defualt and turn off with WC_NO_CACHE_RESISTANT.
|
2020-08-06 08:21:08 +10:00 |
Chris Conlon
|
e5e87db6aa
|
add HAVE_EX_DATA, OPENSSL_ALL, HAVE_ALPN to enable-jni configure option
|
2020-08-05 15:43:26 -06:00 |
David Garske
|
c421445ba9
|
Added no SHA-1 hash support for OPENSSL compatibility. Fix for `./configure --enable-opensslextra --disable-sha`. This allows using SHA2-256 for the hashing including the derived `issuerHash` and `subjectHash`. Adds issuer hash openssl compatibility function `X509_issuer_name_hash`.
|
2020-08-05 14:43:24 -07:00 |
Daniel Pouzzner
|
ffa2cdd2d1
|
add public function wc_curve25519() "compute the public key from an existing private key, using bare vectors."; rename existing _LOCAL functions wc_curve25519_GetBasePoint() and wc_curve25519() to nxp_ltc_curve25519_GetBasePoint() and nxp_ltc_curve25519() respectively; add const qualifiers opportunistically to existing _LOCAL function curve25519()
|
2020-08-05 16:28:17 -05:00 |
Ethan Looney
|
49e5d8efea
|
Added additional ifdef's to Ed25519 functions and cast derSz to word32
|
2020-08-05 12:31:50 -07:00 |
Ethan Looney
|
633e950942
|
Added asn.c unit tests
|
2020-08-05 10:57:32 -07:00 |
Chris Conlon
|
d12b80abdf
|
Merge pull request #3192 from ethanlooney/21st_branch
Added check for wolfmath.c for digits == 0 and test for api.c
|
2020-08-05 09:51:51 -06:00 |
JacobBarthelmeh
|
1034139214
|
Merge pull request #3081 from kaleb-himes/GH2998_REWORK_FOLLOWUP
Cleanup of example client/server buffer sizes
|
2020-08-05 09:31:30 -06:00 |
Sean Parkinson
|
6c4bcb3b59
|
tfm: Check for overflow and return error (fixed max size)
|
2020-08-05 10:42:32 +10:00 |
Tesfa Mael
|
5d7649c959
|
Review comment in sp_int file
|
2020-08-04 15:37:20 -07:00 |