Skip to main content

derive_ticket_psk

Function derive_ticket_psk 

Source
pub fn derive_ticket_psk(
    provider: &impl CryptoProvider,
    suite: CipherSuite,
    resumption_secret: &Hash,
    ticket_nonce: &[u8],
) -> Result<Hash, Error>
Expand description

Derive the PSK for a NewSessionTicket.

PSK = HKDF-Expand-Label(resumption_secret, “resumption”, ticket_nonce, Hash.length)