]> git.ipfire.org Git - thirdparty/openssl.git/log
thirdparty/openssl.git
5 months agoQUIC Polling Design Document: Rename OSSL_ -> SSL_ for consistency
Hugo Landau [Fri, 2 Feb 2024 11:06:34 +0000 (11:06 +0000)] 
QUIC Polling Design Document: Rename OSSL_ -> SSL_ for consistency

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23455)

5 months agoQUIC Polling Design: Move around sections a bit
Hugo Landau [Fri, 2 Feb 2024 09:18:20 +0000 (09:18 +0000)] 
QUIC Polling Design: Move around sections a bit

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23455)

5 months agoQUIC Polling Design: Add discussion/rethink of event types
Hugo Landau [Thu, 1 Feb 2024 17:39:53 +0000 (17:39 +0000)] 
QUIC Polling Design: Add discussion/rethink of event types

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23455)

5 months agoQUIC Polling Design: minor fixups
Hugo Landau [Thu, 1 Feb 2024 17:39:36 +0000 (17:39 +0000)] 
QUIC Polling Design: minor fixups

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23455)

5 months agoMinor updates
Hugo Landau [Fri, 12 Apr 2024 15:15:57 +0000 (16:15 +0100)] 
Minor updates

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoMinor fixes and hardening
Hugo Landau [Wed, 10 Apr 2024 07:21:14 +0000 (08:21 +0100)] 
Minor fixes and hardening

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC Server Demo: Use IPv4 only
Hugo Landau [Tue, 9 Apr 2024 12:17:04 +0000 (13:17 +0100)] 
QUIC Server Demo: Use IPv4 only

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoCopyright header
Hugo Landau [Tue, 9 Apr 2024 11:27:58 +0000 (12:27 +0100)] 
Copyright header

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Make QCTX comments clearer
Hugo Landau [Tue, 9 Apr 2024 09:06:43 +0000 (10:06 +0100)] 
QUIC APL: Make QCTX comments clearer

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoMinor doc fix
Hugo Landau [Tue, 9 Apr 2024 08:44:05 +0000 (09:44 +0100)] 
Minor doc fix

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoMinor update
Hugo Landau [Tue, 9 Apr 2024 07:52:04 +0000 (08:52 +0100)] 
Minor update

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Connection acceptance is an I/O operation
Hugo Landau [Tue, 9 Apr 2024 07:44:11 +0000 (08:44 +0100)] 
QUIC APL: Connection acceptance is an I/O operation

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Support SSL_inject_net_dgram for listeners
Hugo Landau [Tue, 9 Apr 2024 07:32:12 +0000 (08:32 +0100)] 
QUIC APL: Support SSL_inject_net_dgram for listeners

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC: Clarify SSL_new_listener API in docs
Hugo Landau [Tue, 9 Apr 2024 07:08:04 +0000 (08:08 +0100)] 
QUIC: Clarify SSL_new_listener API in docs

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: When creating a default XSO, no further streams can arrive after connection...
Hugo Landau [Thu, 4 Apr 2024 11:58:02 +0000 (12:58 +0100)] 
QUIC APL: When creating a default XSO, no further streams can arrive after connection terminastion

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoFix markdown
Hugo Landau [Thu, 4 Apr 2024 11:43:18 +0000 (12:43 +0100)] 
Fix markdown

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Ensure incoming stream data can be drained after connection closure
Hugo Landau [Thu, 4 Apr 2024 11:33:37 +0000 (12:33 +0100)] 
QUIC APL: Ensure incoming stream data can be drained after connection closure

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC: Add demo for QUIC server usage
Hugo Landau [Thu, 4 Apr 2024 11:33:14 +0000 (12:33 +0100)] 
QUIC: Add demo for QUIC server usage

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Revise SSL_pending and SSL_has_pending handling for s_client compat
Hugo Landau [Thu, 4 Apr 2024 11:12:45 +0000 (12:12 +0100)] 
QUIC APL: Revise SSL_pending and SSL_has_pending handling for s_client compat

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC PORT: Ensure reactor waits for listening port correctly
Hugo Landau [Thu, 4 Apr 2024 11:04:26 +0000 (12:04 +0100)] 
QUIC PORT: Ensure reactor waits for listening port correctly

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC REACTOR: Ensure no assertion failure or deadlock if called when unable to wait
Hugo Landau [Thu, 4 Apr 2024 11:03:49 +0000 (12:03 +0100)] 
QUIC REACTOR: Ensure no assertion failure or deadlock if called when unable to wait

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC RADIX TEST: Ensure connection acceptance does not block
Hugo Landau [Thu, 4 Apr 2024 10:51:04 +0000 (11:51 +0100)] 
QUIC RADIX TEST: Ensure connection acceptance does not block

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Support blocking connection acceptance
Hugo Landau [Thu, 4 Apr 2024 10:50:51 +0000 (11:50 +0100)] 
QUIC APL: Support blocking connection acceptance

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Unify event handling mode into QUIC_OBJ
Hugo Landau [Thu, 4 Apr 2024 10:50:08 +0000 (11:50 +0100)] 
QUIC APL: Unify event handling mode into QUIC_OBJ

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Unify blocking mode handling for all object types
Hugo Landau [Thu, 4 Apr 2024 10:30:15 +0000 (11:30 +0100)] 
QUIC APL: Unify blocking mode handling for all object types

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Ensure APL functions use correct prologue
Hugo Landau [Thu, 4 Apr 2024 09:11:49 +0000 (10:11 +0100)] 
QUIC APL: Ensure APL functions use correct prologue

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Make prologue function names more descriptive
Hugo Landau [Thu, 4 Apr 2024 08:04:39 +0000 (09:04 +0100)] 
QUIC APL: Make prologue function names more descriptive

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC APL: Refactor API call prologue code
Hugo Landau [Thu, 4 Apr 2024 08:03:24 +0000 (09:03 +0100)] 
QUIC APL: Refactor API call prologue code

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

