Searched refs:otherSecret (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 588 func makePSKPremaster(otherSecret, psk []byte) []byte { argument 589 out := make([]byte, 0, 2+len(otherSecret)+2+len(psk)) 590 out = append(out, byte(len(otherSecret)>>8), byte(len(otherSecret))) 591 out = append(out, otherSecret...) 653 otherSecret, err := ka.base.processClientKeyExchange(config, cert, newCkx, version) 658 if otherSecret == nil { 660 otherSecret = make([]byte, len(config.PreSharedKey)) 662 return makePSKPremaster(otherSecret, config.PreSharedKey), nil 696 otherSecret, baseCkx, err := ka.base.generateClientKeyExchange(config, clientHello, cert) 706 if otherSecret == nil { [all …]
|