mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-11-23 22:44:19 +00:00
12 lines
335 B
C
Executable file
12 lines
335 B
C
Executable file
#ifndef RTL_SEC_H
|
|
#define RTL_SEC_H
|
|
|
|
#include <platform_stdlib.h>
|
|
|
|
#define SEC_PROCESS_OPT_ENC 1
|
|
#define SEC_PROCESS_OPT_DEC 2
|
|
|
|
#define sec_process_data ProcessSecData
|
|
uint32_t sec_process_data(uint8_t key_idx, uint32_t opt, uint8_t *iv, uint8_t *input_buf, uint32_t buf_len, uint8_t *output_buf);
|
|
|
|
#endif // RTL_SEC_H
|