Alarm Sensor Module
0.1
⇒ back to Project Page
include
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
{
45
ENC_NO_TABLE_FOUND
,
46
ENC_TABLE_FOUND
47
}
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
encrypt_return_values
Definition:
encryption.h:44
sym_encrypt_buffer
uint8_t sym_encrypt_buffer(uint32_t *, uint32_t *, uint8_t)
Definition:
encryption.c:195
sym_decrypt_buffer
uint8_t sym_decrypt_buffer(uint32_t *, uint32_t *, uint8_t)
Definition:
encryption.c:258
ENC_TABLE_FOUND
Definition:
encryption.h:46
ENC_NO_TABLE_FOUND
Definition:
encryption.h:45
Generated on Sat Mar 30 2019 15:47:33 for Alarm Sensor Module by
1.8.14