SharkSSL™ Embedded SSL/TLS Stack

Detailed Description

Macros

#define SHARKSSL_PSA_CONSUMER   0
 Select 1 to use an external PSA Crypto provider for TLS operations.
 
#define SHARKSSL_PSA_CONSUMER_SECRET_HANDLES   0
 Select 1 to keep TLS 1.3 handshake and traffic secrets in PSA key handles. More...
 

Macro Definition Documentation

◆ SHARKSSL_PSA_CONSUMER_SECRET_HANDLES

#define SHARKSSL_PSA_CONSUMER_SECRET_HANDLES   0

Select 1 to keep TLS 1.3 handshake and traffic secrets in PSA key handles.

Requires SHARKSSL_PSA_CONSUMER=1, TLS 1.3, and a provider supporting HKDF derivation from key handles, including a key handle as the HKDF salt. TLS 1.2 uses PSA master and record key handles independently of this option. The default consumer path remains available for other PSA providers.