mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 02:42:20 +01:00
See RFC 8446: 4.2.11 With TLS 1.3 PSK callback, If the returned cipher suite isn't available, use the hash from the cipher suite and choose from available list. Require exact match when: WOLFSSL_TLS13_PSK_NO_MATCH_HASH Alternative callback for client added that is passed a cipher suite string. Called for each cipher suite that is to be negotiated. If cipher suite to be used with PSK then return client identity. Returning an identity based on cipher suite hash will result in only one PSK extension being added per hash.