5 months agoQUIC RADIX: Fix simple_conn test
Hugo Landau [Mon, 8 Apr 2024 14:12:24 +0000 (15:12 +0100)] 
QUIC RADIX: Fix simple_conn test

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24064)

5 months agoMinor fix
Hugo Landau [Fri, 29 Mar 2024 14:54:33 +0000 (14:54 +0000)] 
Minor fix

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)

5 months agoQUIC APL: Fix default stream creation on server side
Hugo Landau [Thu, 28 Mar 2024 09:15:21 +0000 (09:15 +0000)] 
QUIC APL: Fix default stream creation on server side

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)

5 months agoQUIC APL: Revise SSL_pending and SSL_has_pending handling for s_client compat
Hugo Landau [Thu, 28 Mar 2024 09:00:13 +0000 (09:00 +0000)] 
QUIC APL: Revise SSL_pending and SSL_has_pending handling for s_client compat

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)

5 months agoQUIC: Avoid ticking before a connection is established
Hugo Landau [Fri, 22 Mar 2024 07:24:05 +0000 (07:24 +0000)] 
QUIC: Avoid ticking before a connection is established

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)

5 months agoFix nit
Hugo Landau [Mon, 1 Apr 2024 10:32:49 +0000 (11:32 +0100)] 
Fix nit

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoMinor updates
Hugo Landau [Thu, 28 Mar 2024 08:13:55 +0000 (08:13 +0000)] 
Minor updates

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoAdd README for QUIC demos directory
Hugo Landau [Thu, 21 Mar 2024 11:12:43 +0000 (11:12 +0000)] 
Add README for QUIC demos directory

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoMinor updates
Hugo Landau [Thu, 21 Mar 2024 10:51:06 +0000 (10:51 +0000)] 
Minor updates

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoAmend README
Hugo Landau [Sat, 9 Mar 2024 22:24:58 +0000 (22:24 +0000)] 
Amend README

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add keylogging support
Hugo Landau [Tue, 6 Feb 2024 08:15:27 +0000 (08:15 +0000)] 
QUIC RADIX: Add keylogging support

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Minor fixes
Hugo Landau [Mon, 5 Feb 2024 18:54:38 +0000 (18:54 +0000)] 
QUIC RADIX: Minor fixes

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX TEST: Quiet warnings about uninitialized variables
Hugo Landau [Mon, 5 Feb 2024 18:45:41 +0000 (18:45 +0000)] 
QUIC RADIX TEST: Quiet warnings about uninitialized variables

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add test of multithreading functionality
Hugo Landau [Mon, 5 Feb 2024 18:19:38 +0000 (18:19 +0000)] 
QUIC RADIX: Add test of multithreading functionality

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add README
Hugo Landau [Mon, 5 Feb 2024 17:48:59 +0000 (17:48 +0000)] 
QUIC RADIX: Add README

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add RADIX test framework implementation
Hugo Landau [Mon, 5 Feb 2024 17:48:49 +0000 (17:48 +0000)] 
QUIC RADIX: Add RADIX test framework implementation

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agotestutil: Allow overriding output BIOs thread-locally
Hugo Landau [Mon, 5 Feb 2024 17:35:33 +0000 (17:35 +0000)] 
testutil: Allow overriding output BIOs thread-locally

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add recipe
Hugo Landau [Mon, 5 Feb 2024 17:35:33 +0000 (17:35 +0000)] 
QUIC RADIX: Add recipe

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoQUIC RADIX: Add build configuration
Hugo Landau [Mon, 5 Feb 2024 17:42:30 +0000 (17:42 +0000)] 
QUIC RADIX: Add build configuration

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agotest/build.info: Ensure QUIC tests are properly disabled in no-quic builds
Hugo Landau [Mon, 5 Feb 2024 17:35:33 +0000 (17:35 +0000)] 
test/build.info: Ensure QUIC tests are properly disabled in no-quic builds

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23487)

