Alarm Sensor Module  0.1
⇒ back to Project Page
encryption.h
Go to the documentation of this file.
1 /****************************************************************************/
33 #ifndef ENCRYPTION_H_INCLUDED
34 #define ENCRYPTION_H_INCLUDED
35 
36 #include <stdint.h>
37 
38 
39 /******************************************
40  \internal
41  Definitions, Enumeration
42 *******************************************/
43 
44 typedef enum encrypt_return_values {
48 
49 
50 
51 /******************************************
52  \internal
53  Function prototypes
54 *******************************************/
55 
56 #if defined(STM32)
57 encrypt_return_values get_key_tab(uint32_t);
58 #endif
59 
60 uint8_t sym_encrypt_buffer(uint32_t *, uint32_t *, uint8_t);
61 uint8_t sym_decrypt_buffer(uint32_t *, uint32_t *, uint8_t);
62 
63 #endif // ENCRYPTION_H_INCLUDED
encrypt_return_values
Definition: encryption.h:44
uint8_t sym_encrypt_buffer(uint32_t *, uint32_t *, uint8_t)
Definition: encryption.c:195
uint8_t sym_decrypt_buffer(uint32_t *, uint32_t *, uint8_t)
Definition: encryption.c:258