diff options
author | Mouse <[email protected]> | 2015-10-20 11:25:13 -0400 |
---|---|---|
committer | Mouse <[email protected]> | 2015-10-20 11:25:13 -0400 |
commit | b81c246c9c741ef669a79749bc31795175a2a555 (patch) | |
tree | b1291dc5ad4fff2193551e597aa01203327ffb5a /src/lib/pubkey/mce/mce_kem.h | |
parent | 44e90e8cf98c7f132c88510b51492c8630fb092c (diff) | |
parent | 194d7d3682bddbd534e211357dd5f817d01ab7ed (diff) |
Merge pull request #2 from randombit/master
Update to match current Botan-1.11.22
Diffstat (limited to 'src/lib/pubkey/mce/mce_kem.h')
-rw-r--r-- | src/lib/pubkey/mce/mce_kem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pubkey/mce/mce_kem.h b/src/lib/pubkey/mce/mce_kem.h index 7a8d2f7ff..cd899d568 100644 --- a/src/lib/pubkey/mce/mce_kem.h +++ b/src/lib/pubkey/mce/mce_kem.h @@ -25,7 +25,7 @@ class BOTAN_DLL McEliece_KEM_Encryptor std::pair<secure_vector<byte>, secure_vector<byte>> encrypt(RandomNumberGenerator& rng); private: - McEliece_Public_Operation m_raw_pub_op; + const McEliece_PublicKey& m_key; }; class BOTAN_DLL McEliece_KEM_Decryptor @@ -45,10 +45,10 @@ class BOTAN_DLL McEliece_KEM_Decryptor secure_vector<Botan::byte> decrypt_vec(const std::vector<byte, Alloc>& v) { return decrypt(v.data(), v.size()); - } + private: - McEliece_Private_Operation m_raw_priv_op; + const McEliece_PrivateKey& m_key; }; } |