Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trafficSecret (0.09 sec)

  1. src/crypto/tls/key_schedule.go

    func (c *cipherSuiteTLS13) nextTrafficSecret(trafficSecret []byte) []byte {
    	return c.expandLabel(trafficSecret, trafficUpdateLabel, nil, c.hash.Size())
    }
    
    // trafficKey generates traffic keys according to RFC 8446, Section 7.3.
    func (c *cipherSuiteTLS13) trafficKey(trafficSecret []byte) (key, iv []byte) {
    	key = c.expandLabel(trafficSecret, "key", nil, c.keyLen)
    	iv = c.expandLabel(trafficSecret, "iv", nil, aeadNonceLength)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top