![NXP Semiconductors MWCT101 S Series Reference Manual Download Page 789](http://html1.mh-extra.com/html/nxp-semiconductors/mwct101-s-series/mwct101-s-series_reference-manual_1722210789.webp)
NOTE
1. If while continuing a command with a change in the CMD
field, a sequence error will occur. The CMD field must stay
consistent throughout the continuation of a command.
2. A general statement about all MAC and ENC/DEC
commands:
Per SHE specification, the User/Application must
manage any potential padding (blocks of bit length less
than the 128-bit block length) for all ENC/DEC
commands. While the CSEc module will manage all
potential padding for the MAC commands.
32.5.13.5 CMD_ENC_ECB
The Encrypt ECB command operates on a single 128-bit block of data. The function
encrypts a given PLAIN_TEXT (128-bits) with the key identified by the KEY_ID (5-
bits), and returns CIPHER_TEXT (128-bits). The ‘PAGE_LENGTH’ is use to tell the
operation how many 128-bit pages are to be processed. All data must be presented in
128-bit blocks (all padding must be done by the application). This command may also be
extended by using the CallSeq field to 0x01 for continued pages of data.
Table 32-66. Encrypt ECB command details
Parameter
Direction
Width
KEY_ID
IN
5
PAGE_LENGTH
IN
16
PLAIN_TEXT
IN
n * 128
CIPHER_TEXT
OUT
n * 128
CIPHER_TEXT = ENC
ECB,KEY, KEY_ID
(PLAIN_TEXT)
Error Codes: ERC_NO_ERROR, ERC_SEQUENCE_ERROR, ERC_KEY_NOT_AVAILABLE,
ERC_KEY_INVALID,ERC_KEY_EMPTY, ERC_MEMORY_FAILURE, ERC_BUSY, ERC_GENERAL_ERROR
CSEc Command and Data Structure for CSE_PRAM content writes/reads is as follows:
Figure 32-15. Encrypt ECB input parameter format
Byte
Page
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0
0x01 0x00 0x00 KeyID
Error Bits
Reserved
PAGE_LENG
TH
1
PLAIN_TEXT 1 [0:15]
2
PLAIN_TEXT 2 [0:15]
Table continues on the next page...
Chapter 32 Flash Memory Module (FTFC)
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
NXP Semiconductors
789
Summary of Contents for MWCT101 S Series
Page 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Page 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Page 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Page 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Page 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Page 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Page 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Page 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Page 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Page 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Page 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Page 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Page 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Page 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Page 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Page 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Page 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Page 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Page 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Page 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...