5 months agoMinor fixes
Hugo Landau [Thu, 21 Mar 2024 10:47:21 +0000 (10:47 +0000)] 
Minor fixes

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoMinor doc fix
Hugo Landau [Thu, 21 Mar 2024 10:44:04 +0000 (10:44 +0000)] 
Minor doc fix

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Avoid having a mutex variable where not needed
Hugo Landau [Sun, 10 Mar 2024 00:29:07 +0000 (00:29 +0000)] 
QUIC APL: Avoid having a mutex variable where not needed

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC OBJ: Use QUIC_OBJ pointer for parent references
Hugo Landau [Sun, 10 Mar 2024 00:19:43 +0000 (00:19 +0000)] 
QUIC OBJ: Use QUIC_OBJ pointer for parent references

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoPost-rebase fixes
Hugo Landau [Sat, 9 Mar 2024 12:16:51 +0000 (12:16 +0000)] 
Post-rebase fixes

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Fix bug around default XSO handling on server side
Hugo Landau [Mon, 5 Feb 2024 17:22:53 +0000 (17:22 +0000)] 
QUIC APL: Fix bug around default XSO handling on server side

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Fix refcounting for listeners
Hugo Landau [Mon, 5 Feb 2024 17:32:51 +0000 (17:32 +0000)] 
QUIC APL: Fix refcounting for listeners

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC PORT: Allow QUIC_PORT to throw away incoming connections
Hugo Landau [Mon, 5 Feb 2024 16:31:23 +0000 (16:31 +0000)] 
QUIC PORT: Allow QUIC_PORT to throw away incoming connections

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Fix server API bugs discovered during test
Hugo Landau [Mon, 5 Feb 2024 16:17:37 +0000 (16:17 +0000)] 
QUIC APL: Fix server API bugs discovered during test

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Implement SSL_get0_listener
Hugo Landau [Mon, 5 Feb 2024 14:38:04 +0000 (14:38 +0000)] 
QUIC APL: Implement SSL_get0_listener

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Free listeners correctly
Hugo Landau [Mon, 5 Feb 2024 14:19:46 +0000 (14:19 +0000)] 
QUIC APL: Free listeners correctly

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Fix QUIC_TLS free order
Hugo Landau [Mon, 5 Feb 2024 13:34:01 +0000 (13:34 +0000)] 
QUIC APL: Fix QUIC_TLS free order

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoMinor fix to BIO refcount handling
Hugo Landau [Thu, 18 Jan 2024 16:33:27 +0000 (16:33 +0000)] 
Minor fix to BIO refcount handling

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoMinor fixes
Hugo Landau [Thu, 18 Jan 2024 15:31:41 +0000 (15:31 +0000)] 
Minor fixes

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Add TODOs for unfinished listener APIs
Hugo Landau [Thu, 18 Jan 2024 15:23:38 +0000 (15:23 +0000)] 
QUIC APL: Add TODOs for unfinished listener APIs

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC: Add manpage for listener API
Hugo Landau [Thu, 18 Jan 2024 14:36:30 +0000 (14:36 +0000)] 
QUIC: Add manpage for listener API

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agomake update
Hugo Landau [Thu, 18 Jan 2024 13:56:24 +0000 (13:56 +0000)] 
make update

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Refactor block_until_pred
Hugo Landau [Thu, 11 Jan 2024 15:22:59 +0000 (15:22 +0000)] 
QUIC APL: Refactor block_until_pred

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Implement base listener API, move addressing mode handling into PORT
Hugo Landau [Thu, 11 Jan 2024 13:20:05 +0000 (13:20 +0000)] 
QUIC APL: Implement base listener API, move addressing mode handling into PORT

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Rework QCTX to support listener calls
Hugo Landau [Thu, 11 Jan 2024 10:21:37 +0000 (10:21 +0000)] 
QUIC APL: Rework QCTX to support listener calls

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Add skeleton listener API methods
Hugo Landau [Thu, 11 Jan 2024 09:33:36 +0000 (09:33 +0000)] 
QUIC APL: Add skeleton listener API methods

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Add skeleton listener API
Hugo Landau [Thu, 11 Jan 2024 09:17:43 +0000 (09:17 +0000)] 
QUIC APL: Add skeleton listener API

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Make use of QUIC_OBJ infrastructure
Hugo Landau [Thu, 11 Jan 2024 09:06:55 +0000 (09:06 +0000)] 
QUIC APL: Make use of QUIC_OBJ infrastructure

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agolibssl: Move SSL object unwrapping macros to separate header
Hugo Landau [Thu, 11 Jan 2024 08:36:15 +0000 (08:36 +0000)] 
libssl: Move SSL object unwrapping macros to separate header

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Introduce the QUIC_OBJ base type and infrastructure
Hugo Landau [Thu, 11 Jan 2024 07:52:43 +0000 (07:52 +0000)] 
QUIC APL: Introduce the QUIC_OBJ base type and infrastructure

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoQUIC APL: Introduce QUIC listener SSL object type (QLSO)
Hugo Landau [Thu, 11 Jan 2024 07:39:10 +0000 (07:39 +0000)] 
QUIC APL: Introduce QUIC listener SSL object type (QLSO)

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

