aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/mce_overbeck_cca2.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-12-06 15:50:39 +0000
committerlloyd <[email protected]>2014-12-06 15:50:39 +0000
commit42a34f672bfd4737e66d8813d024b6f73fdfcad4 (patch)
tree8a987aff561304015edf4198e433b7e1433dbb2c /src/lib/pubkey/mce/mce_overbeck_cca2.h
parent6082d3937f842ecebf0cb208b27a366917af0876 (diff)
Remove the Overbeck conversion at Dr. Strenzke's request.
While a CCA2 proof of this scheme exists, it is written in German and for various reasons publishing a translation would be a complicated affair. Without a (well studied) English proof it is harder to understand the security of the overall scheme. Thus only KEM, which seems much easier to prove, will be offered.
Diffstat (limited to 'src/lib/pubkey/mce/mce_overbeck_cca2.h')
-rw-r--r--src/lib/pubkey/mce/mce_overbeck_cca2.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/lib/pubkey/mce/mce_overbeck_cca2.h b/src/lib/pubkey/mce/mce_overbeck_cca2.h
deleted file mode 100644
index 1b9439753..000000000
--- a/src/lib/pubkey/mce/mce_overbeck_cca2.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * (C) 2014 cryptosource GmbH
- * (C) 2014 Falko Strenzke [email protected]
- *
- * Distributed under the terms of the Botan license
- *
- */
-
-#ifndef __mce_overbeck_cca2__H_
-#define __mce_overbeck_cca2__H_
-
-#include <botan/pk_ops.h>
-#include <botan/mceliece_key.h>
-#include <botan/mceliece.h>
-#include <botan/types.h>
-#include <botan/secmem.h>
-
-namespace Botan
-{
-class BOTAN_DLL McEliece_Overbeck_CCA2_Public_Operation : public PK_Ops::Encryption
-{
- public:
- McEliece_Overbeck_CCA2_Public_Operation(const McEliece_PublicKey& public_key);
-
- size_t max_input_bits() const { return 512; };
- secure_vector<byte> encrypt(const byte msg[], size_t msg_len, RandomNumberGenerator&);
-
- private:
- McEliece_Public_Operation m_raw_pub_op;
-};
-
-class BOTAN_DLL McEliece_Overbeck_CCA2_Private_Operation : public PK_Ops::Decryption
- {
- public:
- McEliece_Overbeck_CCA2_Private_Operation(const McEliece_PrivateKey& mce_key);
-
- size_t max_input_bits() const { return (m_raw_priv_op.max_input_bits()+7)/8*8 + 2*512; };
-
-
-secure_vector<byte> decrypt(const byte msg[], size_t msg_len);
- private:
- McEliece_Private_Operation m_raw_priv_op;
- };
-}
-
-#endif /* h-guard */