(peerPublicKey []byte)
| 191 | } |
| 192 | |
| 193 | func (p *x25519Parameters) SharedKey(peerPublicKey []byte) []byte { |
| 194 | sharedKey, err := curve25519.X25519(p.privateKey, peerPublicKey) |
| 195 | if err != nil { |
| 196 | return nil |
| 197 | } |
| 198 | return sharedKey |
| 199 | } |
nothing calls this directly
no outgoing calls
no test coverage detected