static inline for empty functions
This commit is contained in:
parent
5c11131e3e
commit
af160e82da
1 changed files with 6 additions and 6 deletions
|
@ -19,11 +19,11 @@
|
|||
void aes_decrypt_packet(void *keys, unsigned char *packet);
|
||||
#else
|
||||
// empty functions
|
||||
void *aes_get_key_struct(void) { return 0; };
|
||||
void aes_free_key_struct(void *keys) { return; };
|
||||
void aes_set_control_words(void *keys, const unsigned char *even, const unsigned char *odd) { return; };
|
||||
void aes_set_even_control_word(void *keys, const unsigned char *even) { return; };
|
||||
void aes_set_odd_control_word(void *keys, const unsigned char *odd) { return; };
|
||||
void aes_decrypt_packet(void *keys, unsigned char *packet) { return; };
|
||||
static inline void *aes_get_key_struct(void) { return 0; };
|
||||
static inline void aes_free_key_struct(void *keys) { return; };
|
||||
static inline void aes_set_control_words(void *keys, const unsigned char *even, const unsigned char *odd) { return; };
|
||||
static inline void aes_set_even_control_word(void *keys, const unsigned char *even) { return; };
|
||||
static inline void aes_set_odd_control_word(void *keys, const unsigned char *odd) { return; };
|
||||
static inline void aes_decrypt_packet(void *keys, unsigned char *packet) { return; };
|
||||
#endif
|
||||
#endif /* LIBAESDEC_H_ */
|
||||
|
|
Loading…
Add table
Reference in a new issue