aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/crypto.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/zencore/include/zencore/crypto.h b/zencore/include/zencore/crypto.h
index 4d6ddba47..44783cdeb 100644
--- a/zencore/include/zencore/crypto.h
+++ b/zencore/include/zencore/crypto.h
@@ -33,17 +33,11 @@ public:
virtual MemoryView Encrypt(MemoryView Data, MutableMemoryView EncryptionBuffer) = 0;
virtual MemoryView Decrypt(MemoryView Data, MutableMemoryView DecryptionBuffer) = 0;
-};
-std::unique_ptr<SymmetricCipher> MakeNullCipher();
+ static std::unique_ptr<SymmetricCipher> CreateNoOp();
-#if ZEN_PLATFORM_WINDOWS
-/**
- * Create a new instance of a 256 bit AES CBC symmetric cipher.
- * NOTE: Currenlty only tested on Windows
- */
-std::unique_ptr<SymmetricCipher> MakeAesCipher();
-#endif
+ static std::unique_ptr<SymmetricCipher> CreateAes();
+};
void crypto_forcelink();