summaryrefslogtreecommitdiff
path: root/src/lib/crypto.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-16 11:30:27 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-16 11:30:27 +0200
commit4b8f2b64ebb7fcba20c3c03d7bccd08e48612fbb (patch)
tree06d00068ef681534f0e64bede699bf1ce5a19929 /src/lib/crypto.h
parente2dfb7e571fa80e6216dcedb16e5eaca3c5648d4 (diff)
Remove unused code.
Diffstat (limited to 'src/lib/crypto.h')
-rw-r--r--src/lib/crypto.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/lib/crypto.h b/src/lib/crypto.h
deleted file mode 100644
index 41a93010d..000000000
--- a/src/lib/crypto.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
-
- This file is part of DCP-o-matic.
-
- DCP-o-matic is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- DCP-o-matic is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-
-#include <dcp/array_data.h>
-
-
-namespace dcpomatic {
-
-
-dcp::ArrayData random_iv ();
-dcp::ArrayData encrypt (std::string plaintext, dcp::ArrayData key, dcp::ArrayData iv);
-std::string decrypt (dcp::ArrayData ciphertext, dcp::ArrayData key, dcp::ArrayData iv);
-int crypto_key_length ();
-
-
-}
-