Searched refs:keyShares (Results 1 – 3 of 3) sorted by relevance
31 keyShares map[CurveID]ecdhCurve member70 keyShares := bb.finish()71 if len(keyShares) != len(newHello.keySharesRaw) {75 copy(newHello.keySharesRaw, keyShares)199 var keyShares map[CurveID]ecdhCurve201 keyShares = make(map[CurveID]ecdhCurve)225 hello.keyShares = append(hello.keyShares, keyShareEntry{229 keyShares[curveID] = curve232 hello.keyShares = append(hello.keyShares, hello.keyShares[len(hello.keyShares)-1])581 if !hrrCurveFound || keyShares[group] != nil {[all …]
268 keyShares []keyShareEntry member323 eqKeyShareEntryLists(m.keyShares, m1.keyShares) &&359 keyShares := bb.addU16LengthPrefixed()360 for _, keyShare := range m.keyShares {361 keyShares.addU16(uint16(keyShare.group))362 keyExchange := keyShares.addU16LengthPrefixed()366 keyShares.addU8(0)715 m.keyShares = nil795 var keyShares byteReader796 if !body.readU16LengthPrefixed(&keyShares) || len(body) != 0 {[all …]
220 if len(expected) != len(hs.clientHello.keyShares) {221 …t.Errorf("tls: expected %d key shares, but found %d", len(expected), len(hs.clientHello.keyShares))225 if found := hs.clientHello.keyShares[i].group; found != group {346 if len(hs.clientHello.keyShares) > 0 {348 for _, keyShare := range hs.clientHello.keyShares {581 for i := range hs.clientHello.keyShares {582 if hs.clientHello.keyShares[i].group == selectedCurve {583 selectedKeyShare = &hs.clientHello.keyShares[i]660 newKeyShares := newClientHelloCopy.keyShares665 newClientHelloCopy.keyShares = oldClientHelloCopy.keyShares