Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BytesOrPanic (0.12 sec)

  1. src/crypto/tls/key_schedule.go

    		b.AddBytes([]byte(label))
    	})
    	hkdfLabel.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddBytes(context)
    	})
    	hkdfLabelBytes, err := hkdfLabel.Bytes()
    	if err != nil {
    		// Rather than calling BytesOrPanic, we explicitly handle this error, in
    		// order to provide a reasonable error message. It should be basically
    		// impossible for this to panic, and routing errors back through the
    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