Lines Matching +full:crc +full:- +full:enabled
4 * SPDX-License-Identifier: Apache-2.0
27 /* Configuration Pre-Lock Writable Registers */
34 * ctrid valid entries are [0x0-0xF]
40 * keyid valid entries are [0x0-0xF]
46 * zoneid valid entries are [0x0-0xF]
52 * crtid valid entries are [0x0-0xF] characters
58 * Pre-Small Zone Lock Writable
64 * keynum valid entries are [0-F] characters
118 uint16_t crc; in ataes132a_atmel_crc() local
122 for (i = 0, crc = 0U; i < length; i++) { in ataes132a_atmel_crc()
123 for (j = 7; j >= 0; j--) { in ataes132a_atmel_crc()
125 higher_crc_bit = crc >> 15; in ataes132a_atmel_crc()
126 double_carry = (crc & BIT(8)) << 1; in ataes132a_atmel_crc()
127 crc <<= 1; in ataes132a_atmel_crc()
128 crc |= double_carry; in ataes132a_atmel_crc()
131 crc ^= CRC16_POLY; in ataes132a_atmel_crc()
136 *(uint16_t *)output = crc << 8 | crc >> 8; in ataes132a_atmel_crc()
263 * - The encryption key id must be known.
264 * - The nonce used by the encryption device must be known or synchronized
266 * - The expected output length must be identical to the original length of
268 * - The MAC Count of the encryption device must be known.
269 * - The MAC Mode must be identical between encrypt and decrypt calls.
270 * - If the encryption was performed with a randomly generated nonce
272 * - If the encryption was performed with a given nonce, the given nonce
370 * The encryption key must be enabled to perform legacy ECM operation.