()
| 187 | } |
| 188 | |
| 189 | func (p *x25519Parameters) PublicKey() []byte { |
| 190 | return p.publicKey[:] |
| 191 | } |
| 192 | |
| 193 | func (p *x25519Parameters) SharedKey(peerPublicKey []byte) []byte { |
| 194 | sharedKey, err := curve25519.X25519(p.privateKey, peerPublicKey) |
nothing calls this directly
no outgoing calls
no test coverage detected