| Electronic Components Datasheet Search |
|
NRF52805-CAAA-R Datasheet(PDF) 85 Page - Nordic Semiconductor |
|
|
|||||||||||||||||||||||||||||
NRF52805-CAAA-R Datasheet(HTML) 85 Page - Nordic Semiconductor |
|
85 / 358 page ![]() Peripherals pointer and its underlying data structure, and register MODE on page 94 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 95, 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 95 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. If a shortcut is used between the ENDKSGEN event and CRYPT task, pointer INPTR on page 94 and the pointers OUTPTR on page 95 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 94 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 95, see Encryption on page 85. 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 94. 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 27: 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 4454_187 v1.2 85 |
|
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 |
| 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 |