LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
110 of 130
Semtech
Proprietary & Confidential
www.semtech.com
10.3.9 CryptoAesDecrypt
Command CryptoAesDecrypt(...) decrypts the provided data using the specified Key and returns it, and can only be
used on keys indexes 26-27, when the Crypto Engine is used as a stand-alone hardware accelerator for non-LoRaWAN
security tasks.
• KeyID: Specified Key ID, as defined in Table 10-1: Cryptographic Keys Usage and Derivation.
Valid values are from 0 to 27.
• Data1, Data2 to DataN: Provided data, considered as byte buffers.
• CEStatus: Defined in section CEStatus on page 103.
• DecryptedData1, DecryptedData2 to DecryptedDataN: Decrypted data, considered as byte buffers.
Table 10-18: CryptoAesDecrypt Command
Byte 0 1 2 3 … N+2
Data from Host 0x05 0x09 KeyID (7:0) Data1 … DataN
Data to Host Stat1 Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
… 0x00
Table 10-19: CryptoAesDecrypt Response
Byte 0 1 2 … N+1
Data from Host 0x00 0x00 0x00 … 0x00
Data to Host Stat1 CEStatus
Decrypted
Data1
…
Decrypted
DataN