| 648 | |
| 649 | template <class EC> |
| 650 | void DL_PublicKey_EC<EC>::BERDecodePublicKey(BufferedTransformation &bt, bool parametersPresent, size_t size) |
| 651 | { |
| 652 | CRYPTOPP_UNUSED(parametersPresent); |
| 653 | |
| 654 | typename EC::Point P; |
| 655 | if (!this->GetGroupParameters().GetCurve().DecodePoint(P, bt, size)) |
| 656 | BERDecodeError(); |
| 657 | this->SetPublicElement(P); |
| 658 | } |
| 659 | |
| 660 | template <class EC> |
| 661 | void DL_PublicKey_EC<EC>::DEREncodePublicKey(BufferedTransformation &bt) const |
nothing calls this directly
no test coverage detected