From 03bfb521838664e9cc6f7e3e63e9db1725314dfc Mon Sep 17 00:00:00 2001 From: spdfrk1 Date: Tue, 5 Aug 2014 20:56:32 +0200 Subject: [PATCH] Delete libaesdec_interface.c --- .../libaesdec/libaesdec_interface.c | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100755 src/descrambler/libaesdec/libaesdec_interface.c diff --git a/src/descrambler/libaesdec/libaesdec_interface.c b/src/descrambler/libaesdec/libaesdec_interface.c deleted file mode 100755 index 18af6c2a..00000000 --- a/src/descrambler/libaesdec/libaesdec_interface.c +++ /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 . - */ - -#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; -}