Changeset 11473 for trunk/oscam-aes.h
- Timestamp:
- 01/18/19 20:17:57 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-aes.h
r11470 r11473 4 4 void aes_set_key(struct aes_keys *aes, char *key); 5 5 bool aes_set_key_alloc(struct aes_keys **aes, char *key); 6 void aes_decrypt(struct aes_keys *aes, u char*buf, int32_t n);7 void aes_encrypt_idx(struct aes_keys *aes, u char*buf, int32_t n);8 void aes_cbc_encrypt(struct aes_keys *aes, u char *buf, int32_t n, uchar*iv);9 void aes_cbc_decrypt(struct aes_keys *aes, u char *buf, int32_t n, uchar*iv);6 void aes_decrypt(struct aes_keys *aes, uint8_t *buf, int32_t n); 7 void aes_encrypt_idx(struct aes_keys *aes, uint8_t *buf, int32_t n); 8 void aes_cbc_encrypt(struct aes_keys *aes, uint8_t *buf, int32_t n, uint8_t *iv); 9 void aes_cbc_decrypt(struct aes_keys *aes, uint8_t *buf, int32_t n, uint8_t *iv); 10 10 11 void add_aes_entry(AES_ENTRY **list, uint16_t caid, uint32_t ident, int32_t keyid, u char*aesKey);11 void add_aes_entry(AES_ENTRY **list, uint16_t caid, uint32_t ident, int32_t keyid, uint8_t *aesKey); 12 12 void parse_aes_entry(AES_ENTRY **list, char *label, char *value); 13 13 void aes_clear_entries(AES_ENTRY **list); 14 14 void parse_aes_keys(struct s_reader *rdr, char *value); 15 int32_t aes_decrypt_from_list(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid, u char*buf, int32_t n);15 int32_t aes_decrypt_from_list(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid, uint8_t *buf, int32_t n); 16 16 int32_t aes_present(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid); 17 17
Note:
See TracChangeset
for help on using the changeset viewer.