Symmetric Cryptographic Intel FPGA Hard IP User Guide

ID 714305
Date 4/13/2022
Public

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

Document Table of Contents

3. Parameters

You customize the IP core by specifying parameters in the IP parameter editor.
Figure 3. IP Parameter Editor
Table 15.  IP Parameter Settings
Parameter Supported Values Default Setting Description
General
AES
  • Enable
  • Disable
Enable Selects the AES algorithm.
SM4
  • Enable
  • Disable
Disable Selects the SM4 algorithm.
GCM Options
Enable authentication check
  • On
  • Off
On Enable or disable authentication check on a packet decryption flow.
Drop the MAC on MACsec decryption
  • On
  • Off
Off Enable or disable dropping the MAC on decryption and not sending it out from the Symmetric Cryptographic IP core.
Number of MACsec streams 1-64 64 Specifies the number of streams supported for MACsec profile.
XTS Options
XTS
  • Enable
  • Disable
Enable Enable or disable the XTS mode.
Cipher Text Stealing
  • Enable
  • Disable
Enable Enable or disable the Ciphertext Stealing (CTS) mode.
XTS Protection
  • On
  • Off
Off

When enabled, it counts the number of tweaks/CTS/decryption within a window of time on the AXI-ST TX interface.

If the threshold of either five tweaks occurs within 20 clocks, four CTS occurs within 20 cycles, or five decryption keys occur within 16 cycles, the interface is back pressured by de-asserting the tready signal. During the back pressure, logic injects a dummy encryption key cycle using channel 1023 XTS profile until the number of tweaks/CTS/decryption keys within the window drops below the threshold.

This logic prevents the ICA hard IP from overflowing the number of outstanding tweaks/CTS/decryption key events that it can support.

Warning: Do not select XTS Protection parameter with this release.

You need to maintain the ingress tweaks/decrypt keys/CTS count so as to not exceed the limits stated above for the specified windows (16 or 20 clock cycles).

AXI-ST Options
AXI-ST tvalid path additional latency 0-6 0

Specifies the additional number of pipelines needed for the ready signal path for timing convergence.

Applicable only to the responder TX side.

Maximum AXI-ST Tx Latency (ready path + valid path + mode base) is up to 12.
  • Mode base is 0 if XTS and CTS modes are enabled
  • Otherwise, mode base is 5
AXI-ST tready path additional latency 0-6 0

Specifies the additional number of pipelines needed for the ready signal path for timing convergence.

Applicable only to the responder TX side.

Maximum AXI-ST Tx Latency (Ready + valid signal path) is up to 13.

AXI-LITE Options
AXI_LITE ready latency 0-2 0 Specifies the additional number of pipelines needed for timing convergence.
  • 0: No register
  • 1: One register on valid path
  • 2: One register each on both, valid and ready paths

Applicable only to AXI-Lite responder side.

Example Design Options
Example Design Configuration
  • GCM 1 x 512-bit interface
  • MACSEC 1 x 512-bit interface
  • IPSEC 1 x 512-bit interface
  • XTS 1 x 512-bit interface
GCM 1 x 512-bit interface Selects the example design options.
Acknowledgement: The example design generates with only the Example Design Options specified in the drop-down menu. No other IP parameters that you specify will apply to the example design generation.