Last change
on this file since 8435 was 7584, checked in by gf, 11 years ago |
Cleanup oscam-aes.c and related files.
|
File size:
693 bytes
|
Line | |
---|
1 | #ifndef OSCAM_AES_H_
|
---|
2 | #define OSCAM_AES_H_
|
---|
3 |
|
---|
4 | void aes_set_key(struct s_client *cl, char *key);
|
---|
5 | void aes_decrypt(struct s_client *cl, uchar *buf, int32_t n);
|
---|
6 | void aes_encrypt_idx(struct s_client *cl, uchar *buf, int32_t n);
|
---|
7 | void add_aes_entry(AES_ENTRY **list, uint16_t caid, uint32_t ident, int32_t keyid, uchar *aesKey);
|
---|
8 | void parse_aes_entry(AES_ENTRY **list, char *label, char *value);
|
---|
9 | void aes_clear_entries(AES_ENTRY **list);
|
---|
10 | void parse_aes_keys(struct s_reader *rdr, char *value);
|
---|
11 | int32_t aes_decrypt_from_list(AES_ENTRY *list, uint16_t caid, uint32_t provid,int32_t keyid, uchar *buf, int32_t n);
|
---|
12 | int32_t aes_present(AES_ENTRY *list, uint16_t caid, uint32_t provid,int32_t keyid);
|
---|
13 |
|
---|
14 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.