Inline Encryption (Crypto) - Inline Encryption (Crypto) - 1.0 English - PG456

Integrated DDR5/LPDDR5/5X Memory Controller LogiCORE IP Product Guide (PG456)

Document_ID
PG456
Release_Date
2026-08-07
Version
1.0 English

The DDRMC5C and DDRMC5E provide hardware-accelerated inline memory encryption that transparently encrypts write data before it reaches DRAM and decrypts read data before it is returned to the AXI master.

Important: The DDRMC5X does not contain a Crypto block and does not support inline encryption. Inline encryption is available only on DDRMC5C and DDRMC5E. All three variants support inline ECC independently of Crypto.
Table 1. Memory Encryption Algorithm Comparison
Algorithm Key Size Metadata Location Maximum Number of Keys DPA Countermeasures
XTS-AES-256 512 bits (two 256-bit keys) On-chip RAM (no DRAM overhead). 512 Yes: Key-rolling and requires a system level response to bad decrypted data.
AES-GCM-256 256 bits DRAM (proportional to protected data size; Second Auth adds on-chip SRAM for secondary MACs — DRAM storage is not replaced). 1024 Yes: Key-rolling and Hardware Masking (Optional).

Both algorithms include hardware key rolling—automatic rotation of the active encryption key without software intervention—to limit the amount of data protected under a single key as required for cryptographic compliance. You can individually configure 16 independent address regions as unencrypted (pass-through), XTS-AES-256, or AES-GCM-256 encrypted. Encryption is transparent to the AXI master.

Note: DDRMC5 and DDRMC5C do not support exclusive AXI transactions (exclusive read/write sequences) to XTS-AES-256 encrypted regions. Use unencrypted or AES-GCM regions for addresses that require exclusive access