Add AES-ECB as a supported encryption mode in ECMG

This commit is contained in:
Lu Chen
2021-09-07 18:08:13 -07:00
parent b3a5fff77d
commit c387750897
11 changed files with 48 additions and 10 deletions

View File

@@ -145,13 +145,11 @@ class ECPublicKey {
// Returns true on success and false on error.
virtual bool GetRawPublicKey(std::string* raw_public_key) const;
private:
friend class ECPrivateKey;
ECPublicKey& operator=(const ECPublicKey&) = delete;
const EC_KEY* key() const { return key_.get(); }
private:
ECPublicKey& operator=(const ECPublicKey&) = delete;
ScopedECKEY key_;
};