Home
last modified time | relevance | path

Searched refs:keyShares (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dhandshake_client.go31 keyShares map[CurveID]ecdhCurve member
70 keyShares := bb.finish()
71 if len(keyShares) != len(newHello.keySharesRaw) {
75 copy(newHello.keySharesRaw, keyShares)
199 var keyShares map[CurveID]ecdhCurve
201 keyShares = make(map[CurveID]ecdhCurve)
225 hello.keyShares = append(hello.keyShares, keyShareEntry{
229 keyShares[curveID] = curve
232 hello.keyShares = append(hello.keyShares, hello.keyShares[len(hello.keyShares)-1])
581 if !hrrCurveFound || keyShares[group] != nil {
[all …]
Dhandshake_messages.go268 keyShares []keyShareEntry member
323 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 = nil
795 var keyShares byteReader
796 if !body.readU16LengthPrefixed(&keyShares) || len(body) != 0 {
[all …]
Dhandshake_server.go220 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.keyShares
665 newClientHelloCopy.keyShares = oldClientHelloCopy.keyShares