]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Delete libaesdec_interface.c
authorspdfrk1 <spdfrk123456@gmail.com>
Tue, 5 Aug 2014 18:56:32 +0000 (20:56 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 6 Aug 2014 06:55:43 +0000 (08:55 +0200)
src/descrambler/libaesdec/libaesdec_interface.c [deleted file]

diff --git a/src/descrambler/libaesdec/libaesdec_interface.c b/src/descrambler/libaesdec/libaesdec_interface.c
deleted file mode 100755 (executable)
index 18af6c2..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- *  This program 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 3 of the License, or
- *  (at your option) any later version.
- *
- *  This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "config.h"
-#include "tvheadend.h"
-#include "libaesdec.h"
-
-
-void libaes_init(void) {
-       tvhlog(LOG_INFO, "CSA", "Using AES descrambling");
-}
-
-int libaes_get_internal_parallelism(void) {
-       return 0;
-}
-int libaes_get_suggested_cluster_size(void) {
-       return 1;
-}
-
-void *
-libaes_get_key_struct(void) {
-       return aes_get_key_struct();
-}
-void libaes_free_key_struct(void *keys) {
-       aes_free_key_struct(keys);
-}
-
-void libaes_set_even_control_word(void *keys, const unsigned char *even) {
-       aes_set_even_control_word(keys, even);
-}
-
-void libaes_set_odd_control_word(void *keys, const unsigned char *odd) {
-       aes_set_odd_control_word(keys, odd);
-}
-
-int libaes_decrypt_packets(void *keys, unsigned char **cluster) {
-       aes_decrypt_packet(keys, cluster[0]);
-       return 1;
-}