lriot 2.1.0.0
|
Cryptographic engine driver types for LR1110. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | LR1110_CRYPTO_MIC_LENGTH 0x04 |
Length in bytes of a MIC. | |
#define | LR1110_CRYPTO_AES_CMAC_LENGTH 0x10 |
Length in bytes of a AES CMAC. | |
#define | LR1110_CRYPTO_DATA_MAX_LENGTH 0x0100 |
Maximum length in bytes of data to be encrypted / decrypted. | |
#define | LR1110_CRYPTO_KEY_LENGTH 0x10 |
Length in bytes of a key for AES computation. | |
#define | LR1110_CRYPTO_NONCE_LENGTH 0x10 |
Length in bytes of a nonce. | |
#define | LR1110_CRYPTO_PARAMETER_LENGTH 0x04 |
Length in bytes of a crypto parameter. | |
#define | LR1110_CRYPTO_STATUS_LENGTH 0x01 |
Length in bytes of the status returned by an API. | |
Typedefs | |
typedef uint8_t | lr1110_crypto_mic_t[LR1110_CRYPTO_MIC_LENGTH] |
Fixed-length array to store an AES CMAC. | |
typedef uint8_t | lr1110_crypto_aes_cmac_t[LR1110_CRYPTO_AES_CMAC_LENGTH] |
Fixed-length array to store an AES CMAC. | |
typedef uint8_t | lr1110_crypto_key_t[LR1110_CRYPTO_KEY_LENGTH] |
Fixed-length array to store a crypto key. | |
typedef uint8_t | lr1110_crypto_nonce_t[LR1110_CRYPTO_NONCE_LENGTH] |
Fixed-length array to store a crypto nonce. | |
typedef uint8_t | lr1110_crypto_param_t[LR1110_CRYPTO_PARAMETER_LENGTH] |
Fixed-length array to store a crypto parameter. | |
typedef enum lr1110_crypto_keys_idx_e | lr1110_crypto_keys_idx_t |
Crypto keys table index definition. | |
Cryptographic engine driver types for LR1110.
The Clear BSD License Copyright Semtech Corporation 2021. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define LR1110_CRYPTO_AES_CMAC_LENGTH 0x10 |
Length in bytes of a AES CMAC.
#define LR1110_CRYPTO_DATA_MAX_LENGTH 0x0100 |
Maximum length in bytes of data to be encrypted / decrypted.
#define LR1110_CRYPTO_KEY_LENGTH 0x10 |
Length in bytes of a key for AES computation.
#define LR1110_CRYPTO_MIC_LENGTH 0x04 |
Length in bytes of a MIC.
#define LR1110_CRYPTO_NONCE_LENGTH 0x10 |
Length in bytes of a nonce.
#define LR1110_CRYPTO_PARAMETER_LENGTH 0x04 |
Length in bytes of a crypto parameter.
#define LR1110_CRYPTO_STATUS_LENGTH 0x01 |
Length in bytes of the status returned by an API.
typedef uint8_t lr1110_crypto_aes_cmac_t[LR1110_CRYPTO_AES_CMAC_LENGTH] |
Fixed-length array to store an AES CMAC.
typedef uint8_t lr1110_crypto_key_t[LR1110_CRYPTO_KEY_LENGTH] |
Fixed-length array to store a crypto key.
typedef enum lr1110_crypto_keys_idx_e lr1110_crypto_keys_idx_t |
Crypto keys table index definition.
typedef uint8_t lr1110_crypto_mic_t[LR1110_CRYPTO_MIC_LENGTH] |
Fixed-length array to store an AES CMAC.
typedef uint8_t lr1110_crypto_nonce_t[LR1110_CRYPTO_NONCE_LENGTH] |
Fixed-length array to store a crypto nonce.
typedef uint8_t lr1110_crypto_param_t[LR1110_CRYPTO_PARAMETER_LENGTH] |
Fixed-length array to store a crypto parameter.
Crypto keys table index definition.
The status returned by the crypto API.