Symmetric Cryptographic Intel FPGA Hard IP User Guide

ID 714305
Date 10/31/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.4. Cryptographic Error Status Register

Table 50.   err Register
Offset 0x14
Addressing Mode 32-bits
Description Cryptographic error status register.
The mem_ecc_derr and mem_ecc_serr registers assert if one or more uncorrectable or correctable memory errors occur on any soft logic. The following procedure loops through all available memories to identify the memory that asserted the ECC error flag:
  • Unset set qualifier mem_ecc_error_qual
  • Select the memory mem_ecc_error_sel[2:0]
  • Set qualifier mem_ecc_error_qual
  • Read status registers mem_ecc_derr and mem_ecc_serr
  • Unset set qualifier mem_ecc_error_qual
  • Clear the mem_ecc_errror status register and set the clear_error register
Table 51.   err Field Description
Bit Name Type Reset Description
31:25 ext R0 0x00 Indicates the extended error status.
  • [31:27]: Reserved
  • [26]: CTS is required but CTS core is not available.
  • [25]: SM4 processing attempt while SM4 is disabled.
24 mem_ecc_derr RO 0x00 Indicates the ECC uncorrectable memory error.
  • Asserts when uncorrectable error occurred on the memory selected with the mem_ecc_error_sel selection bit.
  • Clears when the clear_error register or the clear_all_status register.
23 mem_ecc_serr RO 0x00 Indicates the ECC correctable memory error.
  • Asserts when correctable error occurred on the memory selected with the mem_ecc_error_sel selection bit.
  • Clears when the clear_error register or the clear_all_status register asserts.
22 all_mem_ecc_derr RO 0x00 Indicates the global ECC uncorrectable memory error.
  • Asserts when an ECC uncorrectable error occurred in at least one of the Cryptographic ICA Hard IP following memories:
    • Cryptographic Interface Packetizer
    • Cryptographic Interface Depacketizer
    • Cryptographic Interface Mac FIFO
    • Encryption tweak or IV RAM
    • GHash Key RAM
    • Hash key powers RAM
    • Key1Hi RAM
    • Key1Lo RAM
    • Key2Hi RAM
    • Key2Lo RAM
    • GHash State RAM
    • Reserved
    • Proto state RAM
    • Key ID LUT RAM
    • Y0 Encrypted RAM
  • Clears when the clear_error register or the clear_all_status register asserts.
21 all_mem_ecc_serr RO 0x00 Indicates the global ECC correctable memory error.
  • Asserts when an ECC correctable error occurred in at least one of the Cryptographic ICA Hard IP following memories:
    • Key1Lo RAM
    • Key1Hi RAM
    • Key2Lo RAM
    • Key2Hi RAM
    • Encryption tweak or IV RAM
    • Y0 Encrypted RAM
    • GHash Key RAM
    • HKeyPow RAM1
    • GHash State RAM
    • CNT RAM
    • DFD Hub
    • Cryptographic Interface Depacketizer
    • Cryptographic Interface Packetizer
    • Cryptographic Interface Mac FIFO
  • Clears when the clear_error register or the clear_all_status register asserts.
20 crypto_mode RO 0x00 Indicates the cryptographic mode.
19 direction RO 0x00 Indicates the obfuscation direction:
  • 1: Encryption
  • 0: Decryption
18 key_size RO 0x00 Indicates the size of an en/decryption key:
  • 1: 128-bit key
  • 0: 256-bit key
17:8 channel_id RO 0x00 Indicates the channel ID that contains an error.
7:0 error_code RO 0x00 Indicates the received error code. Available error codes are:
  • [7]: XTS decryption key was loaded but the decrypt key scheduler core is not available.
  • [6]: CTR counter overflow. This error code is available for GCM setting only.
  • [5]: CTS mode was requested but CTS pipeline was bypassed.
  • [4]: Key RAM uncorrectable ECC error
  • [3]: Stream RAM uncorrectable ECC error
  • [2]: SOB without EOB error
  • [1]: Transfer without SOB error
  • [0]: Attempt to load the tweak/IV with first input data word while tweak/IV encryption core is not available.