Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Data Authentication Algorithm (DAA) & DES Acceleration Suite

A structural SystemVerilog implementation of a cryptographic processing pipeline deployed on an FPGA. This system features a hardware-accelerated Core Data Encryption Standard (DES) Engine optimized to drive a high-throughput Data Authentication Algorithm (DAA) for cryptographic message authentication.

📌 Project Overview

This suite combines block-cipher hardware encryption with multi-block data integrity verification:

  1. DES_TOP Core: Processes standalone 64-bit blocks using a 64-bit key structure. It acts as the fundamental cryptographic primitive for our hardware accelerators.
  2. DAA Core: Automates authentication over wide payload fields by consuming a 256-bit wide data block, processing it under a 64-bit key, and reducing it down to a secure 64-bit Data Authentication Code (DAC) tag.

🛠️ System Architecture & Data Flow

The layout bridges individual component testing with wide-payload integration:

1. The DES Engine Primitive

  • Inputs: 64-bit Plaintext block (DESin), 64-bit Cipher Key (key), 1-bit execution trigger (start).
  • Outputs: 64-bit Ciphertext block (DEScipher).
  • Mechanism: Triggered on a single-clock pulse edge. It drives internal control pipelines to process rounds until the sub-module captures execution completion and asserts doneDES.

2. The Data Authentication Core

  • Inputs: 256-bit wide unstructured data stream (data), 64-bit Key array (key), 1-bit Master startDAA and rst triggers.
  • Outputs: 64-bit Secure Message Digest / Authenticator Tag (DAC).
  • Mechanism: Operates over a synchronous clock layout. It partitions the massive 256-bit wide frame internally into sequenced processing blocks, feeding intermediate encryption rounds back through the hardware FSM loop until doneDAA triggers the valid output packet.

🚀 Simulation & Verification

Both blocks include dedicated SystemVerilog testbenches to verify hardware processing before pushing the code to physical FPGA synthesis:

Test Case Verification Vectors

| Module | Signal | Tested Width | Hardcoded Test Vector Value | | DES Engine | key | 64-bit | 64'h0f1571c947d9e859 | | | DESin | 64-bit | 64'hda02ce3a89ecac3b | | DAA Core | key | 64-bit | 64'h0f1571c947d9e859 | | | data | 256-bit | 256'hfedcba987654321002468aceeca86420 |

Expected Simulation Console Logs

When executing the simulation runs within Vivado Simulator or ModelSim, the modules write the following execution transcripts to the console:

DES Top Primitive Log: key[0f1571c947d9e859] DESin[da02ce3a89ecac3b]

DES out: [Calculated 64-bit Ciphertext Value]

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages