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.go32 keyShares map[CurveID]ecdhCurve member
159 var keyShares map[CurveID]ecdhCurve
161 keyShares = make(map[CurveID]ecdhCurve)
185 hello.keyShares = append(hello.keyShares, keyShareEntry{
189 keyShares[curveID] = curve
192 hello.keyShares = append(hello.keyShares, hello.keyShares[len(hello.keyShares)-1])
492 if !hrrCurveFound || keyShares[group] != nil {
504 keyShares[group] = curve
505 hello.keyShares = []keyShareEntry{{
586 keyShares: keyShares,
[all …]
Dhandshake_messages.go153 keyShares []keyShareEntry member
200 eqKeyShareEntryLists(m.keyShares, m1.keyShares) &&
333 keyShares := keyShareList.addU16LengthPrefixed()
334 for _, keyShare := range m.keyShares {
335 keyShares.addU16(uint16(keyShare.group))
336 keyExchange := keyShares.addU16LengthPrefixed()
341 keyShares.addU8(0)
525 m.keyShares = nil
647 m.keyShares = append(m.keyShares, entry)
Dhandshake_server.go326 if len(hs.clientHello.keyShares) > 0 {
328 for _, keyShare := range hs.clientHello.keyShares {
545 for i := range hs.clientHello.keyShares {
546 if hs.clientHello.keyShares[i].group == selectedCurve {
547 selectedKeyShare = &hs.clientHello.keyShares[i]
616 newKeyShares := newClientHelloCopy.keyShares
621 newClientHelloCopy.keyShares = oldClientHelloCopy.keyShares