()
| 160 | } |
| 161 | |
| 162 | func (p *nistParameters) PublicKey() []byte { |
| 163 | curve, _ := curveForCurveID(p.curveID) |
| 164 | return elliptic.Marshal(curve, p.x, p.y) |
| 165 | } |
| 166 | |
| 167 | func (p *nistParameters) SharedKey(peerPublicKey []byte) []byte { |
| 168 | curve, _ := curveForCurveID(p.curveID) |
nothing calls this directly
no test coverage detected