5 months agoFix nit
Hugo Landau [Thu, 18 Jan 2024 12:14:48 +0000 (12:14 +0000)] 
Fix nit

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoFix nit
Hugo Landau [Thu, 9 Nov 2023 07:37:36 +0000 (07:37 +0000)] 
Fix nit

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoFix nit
Hugo Landau [Mon, 16 Oct 2023 12:50:41 +0000 (13:50 +0100)] 
Fix nit

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoUpdates to polling design document
Hugo Landau [Tue, 12 Sep 2023 11:13:10 +0000 (12:13 +0100)] 
Updates to polling design document

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoQUIC Polling Design Document: Add TOC
Hugo Landau [Mon, 4 Sep 2023 13:55:08 +0000 (14:55 +0100)] 
QUIC Polling Design Document: Add TOC

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoQUIC: Update glossary
Hugo Landau [Thu, 18 Jan 2024 10:24:22 +0000 (10:24 +0000)] 
QUIC: Update glossary

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoQUIC Polling Design Document
Hugo Landau [Mon, 4 Sep 2023 13:44:24 +0000 (14:44 +0100)] 
QUIC Polling Design Document

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoQUIC: Minor updates to server API design document
Hugo Landau [Wed, 30 Aug 2023 16:24:24 +0000 (17:24 +0100)] 
QUIC: Minor updates to server API design document

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoQUIC: Server API Design Document
Hugo Landau [Mon, 21 Aug 2023 08:52:20 +0000 (09:52 +0100)] 
QUIC: Server API Design Document

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21795)

5 months agoRemove redundant define
Dmitry Belyavskiy [Fri, 14 Feb 2025 15:51:25 +0000 (16:51 +0100)] 
Remove redundant define

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26755)

5 months agoConsolidate ML-KEM and ML-DSA codecs
Viktor Dukhovni [Fri, 14 Feb 2025 06:22:01 +0000 (17:22 +1100)] 
Consolidate ML-KEM and ML-DSA codecs

These previously duplicated some code and structures, now shared.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/26764)

