vendor/golang.org/x/crypto/cryptobyte.Builder.AddUint16 (method)

72 uses

	vendor/golang.org/x/crypto/cryptobyte (current package)
		builder.go#L83: func (b *Builder) AddUint16(v uint16) {

	crypto/tls
		handshake_messages.go#L108: 		exts.AddUint16(extensionServerName)
		handshake_messages.go#L120: 		exts.AddUint16(extensionStatusRequest)
		handshake_messages.go#L123: 			exts.AddUint16(0) // empty responder_id_list
		handshake_messages.go#L124: 			exts.AddUint16(0) // empty request_extensions
		handshake_messages.go#L129: 		exts.AddUint16(extensionSupportedCurves)
		handshake_messages.go#L133: 					exts.AddUint16(uint16(curve))
		handshake_messages.go#L140: 		exts.AddUint16(extensionSupportedPoints)
		handshake_messages.go#L149: 		exts.AddUint16(extensionSessionTicket)
		handshake_messages.go#L156: 		exts.AddUint16(extensionSignatureAlgorithms)
		handshake_messages.go#L160: 					exts.AddUint16(uint16(sigAlgo))
		handshake_messages.go#L167: 		exts.AddUint16(extensionSignatureAlgorithmsCert)
		handshake_messages.go#L171: 					exts.AddUint16(uint16(sigAlgo))
		handshake_messages.go#L178: 		exts.AddUint16(extensionRenegotiationInfo)
		handshake_messages.go#L187: 		exts.AddUint16(extensionExtendedMasterSecret)
		handshake_messages.go#L188: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L192: 		exts.AddUint16(extensionALPN)
		handshake_messages.go#L205: 		exts.AddUint16(extensionSCT)
		handshake_messages.go#L206: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L210: 		exts.AddUint16(extensionSupportedVersions)
		handshake_messages.go#L214: 					exts.AddUint16(vers)
		handshake_messages.go#L221: 		exts.AddUint16(extensionCookie)
		handshake_messages.go#L230: 		exts.AddUint16(extensionKeyShare)
		handshake_messages.go#L234: 					exts.AddUint16(uint16(ks.group))
		handshake_messages.go#L244: 		exts.AddUint16(extensionEarlyData)
		handshake_messages.go#L245: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L249: 		exts.AddUint16(extensionPSKModes)
		handshake_messages.go#L258: 		exts.AddUint16(extensionQUICTransportParameters)
		handshake_messages.go#L265: 		exts.AddUint16(extensionPreSharedKey)
		handshake_messages.go#L292: 		b.AddUint16(m.vers)
		handshake_messages.go#L299: 				b.AddUint16(suite)
		handshake_messages.go#L660: 		exts.AddUint16(extensionStatusRequest)
		handshake_messages.go#L661: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L664: 		exts.AddUint16(extensionSessionTicket)
		handshake_messages.go#L665: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L668: 		exts.AddUint16(extensionRenegotiationInfo)
		handshake_messages.go#L676: 		exts.AddUint16(extensionExtendedMasterSecret)
		handshake_messages.go#L677: 		exts.AddUint16(0) // empty extension_data
		handshake_messages.go#L680: 		exts.AddUint16(extensionALPN)
		handshake_messages.go#L690: 		exts.AddUint16(extensionSCT)
		handshake_messages.go#L702: 		exts.AddUint16(extensionSupportedVersions)
		handshake_messages.go#L704: 			exts.AddUint16(m.supportedVersion)
		handshake_messages.go#L708: 		exts.AddUint16(extensionKeyShare)
		handshake_messages.go#L710: 			exts.AddUint16(uint16(m.serverShare.group))
		handshake_messages.go#L717: 		exts.AddUint16(extensionPreSharedKey)
		handshake_messages.go#L719: 			exts.AddUint16(m.selectedIdentity)
		handshake_messages.go#L724: 		exts.AddUint16(extensionCookie)
		handshake_messages.go#L732: 		exts.AddUint16(extensionKeyShare)
		handshake_messages.go#L734: 			exts.AddUint16(uint16(m.selectedGroup))
		handshake_messages.go#L738: 		exts.AddUint16(extensionSupportedPoints)
		handshake_messages.go#L754: 		b.AddUint16(m.vers)
		handshake_messages.go#L759: 		b.AddUint16(m.cipherSuite)
		handshake_messages.go#L908: 				b.AddUint16(extensionALPN)
		handshake_messages.go#L919: 				b.AddUint16(extensionQUICTransportParameters)
		handshake_messages.go#L926: 				b.AddUint16(extensionEarlyData)
		handshake_messages.go#L927: 				b.AddUint16(0) // empty extension_data
		handshake_messages.go#L1073: 				b.AddUint16(extensionEarlyData)
		handshake_messages.go#L1150: 				b.AddUint16(extensionStatusRequest)
		handshake_messages.go#L1151: 				b.AddUint16(0) // empty extension_data
		handshake_messages.go#L1159: 				b.AddUint16(extensionSCT)
		handshake_messages.go#L1160: 				b.AddUint16(0) // empty extension_data
		handshake_messages.go#L1163: 				b.AddUint16(extensionSignatureAlgorithms)
		handshake_messages.go#L1167: 							b.AddUint16(uint16(sigAlgo))
		handshake_messages.go#L1173: 				b.AddUint16(extensionSignatureAlgorithmsCert)
		handshake_messages.go#L1177: 							b.AddUint16(uint16(sigAlgo))
		handshake_messages.go#L1183: 				b.AddUint16(extensionCertificateAuthorities)
		handshake_messages.go#L1399: 					b.AddUint16(extensionStatusRequest)
		handshake_messages.go#L1408: 					b.AddUint16(extensionSCT)
		handshake_messages.go#L1803: 			b.AddUint16(uint16(m.signatureAlgorithm))
		key_schedule.go#L37: 	hkdfLabel.AddUint16(uint16(length))
		ticket.go#L109: 	b.AddUint16(s.version)
		ticket.go#L115: 	b.AddUint16(s.cipherSuite)