Last change
on this file since 9568 was 8951, checked in by Gorgone Impertinence, 10 years ago |
no codechange
only set a common structure for all base modules
|
File size:
699 bytes
|
Line | |
---|
1 | #ifndef OSCAM_AES_H_
|
---|
2 | #define OSCAM_AES_H_
|
---|
3 |
|
---|
4 | void aes_set_key(struct aes_keys *aes, char *key);
|
---|
5 | void aes_decrypt(struct aes_keys *aes, uchar *buf, int32_t n);
|
---|
6 | void aes_encrypt_idx(struct aes_keys *aes, uchar *buf, int32_t n);
|
---|
7 |
|
---|
8 | void add_aes_entry(AES_ENTRY **list, uint16_t caid, uint32_t ident, int32_t keyid, uchar *aesKey);
|
---|
9 | void parse_aes_entry(AES_ENTRY **list, char *label, char *value);
|
---|
10 | void aes_clear_entries(AES_ENTRY **list);
|
---|
11 | void parse_aes_keys(struct s_reader *rdr, char *value);
|
---|
12 | int32_t aes_decrypt_from_list(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid, uchar *buf, int32_t n);
|
---|
13 | int32_t aes_present(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid);
|
---|
14 |
|
---|
15 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.