Hugo Landau
572c449a10
QUIC TXP: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
4a3a9257db
QUIC QTX: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
484b8bd0f5
QUIC FIFD: Allow QLOG instance to be changed after instantiation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
ba8b093be7
QLOG: Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
ae300c0d5e
Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
a70665852c
QLOG: Treat empty environment variable as default filter
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
de60b122b2
QLOG: Editorial fixes (QLOG is spelled 'qlog')
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:29 +00:00
Hugo Landau
82973bcf87
QLOG: Add manpage openssl-qlog(7)
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
d8b405a27c
QLOG: Adjust CHANGES.md for editorial consistency
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
000e72ecda
Mention QLOG in INSTALL.md
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
c3f95327c6
Configure: Add warning when enabling QLOG
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
39b9345234
JSON_ENC: Minor tweaks
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
613917ea0c
QUIC QLOG: Clarify filter docs
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
9dcad79795
QUIC QLOG: Rename QFILTER to OSSL_QFILTER
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:03 +00:00
Hugo Landau
f8fdc73e5b
QLOG: Add CHANGES entry
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:50:02 +00:00
Hugo Landau
5b8f7ae354
QLOG: Remove vestigial abort code
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
0e6eb431e8
QLOG: Fix bit_set
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
29bd1e2d24
QLOG: Minor updates
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
43a128875d
QLOG: Minor fixes after port refactor
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
b3706fd7e2
QLOG: JSON Encoder: Rename JSON_ENC
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
0f4f9902cc
QLOG: Add debugging guide
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
5849dbe52e
QLOG: Events: Implement transport:packet_received
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
fff66adfc8
QLOG: Events: Implement transport:packet_sent
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
434d52a4b6
QLOG: Wiring: QUIC QTX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
b7c7997375
QLOG: QUIC MULTISTREAM TEST: Pass script name to QLOG
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
fb1a0bb97a
QLOG: Wire title-setting code to QUIC_CHANNEL and SSL_CTX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
407bcc8d55
QLOG: QUIC CHANNEL: Allow a log title to be specified
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
faf0912a2f
QLOG: Events: Implement recovery:packet_lost
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
40c835dac7
QLOG: Wiring: QUIC TXPIM: Record the packet type
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
3e52878039
QLOG: Wiring: QUIC FIFD
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
285a76bda0
QLOG: Wiring: QUIC QRX: Report the datagram ID from the DEMUX
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
266a827d81
QLOG: Wiring: QUIC DEMUX: Report a monotonically increasing datagram ID
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
a0a3a94912
QLOG: Events: Implement connectivity:connection_closed
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
da6a9a2e33
QLOG: Events: Implement transport:parameters_set
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
8fbac4d70e
QLOG: Events: Implement connectivity:connection_state_updated
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
4cecbc5400
QLOG: Events: Implement connectivity:connection_started
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
2031c0e928
QLOG: Wiring: QUIC CHANNEL
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
00b27f33e6
QLOG: Frontend: Implementation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
c127e76445
QLOG: Frontend: API Definition
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
76989370bc
QLOG: Frontend: Design
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
1b39eab7aa
QLOG: JSON Encoder: Tests
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
9c89b9fe1b
QLOG: JSON Encoder: Implementation
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
c0af01f349
QLOG: Configuration
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
8a123d4342
QLOG: JSON Encoder: Design
...
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037 )
2024-02-02 11:49:34 +00:00
Hugo Landau
89dd87e1e8
libssl: Make some global mutable structures constant
...
x
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23450 )
2024-02-02 09:10:12 +00:00
Randall S. Becker
99fb31c167
Add atexit configuration option to using atexit() in libcrypto at build-time.
...
This fixes an issue with a mix of atexit() usage in DLL and statically linked
libcrypto that came out in the test suite on NonStop, which has slightly
different DLL unload processing semantics compared to Linux. The change
allows a build configuration to select whether to register OPENSSL_cleanup()
with atexit() or not, so avoid situations where atexit() registration causes
SIGSEGV.
INSTALL.md and CHANGES.md have been modified to include and describe this
option.
The no-atexit option has been added to .github/workflows/run-checker-daily.yml.
Fixes : #23135
Signed-of-by: Randall S. Becker <randall.becker@nexbridge.ca>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/23394 )
2024-02-01 20:26:42 -05:00
Matt Caswell
afb19f07ae
Remove a CVE reference from CHANGES/NEWS
...
master/3.2 was never vulnerable to CVE-2023-5678 since it was fixed before
it was released.
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23432 )
2024-02-01 18:30:21 +01:00
Neil Horman
504e72fc1a
Add exemplar use case for rcu locks
...
To demonstrate the use of RCU locks, convert CONF_MOD api to using rcu
rather than RW locks
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22729 )
2024-02-01 08:33:25 -05:00
Neil Horman
d0e1a0ae70
RCU lock implementation
...
Introduce an RCU lock implementation as an alternative locking mechanism
to openssl. The api is documented in the ossl_rcu.pod
file
Read side implementaiton is comparable to that of RWLOCKS:
ossl_rcu_read_lock(lock);
<
critical section in which data can be accessed via
ossl_derefrence
>
ossl_rcu_read_unlock(lock);
Write side implementation is:
ossl_rcu_write_lock(lock);
<
critical section in which data can be updated via
ossl_assign_pointer
and stale data can optionally be scheduled for removal
via ossl_rcu_call
>
ossl_rcu_write_unlock(lock);
...
ossl_synchronize_rcu(lock);
ossl_rcu_call fixup
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22729 )
2024-02-01 08:33:25 -05:00
Ingo Franzki
de18dc3a63
Fix typo in CHANGES.md
...
OSSL_PKEY_PARAM_DERIVE_FROM_PQ must be OSSL_PKEY_PARAM_RSA_DERIVE_FROM_PQ
(note the missing '_RSA').
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23438 )
2024-02-01 10:15:11 +01:00