toddouska
|
b9d3db8b47
|
Merge pull request #800 from SparkiDev/no_fs
If there is no filesystem then still compile and run
|
2017-03-17 12:08:49 -07:00 |
|
Sean Parkinson
|
d22dcdb78d
|
If there is no filesystem then still compile and run
Defaults to 2048-bit FF and 256-bit EC keys.
|
2017-03-16 16:00:31 +10:00 |
|
Chris Conlon
|
a13cce9213
|
allow ECC private key only import
|
2017-03-15 16:04:17 -06:00 |
|
toddouska
|
f38d23a315
|
Merge pull request #791 from dgarske/fix_ecc_test_curve_idx
Fix wc_ecc_export_point_der to use curve_id
|
2017-03-14 19:22:53 -07:00 |
|
Sean Parkinson
|
003e18ecbc
|
Fixes for scan-build
|
2017-03-15 09:38:53 +10:00 |
|
toddouska
|
7bef7aaa81
|
Merge pull request #792 from SparkiDev/valgrind
Fix valgrind issues
|
2017-03-14 13:50:26 -07:00 |
|
toddouska
|
4210ce0f67
|
Merge pull request #789 from SparkiDev/jenkins
Fixes for extended configuration testing
|
2017-03-14 10:00:39 -07:00 |
|
David Garske
|
0eb01698f4
|
Fix for wolfCrypt ECC import/export point test to not use const idx and instead lookup using the “ecc_curve_id” enum value. Added new “wc_ecc_get_curve_idx” and “wc_ecc_get_curve_id” API’s. Redirected duplicate ECC function “wc_ecc_get_curve_name_from_id” to “wc_ecc_get_name”. Added “ECC_CURVE_INVALID” to indicate invalid curve_id.
|
2017-03-13 19:58:15 -07:00 |
|
Sean Parkinson
|
81731df72f
|
Fix valgrind issues
Test program was re-using RSA and ECC key with multiple imports ops.
wc_RsaPublicKeyDecode() leaked if n parseable but not e.
|
2017-03-14 09:47:34 +10:00 |
|
David Garske
|
e98a0465ae
|
tenAsys INtime RTOS port. Porting complete for mutex semaphores, threading, file, socket and RNG. Added projects for libwolfssl and wolfExamples. The wolfExamples project includes examples for wolfCrypt Test/Benchmark and wolfSSL TLS client/server. Provided reference user_settings.h with comments and enable/disable gates. Added README.md with overview and instructions. Fixed issue building master with NO_WOLFSSL_DIR defined. Added check if old TLS is enabled that SHA and MD5 are enabled. Cleanup of the wolfCrypt test use of USE_CERT_BUFFERS with file system enabled.
|
2017-03-13 09:48:55 -07:00 |
|
Sean Parkinson
|
614231f71c
|
Fixes for extended configuration testing
|
2017-03-13 11:33:39 +10:00 |
|
Jacob Barthelmeh
|
93f1e7cf2e
|
remove magic number in test case
|
2017-03-10 13:16:22 -07:00 |
|
Jacob Barthelmeh
|
bb81ea804c
|
add AES get key to ARMv8 port and add check for BASE 64 encode to tests
|
2017-03-10 09:55:27 -07:00 |
|
Jacob Barthelmeh
|
e8d97c9b1e
|
make test buffers large enough for results
|
2017-03-10 09:36:29 -07:00 |
|
Sean Parkinson
|
5c9eedbf69
|
Fixes from merge of test coverage changes
Include new certificates in distribution.
Casting changes for clang.
Extra error code - recognize in test.
|
2017-03-10 09:15:18 +10:00 |
|
toddouska
|
2444a55afe
|
Merge pull request #708 from SparkiDev/test_cov
Extend testing for coverage
|
2017-03-09 12:52:17 -08:00 |
|
toddouska
|
c1c7c90345
|
add defined for default AES AUTH_TAG_MIN_SZ
|
2017-03-01 11:17:24 -08:00 |
|
Sean Parkinson
|
7ca19f9fff
|
Protect other call to wc_EccPublicKeyDecode
|
2017-03-01 09:37:18 +10:00 |
|
Sean Parkinson
|
292a17fff8
|
wc_EccPublicKeyDecode changes from review
|
2017-03-01 09:37:18 +10:00 |
|
Sean Parkinson
|
455fb96faa
|
Extend testing for coverage
|
2017-03-01 09:37:18 +10:00 |
|
David Garske
|
9c7407d18c
|
Added return codes to wc_InitDhKey, wc_InitDsaKey and mp_set. Added missing return code checks on mp_copy in ecc.c. Fixed build with DSA and no ECC where mp_set function def would be missing.
|
2017-02-21 14:03:21 -08:00 |
|
Sean Parkinson
|
3e6ef835b1
|
Free the ecc keys
|
2017-02-17 12:06:27 -08:00 |
|
Sean Parkinson
|
24cd46f1f1
|
Fixes from code review
|
2017-02-17 11:05:29 -08:00 |
|
David Garske
|
d625645338
|
Refactor to combine ECC-CDH with existing “wc_ecc_shared_secret()” and use flag to perform cofactor computation on private key. Added new API “wc_ecc_set_flags()” and flag “WC_ECC_FLAG_COFACTOR” to indicate key should use cofactor. Added NIST CAVS test vector for ECC CDH Primitive with P-256.
|
2017-02-16 16:30:30 -08:00 |
|
David Garske
|
39607984f7
|
Added ECC Cofactor DH (ECC-CDH) support with new “wc_ecc_cdh()” and “wc_ecc_cdh_ex()” API’s. Enable using “HAVE_ECC_CDH” define.
|
2017-02-16 13:17:08 -08:00 |
|
Jacob Barthelmeh
|
6a6e61f1d8
|
wolfCrypt cleanup in test.c moved and add wolfSSL init to testsuite with single threaded
|
2017-02-08 18:52:16 -07:00 |
|
toddouska
|
ef38ab8fc5
|
Merge pull request #701 from JacobBarthelmeh/mutex
better compatibility with printing errors to a file
|
2017-02-08 11:12:17 -08:00 |
|
Jacob Barthelmeh
|
fc899029fb
|
account for unaligned memory when computing optimum size and update static memory tests
|
2017-01-27 10:50:47 -07:00 |
|
David Garske
|
1afe613512
|
Fixes for building with NO_AES_DECRYPT. Added new HAVE_AESGCM_DECRYPT to allow AES GCM Decrypt with NO_AES_DECRYPT defined, since GCM uses only encrypt routine. Only allow TLS AES if NO_AES_DECRYPT is not defined.
|
2017-01-18 15:56:18 -08:00 |
|
Sean Parkinson
|
ba1315a499
|
Fixes from failure testing
|
2017-01-12 16:22:35 +10:00 |
|
toddouska
|
fc8ab42612
|
Merge pull request #671 from dgarske/ecc_curve_cache
New ECC curve cache feature to improve performance
|
2017-01-11 13:34:32 -08:00 |
|
Jacob Barthelmeh
|
4be5f624e8
|
include logging.h in test.c
|
2017-01-06 16:40:19 -07:00 |
|
Jacob Barthelmeh
|
dcb9ef6651
|
better compatibility with printing errors to a file
|
2017-01-06 14:29:16 -07:00 |
|
Takashi Kojo
|
c57803a4a5
|
add test EVP_CIPHER_CTX_new/free
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
1704a8d683
|
expand compatibility layer with write bio function
|
2016-12-28 14:45:29 -07:00 |
|
Takashi Kojo
|
4baf494ddd
|
add EVP_CipherUpdate/Final
|
2016-12-28 14:45:29 -07:00 |
|
Jacob Barthelmeh
|
526b602ebd
|
AESNI support with EVP AES
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
86014fb0d0
|
add BIO_ctrl and other BIO templates
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
8ed0b83c21
|
Test on EVP_Cipher AES Counter
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
aed9b2d3bb
|
add EVP_CIPHER_CTX_block_size/mode/set_flags/set_padding
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
bb400789b8
|
add EVP_Cipher with EVP_aes_256_ecb()
|
2016-12-28 14:44:05 -07:00 |
|
Takashi Kojo
|
0fd50cd57a
|
Added AES_set_encrypt/decrypt_key, AES_ecnrypt/decrypt
|
2016-12-28 14:44:05 -07:00 |
|
Jacob Barthelmeh
|
1c17b8eed6
|
static analysis check of null dereference and memory management
|
2016-12-21 16:20:18 -07:00 |
|
David Garske
|
6cc1fd293e
|
Fixed issue with stack increase with curve cache disabled. Fixed issue with missing wc_ecc_curve_free() in wc_ecc_verify_hash_ex() causing mem leak. Changed ecc_curve_spec_cache to be allocated per curve. Added new wc_ecc_curve_cache_free() API to release all curve cache memory. Moved ecc_curve_spec struct and ecc_curve_load_mask enum to ecc.c. Add missing wc_ecc_fp_free() to wolfCrypt test. Added ecc.c comment for FP_ECC.
|
2016-12-21 12:31:02 -08:00 |
|
toddouska
|
6cefca6a49
|
Merge pull request #672 from cconlon/pkcs7fix
PKCS#7: fixes for building with AES disabled, smallstack
|
2016-12-19 13:46:35 -08:00 |
|
toddouska
|
50cf1df8da
|
Merge pull request #669 from SparkiDev/scrypt
Implementation of scrypt
|
2016-12-16 15:53:48 -08:00 |
|
Chris Conlon
|
c5fbf96557
|
PKCS#7: fixes for building with AES disabled, smallstack
|
2016-12-16 15:58:18 -07:00 |
|
toddouska
|
d0533c6dad
|
Merge pull request #664 from cconlon/pkcs7
PKCS#7/CMS expansion
|
2016-12-15 12:01:00 -08:00 |
|
Sean Parkinson
|
20887a8c35
|
Implementation of scrypt
Tests and benchmarking added.
Configure with --enable-scrypt and requires --enable-pwdbased
|
2016-12-14 16:57:41 +10:00 |
|
Chris Conlon
|
e5d1e3ae10
|
PKCS#7: only output test bundles when PKCS7_OUTPUT_TEST_BUNDLES is defined
|
2016-12-13 15:27:46 -07:00 |
|