Delete libaesdec_interface.c
This commit is contained in:
parent
2850692c1a
commit
03bfb52183
1 changed files with 0 additions and 51 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Reference in a new issue