AES256SS IP Core Data Sheet

Features 1

General Description. 2

Functional Description. 3

1.     AES256SSENC. 3

1.1.       Key setting. 4

1.2.       Encryption control 4

2.     AES256SSDEC. 6

2.1.       Key setting. 7

2.2.       Decryption control 7

Verification Methods 9

Recommended Design Experience. 9

Ordering Information. 9

Revision History. 9

 

 

 

  Core Facts

Provided with Core

Documentation

User Guide, Design Guide

Design File Formats

Encrypted HDL

Instantiation Templates

VHDL

Reference Designs & Application Notes

Vivado Project,

See Reference design manual

Additional Items

Demo on ZCU106

Support

Support Provided by Design Gateway Co., Ltd.

 

Design Gateway Co.,Ltd

E-mail:    ip-sales@design-gateway.com

URL:       design-gateway.com

 

Features

·       Support AES ECB mode standard.

·       Support 256-bit key size.

·       Support input data width128-bit.

·       Throughput rate at 128Mbits/MHz.

·       Speed up to 51.2 Gbps @400MHz.

·       Operate 128-bit data every clock cycle.

 

 

Table 1: Example Implementation Statistics for Encryption (UltraScale+)

Family

Example Device

Fmax (MHz)

CLB

Regs

CLB

LUTs

CLB1

IOB

BRAMTile

Design Tools

Zynq-Ultrascale+

xczu7ev-ffvc1156-2-e

400

4000

10553

2074

-

-

Vivado2021.1

Kintex-UltraScale+2

xcku5p-ffvb676-2-e

400

4000

10545

1847

-

-

Vivado2021.1

Virtex-Ultrascale+2

xcvu9p-flga2104-2L-e

425

4000

10549

2064

-

-

Vivado2021.1

 

Table 2: Example Implementation Statistics for Decryption (UltraScale+)

Family

Example Device

Fmax (MHz)

CLB

Regs

CLB

LUTs

CLB1

IOB

BRAMTile

Design Tools

Zynq-Ultrascale+

xczu7ev-ffvc1156-2-e

400

4000

15406

2747

-

-

Vivado2021.1

Kintex-UltraScale+2

xcku5p-ffvb676-2-e

400

4000

15432

2537

-

-

Vivado2021.1

Virtex-Ultrascale+2

xcvu9p-flga2104-2L-e

425

4000

15533

2831

-

-

Vivado2021.1

 

Notes:

1)      Actual logic resource dependent on percentage of unrelated logic

2)      The results were obtained from implementation in the same environment, but have not been tested on the actual board.

 

Table 3: Example Implementation Statistics for Encryption (Versal)

Family

Example Device

Fmax (MHz)

CLB

Regs

CLB

LUTs

Slice1

IOB

BRAMTile

Design Tools

Versal AI Core2

xcvc1902-vsva2197-2MP-e-S

375

4001

11778

1988

-

-

Vivado2021.1

 

Table 4: Example Implementation Statistics for Decryption (Versal)

Family

Example Device

Fmax (MHz)

CLB

Regs

CLB

LUTs

Slice1

IOB

BRAMTile

Design Tools

Versal AI Core2

xcvc1902-vsva2197-2MP-e-S

375

4000

15455

2593

-

-

Vivado2021.1

 

 

 

Figure 1: Block Diagram

 

General Description

AES256SS IP Core (AES256SSIP) implement the advanced encryption standard (AES) algorithm which is widely used in many applications like file encryption, processor security, and secure file transfer protocol.

AES is a symmetric block cipher algorithm of the Rijndael family. Please find more details in the Federal Information Processing Standards Publication (FIPS PUB) 197.

AES256SSIP or AES256 Super-Speed IP is consists of AES256SSENC module which that is encryption module and AES256SSDEC module which is decryption module as shown in Figure 1. Both module start with key setting use 15 clock cycles, After key setting user can operate 128-bit data every clock cycle.

 

Functional Description

1.       AES256SSENC

Table 5: Interface signals of AES256SSENC

Signal name

Dir

Description

RstB

In

IP core system reset. Active low.

Clk

In

IP core system clock.

version[31:0]

Out

32-bit version number of AES256SSENC.

Key setting signals

KeyInValid

In

KeyInValid is a user signal to specify data valid of KeyIn.

Assert to ‘1’ to indicate that KeyIn is valid and start key setting.

 

KeyInBusy

Out

KeyInBusy specifies busy status of key setting.

Assert to ‘1’ after user sets KeyInValid, until the last cycle of operation.

KeyInValid or DataInValid will be ignored while KeyInBusy is ‘1’.

 

KeyInFinish

Out

KeyInFinish specifies finish status of key setting.

Assert to ‘1’ at the last cycle of operation.

 

KeyIn[255:0]

In

KeyIn is 256-bit key data for encryption.

KeyIn must be valid when KeyInValid is asserted to ‘1’.

 

Encryption control signals

DataInValid

In

DataInValid is a user signal to specify data valid of DataIn.

Assert to ‘1’ to indicate that DataIn is valid and start encryption process.

 

DataInBusy

Out

DataInBusy specifies busy status of encryption.

Assert to ‘1’ after user sets DataInValid, until the last cycle of operation.

KeyInValid will be ignored while DataInBusy is ‘1’.

 

LastProcess

Out

LastProcess specifies the finish status of the last data.

After the user does not send DataInValid=‘1’ for 14 clock cycles
LastProcess is
asserted to ‘1’ at the last cycle of operation.

 

DataIn[127:0]

In

DataIn is 128-bit input data.

DataIn must be valid when DataInValid is asserted to ‘1’.

 

CipherOutValid

