LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
108 of 130
Semtech
Proprietary & Confidential
www.semtech.com
10.3.7 CryptoAesEncrypt01
Command CryptoAesEncrypt01(...) encrypts the provided data using the specified Key and returns the encrypted
data. It can’t be used on key indexes 2-11, in order to prevent re-calculating the session keys.
• KeyID: Specified Key ID, as defined in Table 10-1: Cryptographic Keys Usage and Derivation.
Valid values are from12 to 25.
• Data1, Data2 to DataN: Provided data, considered as byte buffers.
• CEStatus: Defined in section CEStatus on page 103.
• EncryptedData1, EncryptedData2,... , EncryptedDataN: Encrypted data, considered as byte buffers.
Table 10-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 10-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