Tls13KeySchedule.setCipherSuite

void setCipherSuite(ushort cipherSuite)

Reconfigures the hash algorithm based on the negotiated cipher suite.

Must be called after cipher suite negotiation and before computeHandshakeSecret if the suite requires SHA-384.

Parameters

cipherSuiteThe negotiated cipher suite ID.