![]() |
SX126x-Arduino
2.0.1
|
Go to the source code of this file.
Data Structures | |
| struct | lora_aes_context |
Macros | |
| #define | AES_ENC_PREKEYED /* AES encryption with a precomputed key schedule */ |
| #define | N_ROW 4 |
| #define | N_COL 4 |
| #define | N_BLOCK (N_ROW * N_COL) |
| #define | N_MAX_ROUNDS 14 |
Typedefs | |
| typedef uint8_t | return_type |
| typedef uint8_t | length_type |
Functions | |
| return_type | lora_aes_set_key (const uint8_t key[], length_type keylen, lora_aes_context ctx[1]) |
| return_type | lora_aes_encrypt (const uint8_t in[N_BLOCK], uint8_t out[N_BLOCK], const lora_aes_context ctx[1]) |
| return_type | lora_aes_cbc_encrypt (const uint8_t *in, uint8_t *out, int32_t n_block, uint8_t iv[N_BLOCK], const lora_aes_context ctx[1]) |
| #define AES_ENC_PREKEYED /* AES encryption with a precomputed key schedule */ |
| #define N_ROW 4 |
| #define N_COL 4 |
| #define N_MAX_ROUNDS 14 |
| typedef uint8_t return_type |
| typedef uint8_t length_type |
| return_type lora_aes_set_key | ( | const uint8_t | key[], |
| length_type | keylen, | ||
| lora_aes_context | ctx[1] | ||
| ) |
| return_type lora_aes_encrypt | ( | const uint8_t | in[N_BLOCK], |
| uint8_t | out[N_BLOCK], | ||
| const lora_aes_context | ctx[1] | ||
| ) |
| return_type lora_aes_cbc_encrypt | ( | const uint8_t * | in, |
| uint8_t * | out, | ||
| int32_t | n_block, | ||
| uint8_t | iv[N_BLOCK], | ||
| const lora_aes_context | ctx[1] | ||
| ) |
1.8.18