Home
last modified time | relevance | path

Searched refs:peerKey (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dkey_agreement.go248 accept(rand io.Reader, peerKey []byte) (publicKey []byte, preMasterSecret []byte, err error)
252 finish(peerKey []byte) (preMasterSecret []byte, err error)
279 func (e *ellipticECDHCurve) accept(rand io.Reader, peerKey []byte) (publicKey []byte, preMasterSecr…
284 preMasterSecret, err = e.finish(peerKey)
291 func (e *ellipticECDHCurve) finish(peerKey []byte) (preMasterSecret []byte, err error) {
292 x, y := elliptic.Unmarshal(e.curve, peerKey)
323 func (e *x25519ECDHCurve) accept(rand io.Reader, peerKey []byte) (publicKey []byte, preMasterSecret…
328 preMasterSecret, err = e.finish(peerKey)
335 func (e *x25519ECDHCurve) finish(peerKey []byte) (preMasterSecret []byte, err error) {
336 if len(peerKey) != 32 {
[all …]
Dhandshake_server.go765 var peerKey []byte
771 peerKey, err = curve2.offer(config.rand())
776 peerKey = selectedKeyShare.keyExchange
779 publicKey, ecdheSecret, err := curve.accept(config.rand(), peerKey)
/external/syzkaller/vendor/google.golang.org/grpc/peer/
Dpeer.go40 type peerKey struct{} struct
44 return context.WithValue(ctx, peerKey{}, p)
49 p, ok = ctx.Value(peerKey{}).(*Peer)
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DEnrollmentCryptoOps.java86 public static SecretKey doKeyAgreement(PrivateKey myKey, PublicKey peerKey) in doKeyAgreement() argument
100 agreement.doPhase(peerKey, true); in doKeyAgreement()