5 months agoAccessors for the IANA signature scheme name
Viktor Dukhovni [Thu, 13 Feb 2025 15:07:14 +0000 (02:07 +1100)] 
Accessors for the IANA signature scheme name

This is the official name of the signature algorithm(s) used by the peer
and/or local end of the connection, and should be available, e.g. for
logging.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26738)

5 months agoAdd ML-KEM long names
Viktor Dukhovni [Fri, 14 Feb 2025 05:05:02 +0000 (16:05 +1100)] 
Add ML-KEM long names

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26763)

5 months agoDon't use __ATOMIC_ACQ_REL on older compilers
Neil Horman [Thu, 13 Feb 2025 20:52:16 +0000 (15:52 -0500)] 
Don't use __ATOMIC_ACQ_REL on older compilers

Older compilers don't always support __ATOMIC_ACQ_REL, use a lock where
they don't

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/26747)

5 months agoAddress non-FP coverity nits
Viktor Dukhovni [Sat, 15 Feb 2025 04:57:48 +0000 (15:57 +1100)] 
Address non-FP coverity nits

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26765)

5 months agoAdd additional EVP_SKEY helpers
Simo Sorce [Tue, 14 Jan 2025 22:53:28 +0000 (17:53 -0500)] 
Add additional EVP_SKEY helpers

EVP_SKEY_is_a() allows to check if a key is of a specific type.
EVP_SKEY_to_provider() provides an easy way to move a key to a
different provider.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoAllow import of unknown keys via generic type
Simo Sorce [Mon, 13 Jan 2025 23:02:55 +0000 (18:02 -0500)] 
Allow import of unknown keys via generic type

This allows to use SKEY even w/o a specific skey managment available,
however it bears the risk of allowing users to mispell the key type
and not see the error of their ways until they expect a specific
provider to pick this up and fail.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoskeyutl command line utility
Dmitry Belyavskiy [Thu, 23 Jan 2025 11:36:43 +0000 (12:36 +0100)] 
skeyutl command line utility

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoOpaque keys support for the openssl command line
Dmitry Belyavskiy [Thu, 9 Jan 2025 12:54:38 +0000 (13:54 +0100)] 
Opaque keys support for the openssl command line

Support EVP_SKEY object for the `enc` command.
Support EVP_SKEYMGMT for the `list` command.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoImplement EVP_MAC_init_SKEY
Dmitry Belyavskiy [Fri, 15 Nov 2024 16:51:10 +0000 (17:51 +0100)] 
Implement EVP_MAC_init_SKEY

Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoAdd skeymgmt helper to fetch from a provider
Simo Sorce [Tue, 28 Jan 2025 18:06:28 +0000 (13:06 -0500)] 
Add skeymgmt helper to fetch from a provider

This allows to fetch efficiently directly from the same provider that can
handle the EVP_SKEY at hand.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoAdd generic secret skeymgmt provider, skey abstraction and default skeymgmt
Simo Sorce [Tue, 28 Jan 2025 16:19:28 +0000 (11:19 -0500)] 
Add generic secret skeymgmt provider, skey abstraction and default skeymgmt

This commits adds an actual skey wrapper structure and skeymgmt
implementation for the default provider

This allows to use fallbacks for any SKEY operation,
and to use it for keys that do not have a specific purpose and
cipher-suite associated to it.

Add a test with a key type that does not have skey support (DES),
to show that the fallback works.

Add raw skey test

Signed-off-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoEVP_SKEY documentation
Dmitry Belyavskiy [Thu, 9 Jan 2025 18:19:10 +0000 (19:19 +0100)] 
EVP_SKEY documentation

Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoEVP_SKEY tests
Dmitry Belyavskiy [Fri, 8 Nov 2024 13:14:33 +0000 (14:14 +0100)] 
EVP_SKEY tests

Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoEVP_SKEY implementation for EVP_CIPHER
Dmitry Belyavskiy [Thu, 9 Jan 2025 18:18:31 +0000 (19:18 +0100)] 
EVP_SKEY implementation for EVP_CIPHER

Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)

5 months agoDesign document of using opaque object as symmetric key
Dmitry Belyavskiy [Thu, 27 Jul 2023 10:12:40 +0000 (12:12 +0200)] 
Design document of using opaque object as symmetric key

Signed-off-by: Dmitry Belyavskiy <beldmit@gmail.com>
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26753)