zephyr/dts/bindings/crypto/nordic,nrf-ccm.yaml
Vinayak Kariappa Chettimada 9ede8cd87e dts: nRF: Add missing headermask binding for NRF_CCM
Add missing headermask binding for NRF_CCM peripheral and
define HAS_HW_NRF_CCM_HEADERMASK Kconfig.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2023-09-05 10:04:57 +02:00

30 lines
832 B
YAML

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nRF family CCM (AES CCM mode encryption)
compatible: "nordic,nrf-ccm"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true
length-field-length-8-bits:
type: boolean
description: |
Indicates whether the CCM peripheral supports the extended length
(8 bits) of the LENGTH field in encrypted/decrypted packets.
If not set, only the default length (5 bits) is supported.
headermask-supported:
type: boolean
description: |
Indicates whether the CCM peripheral supports the headermask register to
set the PDU header bitmask used to derive the additional authentication
data (AAD) in CCM for Bluetooth Low Energy ACL, BIS and CIS PDUs.