Searched refs:otherSecret (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | key_agreement.go | 746 func makePSKPremaster(otherSecret, psk []byte) []byte { argument 747 out := make([]byte, 0, 2+len(otherSecret)+2+len(psk)) 748 out = append(out, byte(len(otherSecret)>>8), byte(len(otherSecret))) 749 out = append(out, otherSecret...) 811 otherSecret, err := ka.base.processClientKeyExchange(config, cert, newCkx, version) 816 if otherSecret == nil { 818 otherSecret = make([]byte, len(config.PreSharedKey)) 820 return makePSKPremaster(otherSecret, config.PreSharedKey), nil 854 otherSecret, baseCkx, err := ka.base.generateClientKeyExchange(config, clientHello, cert) 864 if otherSecret == nil { [all …]
|