Jacob Barthelmeh
|
83a150c4df
|
stream of PKCS7 decode encrypted
|
2018-11-06 18:35:12 -08:00 |
|
Chris Conlon
|
06a6f8400b
|
add CMS AuthEnvelopedData support for authAttrs
|
2018-11-06 18:35:12 -08:00 |
|
Chris Conlon
|
0b3930e24f
|
save and set PKCS7 isDynamic flag in wc_PKCS7_Init
|
2018-11-06 18:35:12 -08:00 |
|
David Garske
|
efb1efcc0d
|
Fixes and additional tests for compatibility function BN_bn2hex. In the DEBUG_WOLFSSL case it was returning a (char*)"", which was trying to be free'd. We cannot return const char* here, since its assumed to be an allocated pointer. Fix the dynamic type for XMALLOC/XFREE to match, since OPENSSL_free is used to free returned value. Fix to add room for null term. Added missing API unit test for BN_print_fp. Exposed these functions for OPENSSL_EXTRA.
|
2018-11-06 05:55:25 -08:00 |
|
JacobBarthelmeh
|
1ffc1108a6
|
Merge pull request #1906 from cconlon/selftest-fixes
fixes for CAVP selftest build errors
|
2018-11-01 11:31:39 -06:00 |
|
Jacob Barthelmeh
|
6dd4fba888
|
fix for clang warning
|
2018-10-30 17:41:03 -06:00 |
|
Jacob Barthelmeh
|
cc3ccbaf0c
|
add test for degenerate case and allow degenerate case by default
|
2018-10-30 17:04:33 -06:00 |
|
Chris Conlon
|
def7a91e70
|
fix CAVP selftest build errors
|
2018-10-30 16:35:45 -06:00 |
|
David Garske
|
86758f9640
|
Fixes for key size detection when using PK callbacks (HSM) and no private key has been loaded (affects HAVE_PK_CALLBACKS on server side only when no dummy private key is loaded). Fix for possible leak during ECC min key size failure with small stack. Added new API wc_RsaPublicKeyDecode_ex for parsing an RSA public key for the modulus and exponent. Changed wolfSSL_CTX_SetTmpEC_DHE_Sz to support a size == 0 for using the long-term private key's size. Changed ECDHE_SIZE so it can be overridden and build-time. Added tests for wolfSSL_CTX_SetTmpEC_DHE_Sz and wolfSSL_SetTmpEC_DHE_Sz.
|
2018-10-25 09:15:23 -07:00 |
|
toddouska
|
878b5925fc
|
Merge pull request #1877 from dgarske/pkcs8_ec
Added support for ECC private key with PKCS8 encoding
|
2018-10-22 14:59:10 -07:00 |
|
David Garske
|
7ce236f3af
|
Fix for new test_wolfSSL_PKCS8 changes to init/free the ecc_key.
|
2018-10-19 16:04:02 -07:00 |
|
David Garske
|
095337b1cf
|
Merge pull request #1878 from kaleb-himes/TEST_COVERAGE_3
Test coverage 3
|
2018-10-17 13:47:10 -07:00 |
|
toddouska
|
dcb105deff
|
Merge pull request #1876 from dgarske/max_frag_256
Added new 256-byte max fragment option `WOLFSSL_MFL_2_8`
|
2018-10-17 13:21:57 -07:00 |
|
David Garske
|
8b529d3d57
|
Add test for ECC private key with PKCS 8 encoding (no crypt) and -----BEGIN EC PRIVATE KEY----- header.
|
2018-10-17 10:01:29 -07:00 |
|
kaleb-himes
|
5ca822b1e9
|
Peer review changes requested
|
2018-10-17 10:46:45 -06:00 |
|
kaleb-himes
|
2aa6f91144
|
Reset IV after update via call to encrypt
|
2018-10-16 18:31:16 -06:00 |
|
David Garske
|
ab61cefa58
|
Fix max frag error case tests to use min/max.
|
2018-10-16 08:58:46 -07:00 |
|
David Garske
|
4adaeb8585
|
Added new 256-byte max fragment option WOLFSSL_MFL_2_8.
|
2018-10-15 17:06:21 -07:00 |
|
David Garske
|
d67cb9e875
|
Added new build option for Microchip CryptoAuthLib (--enable-cryptoauthlib). Build fixes with WOLFSSL_ATECC508A enabled.
|
2018-10-15 14:17:43 -07:00 |
|
toddouska
|
0b78b75530
|
Merge pull request #1860 from dgarske/tls_either_side
Methods cleanup and new DTLS "either" side methods
|
2018-10-12 07:35:17 -07:00 |
|
kaleb-himes
|
f9ff151ee7
|
wolfSSL_AES_cbc_encrypt unit test refactor, TODO: Decrypt
|
2018-10-10 16:16:57 -04:00 |
|
kaleb-himes
|
23797ab4cb
|
wolfSSL_AES_cbc_encrypt unit tests, TODO: Decrypt
|
2018-10-10 15:59:10 -04:00 |
|
Tesfa Mael
|
5d047cc4d9
|
Added test_wc_curve25519_size to increase code coverage
|
2018-10-10 12:46:25 -07:00 |
|
Tesfa Mael
|
8f1ad656c2
|
Improving code coverage
|
2018-10-09 16:13:26 -07:00 |
|
Kaleb Himes
|
c6e3e34ff7
|
Remove unused macro
|
2018-10-08 09:35:37 -06:00 |
|
kaleb-himes
|
66420db07c
|
Initializing coverage for CRL APIs
|
2018-10-05 15:05:03 -06:00 |
|
David Garske
|
bbdb17975c
|
Adds build option WOLFSSL_EITHER_SIDE for deferring the "side" of the TLS session until first connect or accept. Added the DTLS generic v1.0 and v1.2 methods for "either" side. Added "either" methods unit tests. Added "either" -v e support to example client/server. Fix to expose wolfSSL_use_certificate_file and wolfSSL_use_PrivateKey_file without OPENSSL_EXTRA. Cleanup of the methods for (void)heap and log messages. Spelling fixes.
|
2018-10-04 15:47:50 -07:00 |
|
kaleb-himes
|
08654ce71d
|
Start hitting up the stubs, more to come
|
2018-10-03 17:01:12 -06:00 |
|
kaleb-himes
|
1f643800a6
|
Add more coverage cases to unit tests
|
2018-09-28 15:32:16 -06:00 |
|
Chris Conlon
|
d30c45a79c
|
Merge pull request #1637 from ghoso/openssl_compat201805
OpenSSL Compatibility APIs 2018/06
|
2018-09-26 14:54:14 -06:00 |
|
David Garske
|
6e629a51f8
|
Added test case for scenario where error is pushed, cleared then try to get current. Without fix to clear wc_current_node in wc_ClearErrorNodes this causes access to invalid/free'd memory.
|
2018-09-26 08:16:58 -07:00 |
|
Go Hosohara
|
52b5fe569b
|
restore PR#1819 to pass Jenkins tests.
|
2018-09-25 18:04:27 +09:00 |
|
Go Hosohara
|
cfa99c567b
|
merge PR #1820 Porting aid
|
2018-09-25 15:39:56 +09:00 |
|
Go Hosohara
|
ca9f62713d
|
fix test_wolfSSL_CTX_load_verify_locations() build error
|
2018-09-25 15:39:56 +09:00 |
|
Takashi Kojo
|
cf5377ec5b
|
Revert "fix api.c error code to fit into"
This reverts commit 9eddc2ed3598dbede3c6a3aa1e0b50e111369d63.
|
2018-09-25 15:39:56 +09:00 |
|
Takashi Kojo
|
921992e689
|
fix api.c error code to fit into
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
c28e981b9b
|
avoid shadow
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
93e1221894
|
WOLFSSL_KEEP_STORE_CERTS for X509_STOREmake
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
9ea88b5181
|
wc_PKCS12_free, EVP_PKEY_free for PKCS12 in test_wolfSSL_OBJ
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
9ae3ccb3ba
|
OBJ_sn2nid with OPENSSL_EXTRA_X509_SMALL
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
094141b4ea
|
initiallizing asn1Name
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
7d2a03f8c9
|
OBJ_obj2nid memory leak
|
2018-09-25 15:39:55 +09:00 |
|
Go Hosohara
|
2669b80943
|
Fix crashed issue if you call X509_free() after X509_STOER_CTX_free()
|
2018-09-25 15:39:55 +09:00 |
|
Go Hosohara
|
5de7a34fd4
|
Add memory free to prevent from leaking
|
2018-09-25 15:39:55 +09:00 |
|
Go Hosohara
|
1c627430c7
|
increase wolfcrypt test program memory size along to WOLFSSL structure modificaiton.
rebase with master branch
|
2018-09-25 15:39:55 +09:00 |
|
Go Hosohara
|
1d1f4df8cb
|
Fix XBADFILE typo
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
7af43b6cf0
|
test_wolfSSL_OBJ with NO_DES3, NO_RSA
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
c673884cbb
|
#ifdef HAVE_ECC to OBJ_nid2obj, and its test in api.c
|
2018-09-25 15:39:55 +09:00 |
|
Takashi Kojo
|
4d03b55fef
|
XBADFILE in bio.c
|
2018-09-25 15:39:55 +09:00 |
|
Go Hosohara
|
fd01659baa
|
Obj_obj2nid
|
2018-09-25 15:39:55 +09:00 |
|