Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

NRF52820-QDAA-R Datasheet(PDF) 98 Page - Nordic Semiconductor

Part # NRF52820-QDAA-R
Description  nRF52820
PDF  437 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NORDIC [Nordic Semiconductor]
Direct Link  https://www.nordicsemi.com/
Logo NORDIC - Nordic Semiconductor

NRF52820-QDAA-R Datasheet(HTML) 98 Page - Nordic Semiconductor

Back Button NRF52820-QDAA-R Datasheet HTML 94Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 95Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 96Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 97Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 98Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 99Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 100Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 101Page - Nordic Semiconductor NRF52820-QDAA-R Datasheet HTML 102Page - Nordic Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 98 / 437 page
background image
Peripherals
If a shortcut is used between the ENDKSGEN event and CRYPT task, pointer INPTR on page 107 and the
pointers OUTPTR on page 107 must also be configured before the KSGEN task is triggered.
6.4.2 Encryption
The AES CCM periheral is able to read an unencrypted packet, encrypt it, and append a four byte MIC field
to the packet.
During packet encryption, the AES CCM peripheral performs the following:
• Reads the unencrypted packet located in RAM address specified in the INPTR pointer
• Encrypts the packet
• Appends a four byte long Message Integrity Check (MIC) field to the packet
Encryption is started by triggering the CRYPT task with register MODE on page 106 set to ENCRYPTION.
An ENDCRYPT event is generated when packet encryption is completed.
The AES CCM peripheral will also modify the length field of the packet to adjust for the appended MIC
field. It adds four bytes to the length and stores the resulting packet in RAM at the address specified in
pointer OUTPTR on page 107, see Encryption on page 98.
Empty packets (length field is set to
0) will not be encrypted but instead moved unmodified through the
AES CCM peripheral.
AES CCM supports different widths of the LENGTH field in the data structure for encrypted packets. This is
configured in register MODE on page 106.
AES CCM
H
PL
L
RFU
H
EPL
L+4 RFU
Unencrypted packet
Encrypted packet
MIC
Scratch area
CCM data
structure
MODE = ENCRYPTION
H: Header (S0)
L: Length
RFU: reserved for future use (S1)
PL: unencrypted payload
EPL: encrypted payload
INPTR
OUTPTR
SCRATCHPTR
CNFPTR
Figure 30: Encryption
6.4.3 Decryption
The AES CCM peripheral is able to read an encrypted packet, decrypt it, authenticate the MIC field, and
generate an appropriate MIC status.
During packet decryption, the AES CCM peripheral performs the following:
• Reads the encrypted packet located in RAM at the address specified in the INPTR pointer
• Decrypts the packet
• Authenticates the packet's MIC field
• Generates the appropriate MIC status
Decryption is started by triggering the CRYPT task with register MODE on page 106 set to DECRYPTION.
An ENDCRYPT event is generated when packet decryption is completed.
The AES CCM peripheral modifies the length field of the packet to adjust for the MIC field. It subtracts
four bytes from the length and stores the decrypted packet in RAM at the address specified in the pointer
OUTPTR, see Decryption on page 99.
CCM is only able to decrypt packet payloads that are at least five bytes long (one byte or more encrypted
payload (EPL) and four bytes of MIC). CCM will therefore generate a MIC error for packets where the
length field is set to 1, 2, 3, or 4.
4463_156 v1.0
98



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com