Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
spdfrk authored and perexg committed Aug 6, 2014
1 parent 88672fd commit bf9ce65
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/descrambler/libaesdec/libaesdec.h
Expand Up @@ -2,30 +2,17 @@
* libaesdec.h
*
* Created on: Jun 22, 2014
* Author: root
* Author: spdfrk1
*/

#ifndef LIBAESDEC_H_
#define LIBAESDEC_H_

// -- alloc & free the key structure
void *aes_get_key_struct(void);
void aes_free_key_struct(void *keys);

// -- set aes keys, 16 bytes each
void aes_set_control_words(void *keys, const unsigned char *even, const unsigned char *odd);

// -- set even aes key, 16 bytes
void aes_set_even_control_word(void *keys, const unsigned char *even);

// -- set odd aes key, 16 bytes
void aes_set_odd_control_word(void *keys, const unsigned char *odd);

// -- get aes keys, 16 bytes each
//void get_control_words(void *keys, unsigned char *even, unsigned char *odd);

// -- decrypt TS packet
void aes_decrypt_packet(void *keys, unsigned char *packet);


#endif /* LIBAESDEC_H_ */

0 comments on commit bf9ce65

Please sign in to comment.