Daniel Pouzzner
9ac6bdd438
fixes and suppressions for defects reported by clang-analyzer-unix.Stream (new in llvm-19.0.0_pre20240504):
...
* added POSIX definitions for XFEOF(), XFERROR(), and XCLEARERR(), currently with no-op fallbacks for !POSIX.
* added missing file handle checks in testsuite/testsuite.c:file_test() and tests/utils.h:copy_file().
* added fixes and suppression around tests/api.c:test_wolfSSL_SMIME_read_PKCS7().
* added various fixes in examples/asn1/asn1.c and examples/pem/pem.c.
2024-05-11 15:24:54 -05:00
Daniel Pouzzner
cb689104d1
Merge pull request #7466 from julek-wolfssl/gh/7273
...
Mark all record sequence numbers before stateful parsing as read
2024-05-09 13:57:13 -04:00
Daniel Pouzzner
2335eb6bc6
Merge pull request #7488 from SparkiDev/asn_template_debug_fix
...
Asn template debug fix
2024-05-09 12:16:51 -04:00
philljj
2ed2da0a8f
Merge pull request #7515 from douzzer/20240509-fix-linuxkm-x86_vector_register_glue
...
20240509-fix-linuxkm-x86_vector_register_glue
2024-05-09 11:53:36 -04:00
Sean Parkinson
b62e8c1467
ASN template debug compile error
...
Variable is length instead of len.
2024-05-09 10:44:36 -05:00
Daniel Pouzzner
611a1642a1
linuxkm/include.am: add linuxkm/x86_vector_register_glue.c to EXTRA_DIST.
2024-05-09 02:03:16 -05:00
Daniel Pouzzner
f7e1e370a0
Merge pull request #7438 from julek-wolfssl/zephr-no-malloc
...
zephyr no malloc
2024-05-09 02:57:20 -04:00
Daniel Pouzzner
10b31cc481
Merge pull request #7507 from rizlik/update_err_code_cert
...
tls13: update error code to NO_CERT_ERROR when no cert is set
2024-05-09 01:38:26 -04:00
Daniel Pouzzner
af928faca7
Merge pull request #7489 from anhu/zero_len_hash
...
Allow for zero length hash. Its not an error.
2024-05-09 01:34:24 -04:00
Daniel Pouzzner
d53abc2e37
Merge pull request #7441 from kareem-wolfssl/zd17857
...
Allow using wolfSSL_CTX_set_default_verify_paths without WOLFSSL_SYS_CA_CERTS defined.
2024-05-09 00:38:04 -04:00
philljj
ac17616873
Merge pull request #7514 from douzzer/20240508-linuxkm-x86_vector_register_glue
...
20240508-linuxkm-x86_vector_register_glue
2024-05-08 21:45:39 -04:00
Daniel Pouzzner
5a784c818d
Merge pull request #7319 from SparkiDev/chacha_poly1305_asm_msvc
...
ChaCha20, Poly1305 ASM for MSVC
2024-05-08 19:03:56 -04:00
Daniel Pouzzner
76b302381b
Merge pull request #7484 from SparkiDev/mem_fail_fixes_1
...
Mem fail fix: ProcessingBuffer()
2024-05-08 18:36:45 -04:00
Daniel Pouzzner
bc8664164b
linuxkm: move the *SAVE_VECTOR_REGISTERS* code from linuxkm/linuxkm_memory.c to linuxkm/x86_vector_register_glue.c, to move various fidgity/unstable kernel function calls outside the PIE wolfCrypt container.
2024-05-08 16:18:33 -05:00
Sean Parkinson
52861cbdbf
Merge pull request #7476 from per-allansson/one-crl-to-rule-them-all
...
An expired CRL should not override a successful match in other CRL
2024-05-08 09:47:22 +10:00
Daniel Pouzzner
97110700b2
Merge pull request #7430 from jpbland1/check-session-setup
...
Add `wolfSSL_SessionIsSetup`
2024-05-07 13:51:33 -04:00
András Fekete
33817747c4
Merge pull request #7506 from julek-wolfssl/gh/no-main
...
Don't use main.yml since it has a limit of 20 jobs
2024-05-07 09:22:56 -04:00
Juliusz Sosinowicz
14ce8ce198
Jenkins fixes
2024-05-07 11:46:36 +02:00
Marco Oliverio
b0c991eeb2
tls13: update error code to NO_CERT_ERROR when no cert is set
2024-05-07 10:55:48 +02:00
Juliusz Sosinowicz
589bdba256
Apply suggestions from code review
...
Co-authored-by: Bill Phipps <bill@wolfssl.com >
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
77a6481d65
fixup! Add testing for zephyr no malloc
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
d7361b3677
Increase zephyr thread sample memory
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
8d8f4d4e1e
fixup! zephyr no malloc
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
cbd490d1d7
fixup! zephyr no malloc
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
550d9ad9a4
Add testing for zephyr no malloc
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
7ed5e0b3ba
zephyr no malloc
...
- cert gen
- csr gen
- pkcs12
- Compiles for Zephyr 3.4.0 and 2.7.4
- Add support for CONFIG_POSIX_API
2024-05-07 10:38:01 +02:00
Juliusz Sosinowicz
2ffb5cc16c
Move haproxy.yml to disabled directory
2024-05-07 10:31:04 +02:00
Daniel Pouzzner
4e6a34504d
Merge pull request #7500 from SparkiDev/lms_xmss_move_wolfcrypt
...
LMS, XMSS: move code into wolfCrypt
2024-05-07 01:12:18 -04:00
Chris Conlon
95abc1074b
Merge pull request #7278 from JacobBarthelmeh/pkcs7-validate
...
add guard around public key validation on import
2024-05-06 13:51:29 -06:00
JacobBarthelmeh
7bc73d351f
Merge pull request #7504 from ejohnstown/generic-pool-fix
...
Generic Memory Pools Fix
2024-05-06 13:11:47 -06:00
Juliusz Sosinowicz
7206508329
Don't use main.yml since it has a limit of 20 jobs
2024-05-06 17:18:01 +02:00
John Safranek
195bbcc315
Generic Memory Pools Fix
...
1. Add some expository comments describing the purpose of:
* WOLFMEM_MAX_BUCKETS
* WOLFMEM_DEF_BUCKETS
* WOLFMEM_BUCKETS
* WOLFMEM_DIST
2. Switch the API test for LoadStaticMemory() to named constants.
3. Delete redundant test case. Add a new test case.
4. In the wolfCrypt test for the memory constants, check the sizes of
the WOLFMEM_BUCKETS and WOLFMEM_DIST lists against
WOLFMEM_DEF_BUCKETS which should be their length. Check that
WOLFMEM_DEF_BUCKETS is not greater than WOLFMEM_MAX_BUCKETS.
5. Default for WOLFMEM_MAX_BUCKETS should be WOLFMEM_DEF_BUCKETS, set it
to what is specified. Add a warning if MAX is less than DEF.
6. Separate the definition of the constant LARGEST_MEM_BUCKET so it is
dependent on config and not if WOLFMEM_BUCKETS isn't set.
2024-05-03 16:15:38 -07:00
JacobBarthelmeh
081731be8b
Merge pull request #7392 from gojimmypi/PR-Espressif-wolfcrypt-test
...
Update Espressif Examples and Libraries
2024-05-03 15:31:23 -06:00
Sean Parkinson
e47f1d4190
LMS, XMSS: move code into wolfCrypt
...
Move implementations of LMS and XMSS into wolfCrypt and use by default.
2024-05-03 15:43:22 +10:00
Per Allansson
b88803cbb3
Fix formatting
2024-05-03 06:43:15 +02:00
philljj
d22991bb03
Merge pull request #7499 from douzzer/20240502-test_server_loop-double-close
...
20240502-test_server_loop-double-close
2024-05-02 23:53:04 -04:00
Daniel Pouzzner
0c1d583ab4
tests/api.c: fix double close in test_server_loop().
2024-05-02 19:07:36 -05:00
Sean Parkinson
51b85ee1e3
Merge pull request #7490 from dgarske/ecc_curvecache_nomalloc
...
Support for ECC_CACHE_CURVE with no malloc
2024-05-02 07:17:01 +10:00
Sean Parkinson
75b178f666
Merge pull request #7492 from JacobBarthelmeh/porting
...
remove assumption of struct layout
2024-05-02 07:14:06 +10:00
philljj
b61a6baf2b
Merge pull request #7497 from douzzer/20240501-fix-pqcrypto-private_key-callback-names
...
20240501-fix-pqcrypto-private_key-callback-names
2024-05-01 16:02:29 -04:00
András Fekete
ba89e0786d
Merge pull request #7498 from douzzer/20240501-openssl-sha3-sizeof-fix
...
20240501-openssl-sha3-sizeof-fix
2024-05-01 15:50:17 -04:00
Daniel Pouzzner
678038a077
wolfssl/openssl/sha3.h: use sizeof(wc_Sha3), not sizeof(struct wc_Sha3), for compatibility with afalg_hash.h and other ports that don't define a struct wc_Sha3.
2024-05-01 14:19:32 -05:00
Daniel Pouzzner
5905f9289d
fix namespace collision: rename types read_private_key_cb and write_private_key_cb to wc_{lms,xmss}_read_private_key_cb and wc_{lms,xmss}_write_private_key_cb.
2024-05-01 13:58:57 -05:00
András Fekete
866468ec2c
Merge pull request #7496 from douzzer/20240501-xilinx-wc_Sha3
...
20240501-xilinx-wc_Sha3
2024-05-01 14:51:56 -04:00
Daniel Pouzzner
a25644c379
Merge pull request #7495 from bandi13/fixWindowsNetdb_h
...
Fix windows 'gethostbyname' declaration
2024-05-01 14:16:45 -04:00
Daniel Pouzzner
7f6f824594
wolfssl/wolfcrypt/port/xilinx/xil-sha3.h: fix struct name -- struct wc_Sha3, not struct Sha3.
2024-05-01 12:47:23 -05:00
Andras Fekete
c3131b3234
Fix windows 'gethostbyname' declaration
2024-05-01 13:37:22 -04:00
David Garske
3afa420c31
Add option NO_ECC_CACHE_CURVE to allow disabling ECC curve cache with async.
2024-05-01 07:25:28 -07:00
Sean Parkinson
e45686cce9
Merge pull request #7494 from douzzer/20240430-xmss-analyzer-cleanups
...
20240430-xmss-analyzer-cleanups
2024-05-01 14:36:46 +10:00
Daniel Pouzzner
fa30d3ae0b
wolfcrypt/benchmark/benchmark.c: fixes for clang-analyzer-deadcode.DeadStores in bench_xmss_sign_verify();
...
wolfcrypt/test/test.c: fix for invalidPrintfArgType_sint in xmss_test_verify_only().
2024-04-30 22:48:48 -05:00