Out

CipherOutValid specifies data valid for CipherOut.

Assert to ‘1’ when encryption finished.

 

CipherOut[127:0]

Out

CipherOut is 128-bit data output of encryption.

Valid when CipherOutValid is asserted to ‘1’.

 

 

 

Figure 2: AES256SSENC operation timing diagram

 

AES256SSENC operation is as simple as 2 steps to use as below.

1.1.   Key setting

       Key setting is the first step to use AES256SSENC. As shown in Figure 2, AES256SSENC is started key setting process when KeyInValid=‘1’ and takes 14 clocks cycles to finish the process (KeyInBusy=‘0’). After that, this KeyIn is used for every encryption and can be changed via KeyInValid is asserted to ‘1’.

 

1.2.   Encryption control

       As shown in Figure 2. After key setting, AES256SSENC can operate data every clock cycle. DataIn[127:0] is encrypted when DataInValid=‘1’, DataInBusy is set to be ‘1’ in the next cycle. Encrypted data is set to CipherOut[127:0] signal, while CipherOutValid signal is set to be ‘1’ after 15 clock cycles. After the user does not send DataInValid=‘1’ for 14 clock cycles, LastProcess is active only one clock at the last cycle of operation and DataInBusy is cleared to ‘0’ in the next cycle.

 

 

Figure 3: Timing diagram of encryption process

 

       As shown in Figure 3, DataInBusy will be cleared when the user does not send DataInValid=‘1’ more than 14 clock cycles, If the user wants to encrypt with the same key as the previous operation, user can send DataInValid=‘1’ to encrypt DataIn[127:0] without key setting.

 

2.       AES256SSDEC

Table 6: Interface signals of AES256SSDEC

Signal name

Dir

Description

RstB

In

IP core system reset. Active low.

Clk

In

IP core system clock.

version[31:0]

Out

32-bit version number of AES256SSDEC.

Key setting signals

KeyInValid

In

KeyInValid is a user signal to specify data valid of KeyIn.

Assert to ‘1’ to indicate that KeyIn is valid and start key setting.

 

KeyInBusy

Out

KeyInBusy specifies busy status of key setting.

Assert to ‘1’ after user sets KeyInValid, until the last cycle of operation.

KeyInValid or CipherInValid will be ignored while KeyInBusy is ‘1’.

 

KeyInFinish

Out

KeyInFinish specifies finish status of key setting.

Assert to ‘1’ at the last cycle of operation.

 

KeyIn[255:0]

In

KeyIn is 256-bit key data for decryption.

KeyIn must be valid when KeyInValid is asserted to ‘1’.

 

Decryption control signals

CipherInValid

In

CipherInValid is a user signal to specify data valid of CipherIn.

Assert to ‘1’ to indicate that CipherIn is valid and start decryption process.

 

CipherInBusy

Out

CipherInBusy specifies busy status of decryption.

Assert to ‘1’ after user sets CipherInValid, until the last cycle of operation.

KeyInValid will be ignored while CipherInBusy is ‘1’.

 

LastProcess

Out

LastProcess specifies the finish status of the last data.

After the user does not send CipherInValid=‘1’ for 14 clock cycles
LastProcess is asserted to ‘1’ at the last cycle of operation.

 

CipherIn[127:0]

In

CipherIn is 128-bit encrypted input data.

CipherIn must be valid when CipherInValid is asserted to ‘1’.

 

DataOutValid

Out

DataOutValid specify data valid for DataOut.

Assert to ‘1’ when decryption finished.

 

DataOut[127:0]

Out

DataOut is 128-bit data output of decryption.

Valid when DataOutValid is asserted to ‘1’.

 

 

 

Figure 4: AES256SSDEC operation timing diagram

 

AES256SSDEC operation is as simple as 2 steps to use as below.

2.1.   Key setting

       Key setting is the first step to use AES256SSDEC. As shown in Figure 4, AES256SSDEC is started key setting process when KeyInValid=‘1’ and takes 14 clocks cycles to finish the process (KeyInBusy=‘0’). After that, this KeyIn is used for every decryption and can be changed via KeyInValid is asserted to ‘1’.

 

2.2.   Decryption control

       As shown in Figure 4. After key setting, AES256SSDEC can operate data every clock cycle. Cipher[127:0] is decrypted when CipherInValid=‘1’, CipherInBusy is set to be ‘1’ in the next cycle. Decrypted data is set to DataOut[127:0] signal, while DataOutValid signal is set to be ‘1’ after 15 clock cycles. After the user does not send CipherInValid=‘1’ for 14 clock cycles, LastProcess is active only one clock at the last cycle of operation and CipherInBusy is cleared to ‘0’ in the next cycle.

 

 

Figure 5: Timing diagram of decryption process

 

       As shown in Figure 5, CipherInBusy will be cleared when the user does not send CipherInValid=‘1’ more than 14 clock cycles, If the user wants to decrypt with the same key as the previous operation, user can send CipherInValid=‘1’ to decrypt Cipher[127:0] without key setting.

 

Verification Methods

AES256SS IP Core functionality were verified on real board design by using ZCU106 Evaluation Board.

 

Recommended Design Experience

The user must be familiar with HDL design methodology to integrate this IP into system.

 

Ordering Information

This product is available directly from Design Gateway Co., Ltd. Please contact Design Gateway Co., Ltd. For pricing and additional information about this product using the contact information on the front page of this datasheet.

 

Revision History

Revision

Date

Description

1.00

1/Sep/2022

New release

1.02

16/Sep/2022

New design to improve performance

1.03

27/Sep/2022

Update pictures and description

1.04

15/Feb/2023

Add more resource information