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

X  

NRF52820-QDAA-R Datasheet(PDF) 97 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) 97 Page - Nordic Semiconductor

Back Button NRF52820-QDAA-R Datasheet HTML 93Page - Nordic Semiconductor 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 437 page
background image
Peripherals
6.4 CCM — AES CCM mode encryption
Cipher block chaining - message authentication code (CCM) mode is an authenticated encryption
algorithm designed to provide both authentication and confidentiality during data transfer. CCM combines
counter mode encryption and CBC-MAC authentication. The CCM terminology "Message authentication
code (MAC)" is called the "Message integrity check (MIC)" in Bluetooth terminology and also in this
document.
The CCM block generates an encrypted keystream that is applied to input data using the XOR operation
and generates the four byte MIC field in one operation. CCM and RADIO can be configured to work
synchronously. CCM will encrypt in time for transmission and decrypt after receiving bytes into memory
from the radio. All operations can complete within the packet RX or TX time. CCM on this device is
implemented according to Bluetooth requirements and the algorithm as defined in IETF RFC3610, and
depends on the AES-128 block cipher. A description of the CCM algorithm can also be found in NIST
Special Publication 800-38C. The Bluetooth specification describes the configuration of counter mode
blocks and encryption blocks to implement compliant encryption for Bluetooth Low Energy.
The CCM block uses EasyDMA to load key counter mode blocks (including the nonce required), and to
read/write plain text and cipher text.
The AES CCM peripheral supports three operations: keystream generation, packet encryption, and packet
decryption. These operations are performed in compliance with the Bluetooth AES CCM 128 bit block
encryption, see Bluetooth Core specification Version 4.0.
The following figure illustrates keystream generation followed by encryption or decryption. The shortcut is
optional.
keystream
generation
KSGEN
encryption / decryption
CRYPT
ENDKSGEN
ENDCRYPT
SHORTCUT
Figure 29: Keystream generation
6.4.1 Keystream generation
A new keystream needs to be generated before a new packet encryption or packet decryption operation
can start.
A keystream is generated by triggering the KSGEN task. An ENDKSGEN event is generated after the
keystream has been generated.
Keystream generation, packet encryption, and packet decryption operations utilize the configuration
specified in the data structure pointed to by CNFPTR on page 107. It is necessary to configure this
pointer and its underlying data structure, and register MODE on page 106 before the KSGEN task is
triggered.
The keystream will be stored in the AES CCM peripheral’s temporary memory area, specified by the
SCRATCHPTR on page 107, where it will be used in subsequent encryption and decryption operations.
For default length packets (MODE.LENGTH = Default), the size of the generated keystream is 27 bytes.
When using extended length packets (MODE.LENGTH = Extended), register MAXPACKETSIZE on page
108 specifies the length of the keystream to be generated. The length of the generated keystream must
be greater or equal to the length of the subsequent packet payload to be encrypted or decrypted. The
maximum length of the keystream in extended mode is 251 bytes, which means that the maximum packet
payload size is 251.
4463_156 v1.0
97



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