EasyManua.ls Logo

Semtech LR1110 - LR1110 CryptoAesEncrypt01 Command

Semtech LR1110
130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LR1110
User Manual Rev.1.0
UM.LR1110.W.APP March 2020
111 of 130
Semtech
www.semtech.com
Data1, Data2, ... , DataN: Provided data, considered as Byte buffers.
CEStatus: defined in section CEStatus on page 107.
If the 2 MICs are identical, the command will return CRYP_API_SUCCESS, otherwise, CRYP_API_FAIL_CMAC.
12.3.7 CryptoAesEncrypt01
The command CryptoAesEncrypt01( ) encrypts the provided data using the specified Key and return it.
KeyID: specified Key ID, as defined in Table 12-1: Cryptographic Keys Usage and Derivation. Goes from 0 to 27.
Data2, ... , DataN: Provided data, considered as Byte buffers.
CEStatus: defined in section CEStatus on page 107.
EncryptedData1, EncryptedData2, ... , EncryptedDataN: Encrypted data, considered as Byte buffers
12.3.8 CryptoAesEncrypt
The command CryptoAesEncrypt( ) encrypts the provided data using the specified Key and return it.
Table 12-14: CryptoAesEncrypt01 Command
Byte 0 1 2 3 4 N+2
Data from
Host
0x05 0x07 KeyID (7:0) 0x01 Data2 DataN
Data to Host Stat1 Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
IrqStatus
(15:8)
0x00
Table 12-15: CryptoAesEncrypt01 Response
Byte 0 1 2 N+1
Data from Host 0x00 0x00 0x00 0x00
Data to Host Stat1 CEStatus
Encrypted
Data1
Encrypted
DataN
Table 12-16: CryptoAesEncrypt Command
Byte 0 1 2 3 N+2
Data from Host 0x05 0x08 KeyID (7:0) Data1 DataN
Data to Host Stat1 Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
0x00

Table of Contents