Skip to content

PYNQ-Z2 AES En/Decryption System completed during the 2020 Xilinx Summer School

License

Notifications You must be signed in to change notification settings

WilliamsCeng/02Hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYNQ-AES-En/Decryption System/ 02Hero

Features

  • AES encryption and decryption
  • Any words which could be encoded as utf-8 with any length could be encrypted
  • Encrypt text file
  • Encrypt images

Hardware Platform

  • PYNQ-Z2 Evolution board with the PYNQ-image v2.5

Software Platform

  • Vivado 2018.3
  • Vivado HLS 2018.3

Quick Start

  1. To install this repository on your PYNQ board, open a terminal and run:
sudo pip3 install --upgrade git+https://github.com/WilliamsCeng/02Hero.git
  1. Or offline install :
  • Download this repository
  • Upload all the files under folder AES_En_De_PYNQ to your PYNQ-Z2's jupyter notebook folder to implement this system
  • Use jupyter notebook running on your PYNQ-Z2 and follow the instruction in the file AES_En_De_final_demo.ipynb
  • There are some tests in AES_En_De_final_demo.ipynb to demonstrate its Features

Acknowledgements

License

PYNQ License: BSD 3-Clause License

File Structure

  • boards/Pynq-Z2/AES_En_De_PYNQ

    放到PYNQ-Z2的应用层文件/ upload this folder to your PYNQ-Z2's jupyter notebook folder to implement this system

    • hls

      HLS相关文件/ source files used in HLS to export RTL as IP

    • bitstream

      vivado搭建硬件平台的相关文件/ .bit .hwh .tcl files about this system‘s hardware platform generated by vivado

    • files

      功能测试:文本文件加解密/ used to test Encrypt text file feature

    • images

      功能测试:图片加解密/ used to test Encrypt images feature

│  LICENSE
│  README.md
│  setup.py
│  
├─AES_En_De_PYNQ
│      __init.py__
│      
└─boards
    └─Pynq-Z2
        └─AES_En_De_PYNQ
            │  AES_En_De_final_demo.ipynb
            │  sds_trace_data.dat
            │  
            ├─bitstream
            │      AES_En_De.bit
            │      AES_En_De.hwh
            │      AES_En_De.tcl
            │      readme.md
            │      
            ├─files
            │      decrypted_encrypted_test.md
            │      encrypted_test.md
            │      test.md
            │      
            ├─hls
            │      aes.cpp
            │      aes.h
            │      aes_test.cpp
            │      directives.tcl
            │      
            └─images
                ├─lena
                │      decryption_image.jpg
                │      encryption_image.jpg
                │      lena.jpg
                │      original_image.jpg
                │      
                ├─paris
                │      decryption_image.jpg
                │      encryption_image.jpg
                │      original_image.jpg
                │      paris.jpg
                │      
                └─toys
                        decryption_image.jpg
                        encryption_image.jpg
                        original_image.jpg
                        toys.jpg
                        

About

PYNQ-Z2 AES En/Decryption System completed during the 2020 Xilinx Summer School

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages