Cryptoaesencrypt01; Cryptoaesencrypt; Table 12-14: Cryptoaesencrypt01 Command; Table 12-15: Cryptoaesencrypt01 Response - Semtech LR1110 User Manual

Hide thumbs Also See for LR1110:
Table of Contents

Advertisement

Data1, Data2, ... , DataN: Provided data, considered as Byte buffers.
CEStatus: defined in section
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.

Table 12-14: CryptoAesEncrypt01 Command

Byte
0
Data from
0x05
Host
Data to Host
Stat1

Table 12-15: CryptoAesEncrypt01 Response

Byte
Data from Host
Data to Host
KeyID: specified Key ID, as defined in
Data2, ... , DataN: Provided data, considered as Byte buffers.
CEStatus: defined in section
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-16: CryptoAesEncrypt Command

Byte
Data from Host
Data to Host
LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
CEStatus on page
107.
1
2
0x07
KeyID (7:0)
IrqStatus
Stat2
(31:24)
0
1
0x00
0x00
Stat1
CEStatus
Table 12-1: Cryptographic Keys Usage and
CEStatus on page
107.
0
1
0x05
0x08
Stat1
Stat2
www.semtech.com
3
4
0x01
Data2
IrqStatus
IrqStatus
(23:16)
(15:8)
2
0x00
Encrypted
Data1
Derivation. Goes from 0 to 27.
2
3
KeyID (7:0)
Data1
IrqStatus
IrqStatus
(31:24)
(23:16)
...
N+2
...
DataN
...
0x00
...
N+1
...
0x00
Encrypted
...
DataN
...
N+2
...
DataN
...
0x00
111 of 130
Semtech

Advertisement

Table of Contents
loading

Table of Contents