首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

学习内容,之后学习使用

前端 2.78MB 3 需要积分: 1
立即下载

资源介绍:

学习内容,之后学习使用
[![build-openlane-sky130](https://github.com/secworks/aes/actions/workflows/ci.yml/badge.svg?branch=master&event=push)](https://github.com/secworks/aes/actions/workflows/ci.yml) aes === Verilog implementation of the [symmetric block cipher AES (NIST FIPS 197)](http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf). ## Status ## The core is completed, has been used in several FPGA and ASIC designs. The core is well tested and mature. ## Introduction ## This implementation supports 128 and 256 bit keys. The implementation is iterative and process one 128 block at a time. Blocks are processed on a word level with 4 S-boxes in the data path. The S-boxes for encryption are shared with the key expansion and the core can thus not do key update in parallel with block processing. The encipher and decipher block processing datapaths are separated and basically self contained given access to a set of round keys and a block. This makes it possible to hard wire the core to only encipher or decipher operation. This allows the synthesis/build tools to optimize away the other functionality which will reduce the size to about 50%. This has been tested to verify that decryption is removed and the core still works. For cipher modes such as CTR, CCM, CMAC, GCM the decryption functionality in the AES core will never be used and thus the decipher block processing can be removed. This is a fairly compact implementation. Further reduction could be achived by just having a single S-box. Similarly the performane can be increased by having 8 or even 16 S-boxes which would reduce the number of cycles to two cycles for each round. ## Branches ## There are several branches available that provides different versions of the core. The branches are not planned to be merged into master. The branches available that provides versions of the core are: ### on-the-fly-keygen ### This version of AES implements the key expansion using an on-the-fly mechanism. This allows the initial key expansion to be removed. This saves a number of cycles and also remove almost 1800 registers needed to store the round keys. Note that this version of AES only supports encryption. On-the-fly key generation does not work with decryption. Decryption must be handled by the block cipher mode - for example CTR. ### dual-keys ### This version of AES supports two separate banks of expanded keys to allow fast key switching between two keys. This is useful for example in an AEAD mode with CBC + CMAC implemented using a single AES core. ### cmt-sbox ### An experimental version of the core in which the S-box is implemented using circuit minimized logic functions of a ROM table. The specific table used is [the 113 gate circuit](http://cs-www.cs.yale.edu/homes/peralta/CircuitStuff/SLP_AES_113.txt) by the [CMT team at Yale](http://cs-www.cs.yale.edu/homes/peralta/CircuitStuff/CMT.html). Some area and performance results using the cmt_sbox compared to master. #### Altera - Tool: Quartus Prime 19.1.0 - Device: Cyclone V (5CGXFC7C7F23C8) - master (S-box implemented with a table) - ALMs: 2599 - Regs: 3184 - Fmax: 93 MHz - aes_sbox: 160 ALUTs - cmt_sbox - ALMs: 2759 - Regs: 3147 - Fmax: 69 MHz - aes_sbox: 363 ALUTs #### Xilinx - Tool: Vivado 2019.2 - Device: Kintex-7 (7k70tfbv676-1) - master: - LUTs: 3020 - FFs: 2992 - Fmax: 125 MHz - cmt_sbox: - LUTs: 2955 - FFs: 2992 - Fmax: 105 MHz ## Core Usage ### Usage sequence: 1. Load the key to be used by writing to the key register words. 2. Set the key length by writing to the config register. 3. Initialize key expansion by writing a one to the init bit in the control register. 4. Wait for the ready bit in the status register to be cleared and then to be set again. This means that the key expansion has been completed. 5. Write the cleartext block to the block registers. 6. Start block processing by writing a one to the next bit in the control register. 7. Wait for the ready bit in the status register to be cleared and then to be set again. This means that the data block has been processed. 8. Read out the ciphertext block from the result registers. ## FuseSoC This core is supported by the [FuseSoC](https://github.com/olofk/fusesoc) core package manager and build system. Some quick FuseSoC instructions: install FuseSoC ~~~ pip install fusesoc ~~~ Create and enter a new workspace ~~~ mkdir workspace && cd workspace ~~~ Register aes as a library in the workspace ~~~ fusesoc library add aes /path/to/aes ~~~ ...if repo is available locally or... ...to get the upstream repo ~~~ fusesoc library add aes https://github.com/secworks/aes ~~~ To run lint ~~~ fusesoc run --target=lint secworks:crypto:aes ~~~ Run tb_aes testbench ~~~ fusesoc run --target=tb_aes secworks:crypto:aes ~~~ Run with modelsim instead of default tool (icarus) ~~~ fusesoc run --target=tb_aes --tool=modelsim secworks:crypto:aes ~~~ List all targets ~~~ fusesoc core show secworks:crypto:aes ~~~ ## Implementation results - ASIC ## The core has been implemented in standard cell ASIC processes. ### TSMC 180 nm ### Target frequency: 20 MHz Complete flow from RTL to placed gates. Automatic clock gating and scan insertion. - 8 kCells - Aera: 520 x 520 um - Good timing margin with no big cells and buffers. ## Implementation results - FPGA ## The core has been implemented in Altera and Xilinx FPGA devices. ### Altera Cyclone V GX ### - 2624 ALMs - 3123 Regs - 96 MHz - 46 cycles/block ### Altera Cyclone IV GX ### - 7426 LEs - 2994 Regs - 96 MHz fmax - 46 cycles/block This means that we can do more than 2 Mblocks/s or 256 Mbps performance. Removing the decipher module yields: - 5497 LEs - 2855 Regs - 106 MHz fmax - 46 cycles/block ### Microchip IGLOO 2 ### - Tool: Libero v 12.4 - Device: M2GL090TS-1FG484I - LUTs: 6335 - SLEs: 1376 - BRAMs: 8 - Fmax: 98.5 MHz ### Xilinx Spartan6LX-3 ### - 2576 slices - 3000 regs - 100 MHz - 46 cycles/block ### Xilinx Artix 7 200T-3 ### - 2298 slices - 2989 regs - 97 MHz - 46 cycles/block

资源文件列表:

new.zip 大约有143个文件
  1. new/
  2. new/AES-FPGA-master能用/
  3. new/AES-FPGA-master能用/.gitignore 602B
  4. new/AES-FPGA-master能用/aes_core/
  5. new/AES-FPGA-master能用/aes_core/aes_cipher_top.v 9.99KB
  6. new/AES-FPGA-master能用/aes_core/aes_inv_cipher_top.v 11.41KB
  7. new/AES-FPGA-master能用/aes_core/aes_inv_sbox.v 8.06KB
  8. new/AES-FPGA-master能用/aes_core/aes_key_expand_128.v 3.82KB
  9. new/AES-FPGA-master能用/aes_core/aes_rcon.v 3.68KB
  10. new/AES-FPGA-master能用/aes_core/aes_sbox.v 8.05KB
  11. new/AES-FPGA-master能用/aes_core/timescale.v 22B
  12. new/AES-FPGA-master能用/aes_fpga.xise 37.44KB
  13. new/AES-FPGA-master能用/aes_inv_test.v 1.34KB
  14. new/AES-FPGA-master能用/aes_test.v 1.21KB
  15. new/AES-FPGA-master能用/fuse.xmsgs 360B
  16. new/AES-FPGA-master能用/README.md 477B
  17. new/aes-master-能用/
  18. new/aes-master-能用/.gitattributes 83B
  19. new/aes-master-能用/.github/
  20. new/aes-master-能用/.github/workflows/
  21. new/aes-master-能用/.github/workflows/ci.yml 1.21KB
  22. new/aes-master-能用/.gitignore 568B
  23. new/aes-master-能用/aes.core 1.17KB
  24. new/aes-master-能用/data/
  25. new/aes-master-能用/data/sky130.tcl 199B
  26. new/aes-master-能用/LICENSE 1.27KB
  27. new/aes-master-能用/README.md 5.9KB
  28. new/aes-master-能用/src/
  29. new/aes-master-能用/src/model/
  30. new/aes-master-能用/src/model/python/
  31. new/aes-master-能用/src/model/python/aes.py 33.69KB
  32. new/aes-master-能用/src/model/python/aes_key_gen.py 22.29KB
  33. new/aes-master-能用/src/model/python/rcon.py 23.37KB
  34. new/aes-master-能用/src/rtl/
  35. new/aes-master-能用/src/rtl/aes.v 8.3KB
  36. new/aes-master-能用/src/rtl/aes_core.v 10.31KB
  37. new/aes-master-能用/src/rtl/aes_decipher_block.v 15.28KB
  38. new/aes-master-能用/src/rtl/aes_encipher_block.v 14.08KB
  39. new/aes-master-能用/src/rtl/aes_inv_sbox.v 11.2KB
  40. new/aes-master-能用/src/rtl/aes_key_mem.v 12.47KB
  41. new/aes-master-能用/src/rtl/aes_sbox.v 10.24KB
  42. new/aes-master-能用/src/tb/
  43. new/aes-master-能用/src/tb/tb_aes.v 18.69KB
  44. new/aes-master-能用/src/tb/tb_aes_core.v 17.13KB
  45. new/aes-master-能用/src/tb/tb_aes_decipher_block.v 14.06KB
  46. new/aes-master-能用/src/tb/tb_aes_encipher_block.v 18.2KB
  47. new/aes-master-能用/src/tb/tb_aes_key_mem.v 24.6KB
  48. new/aes-master-能用/toolruns/
  49. new/aes-master-能用/toolruns/Makefile 4KB
  50. new/aes-verilog-master能用/
  51. new/aes-verilog-master能用/A0185646R_Pang Jia Jun Vernon.pdf 276.53KB
  52. new/aes-verilog-master能用/part1-siso/
  53. new/aes-verilog-master能用/part1-siso/src/
  54. new/aes-verilog-master能用/part1-siso/src/AddRndKey_top.v 544B
  55. new/aes-verilog-master能用/part1-siso/src/AEScntx.v 1.11KB
  56. new/aes-verilog-master能用/part1-siso/src/AESCore.v 1.55KB
  57. new/aes-verilog-master能用/part1-siso/src/aes_sbox.v 4.94KB
  58. new/aes-verilog-master能用/part1-siso/src/AES_top.v 976B
  59. new/aes-verilog-master能用/part1-siso/src/KeySchedule_top.v 1.41KB
  60. new/aes-verilog-master能用/part1-siso/src/matrix_mult.v 642B
  61. new/aes-verilog-master能用/part1-siso/src/MixCol_top.v 508B
  62. new/aes-verilog-master能用/part1-siso/src/shiftRows_top.v 1.21KB
  63. new/aes-verilog-master能用/part1-siso/src/subBytes_top.v 550B
  64. new/aes-verilog-master能用/part1-siso/src/tb_aes.sv 4.24KB
  65. new/aes-verilog-master能用/part1-siso/syn/
  66. new/aes-verilog-master能用/part1-siso/syn/.synopsys_dc.setup 436B
  67. new/aes-verilog-master能用/part1-siso/syn/constraint.tcl 293B
  68. new/aes-verilog-master能用/part1-siso/syn/synthesis.tcl 528B
  69. new/aes-verilog-master能用/part1-siso/vcs/
  70. new/aes-verilog-master能用/part1-siso/vcs/makefile 395B
  71. new/aes-verilog-master能用/part2-mimo/
  72. new/aes-verilog-master能用/part2-mimo/src/
  73. new/aes-verilog-master能用/part2-mimo/src/AddRndKey_top.v 544B
  74. new/aes-verilog-master能用/part2-mimo/src/AEScntx.v 1.11KB
  75. new/aes-verilog-master能用/part2-mimo/src/AESCore.v 1.55KB
  76. new/aes-verilog-master能用/part2-mimo/src/aes_sbox.v 4.94KB
  77. new/aes-verilog-master能用/part2-mimo/src/AES_top.v 1.24KB
  78. new/aes-verilog-master能用/part2-mimo/src/KeySchedule_top.v 1.41KB
  79. new/aes-verilog-master能用/part2-mimo/src/matrix_mult.v 642B
  80. new/aes-verilog-master能用/part2-mimo/src/MixCol_top.v 508B
  81. new/aes-verilog-master能用/part2-mimo/src/shiftRows_top.v 1.21KB
  82. new/aes-verilog-master能用/part2-mimo/src/subBytes_top.v 550B
  83. new/aes-verilog-master能用/part2-mimo/src/tb_aes.sv 2.1KB
  84. new/aes-verilog-master能用/part2-mimo/syn/
  85. new/aes-verilog-master能用/part2-mimo/syn/.synopsys_dc.setup 436B
  86. new/aes-verilog-master能用/part2-mimo/syn/constraint.tcl 293B
  87. new/aes-verilog-master能用/part2-mimo/syn/synthesis.tcl 528B
  88. new/aes-verilog-master能用/part2-mimo/vcs/
  89. new/aes-verilog-master能用/part2-mimo/vcs/makefile 395B
  90. new/aes-verilog-master能用/part3/
  91. new/aes-verilog-master能用/part3/src/
  92. new/aes-verilog-master能用/part3/src/AddRndKey_top.v 544B
  93. new/aes-verilog-master能用/part3/src/AEScntx.v 1.5KB
  94. new/aes-verilog-master能用/part3/src/AESCore.v 1.93KB
  95. new/aes-verilog-master能用/part3/src/aes_sbox.v 4.94KB
  96. new/aes-verilog-master能用/part3/src/AES_top.v 991B
  97. new/aes-verilog-master能用/part3/src/KeySchedule_top.v 1.41KB
  98. new/aes-verilog-master能用/part3/src/matrix_mult.v 642B
  99. new/aes-verilog-master能用/part3/src/MixCol_top.v 508B
  100. new/aes-verilog-master能用/part3/src/shiftRows_top.v 1.21KB
  101. new/aes-verilog-master能用/part3/src/subBytes_top.v 550B
  102. new/aes-verilog-master能用/part3/src/tb_aes.sv 4.08KB
  103. new/aes-verilog-master能用/part3/syn/
  104. new/aes-verilog-master能用/part3/syn/.synopsys_dc.setup 436B
  105. new/aes-verilog-master能用/part3/syn/constraint.tcl 297B
  106. new/aes-verilog-master能用/part3/syn/synthesis.tcl 616B
  107. new/aes-verilog-master能用/part3/vcs/
  108. new/aes-verilog-master能用/part3/vcs/makefile 395B
  109. new/aes-verilog-master能用/README.md 244B
  110. new/aes-verilog-master能用/ref/
  111. new/aes-verilog-master能用/ref/cipher_key.txt 322.46KB
  112. new/aes-verilog-master能用/ref/cipher_text.txt 322.27KB
  113. new/aes-verilog-master能用/ref/initial_round_data.txt 322.27KB
  114. new/aes-verilog-master能用/ref/plain_text.txt 322.46KB
  115. new/aes-verilog-master能用/ref/round1_data.txt 322.27KB
  116. new/aes-verilog-master能用/ref/round2_data.txt 322.27KB
  117. new/aes-verilog-master能用/ref/round3_data.txt 322.27KB
  118. new/aes-verilog-master能用/ref/round4_data.txt 322.27KB
  119. new/aes-verilog-master能用/ref/round5_data.txt 322.27KB
  120. new/aes-verilog-master能用/ref/round6_data.txt 322.27KB
  121. new/aes-verilog-master能用/ref/round7_data.txt 322.27KB
  122. new/aes-verilog-master能用/ref/round8_data.txt 322.27KB
  123. new/aes-verilog-master能用/ref/round9_data.txt 322.27KB
  124. new/Hardware-Implementation-of-AES-main能用/
  125. new/Hardware-Implementation-of-AES-main能用/README.md 3.47KB
  126. new/Hardware-Implementation-of-AES-main能用/src/
  127. new/Hardware-Implementation-of-AES-main能用/src/AddRoundKey.v 446B
  128. new/Hardware-Implementation-of-AES-main能用/src/AES.v 2.57KB
  129. new/Hardware-Implementation-of-AES-main能用/src/clock_gating.v 361B
  130. new/Hardware-Implementation-of-AES-main能用/src/FSM_controller.v 4.58KB
  131. new/Hardware-Implementation-of-AES-main能用/src/key_shedule.v 2.62KB
  132. new/Hardware-Implementation-of-AES-main能用/src/MixColumns.v 1.24KB
  133. new/Hardware-Implementation-of-AES-main能用/src/mux2_1.v 261B
  134. new/Hardware-Implementation-of-AES-main能用/src/mux_4_1.v 370B
  135. new/Hardware-Implementation-of-AES-main能用/src/RCON.v 378B
  136. new/Hardware-Implementation-of-AES-main能用/src/README.md 3.24KB
  137. new/Hardware-Implementation-of-AES-main能用/src/register.v 749B
  138. new/Hardware-Implementation-of-AES-main能用/src/Shift_Rows.v 1.02KB
  139. new/Hardware-Implementation-of-AES-main能用/src/SubByte.v 3.09KB
  140. new/Hardware-Implementation-of-AES-main能用/src/S_BOX.v 5.11KB
  141. new/Hardware-Implementation-of-AES-main能用/src/xor128.v 463B
  142. new/Hardware-Implementation-of-AES-main能用/tb/
  143. new/Hardware-Implementation-of-AES-main能用/tb/AES_tb.v 843B
0评论
提交 加载更多评论
其他资源 基于Springboot智能物流管理系统的设计与实现
基于Springboot智能物流管理系统的设计与实现,采用Springboot+mybtis+vue+mysql实现,系统的用户分别实现了四种,管理员,顾客,员工,店主。
基于Springboot智能物流管理系统的设计与实现
Springboot基于web的智慧社区网站系统源码
springboot基于web的智慧社区设计与实现,智慧社区网站有管理员和客户两个角色。系统采用Springboot+mybatis+vue+mysql实现。
Springboot基于web的智慧社区网站系统源码
ocr光学识别+识别测试数据1000张
资源概述: 本资源包包含1000张高质量的OCR(光学字符识别)测试图像,旨在为研究人员和开发者提供一个丰富的实验基础。这些图像涵盖了多种字体、语言和背景,适用于不同的OCR算法测试与评估。 适用人群: 该数据集特别适合以下用户: 计算机视觉研究人员:可用于算法的训练和性能评估。 软件开发者:帮助开发OCR应用程序,提升识别准确率。 教学机构:可作为教学材料,为学生提供实践经验。
MATLAB仿真模拟泊车,灵感来源于老师的作业和看见的大学学报
内容集成介绍和matlab工程:打开就能用 适用人群:实在找不到仿真对象来完成建模作业的大学生,救急,不要拿着个去参加任何仿真比赛 论文的话建议自己写,是在不想写了可以去ai生成 此外我觉得xx学报,山阳区煤矿职业技术学校就有很多的模糊控制啊,bp+遗传,都可以仿真的 为什么会分类嵌入式呢,自动化的学生,你需要它 免费的
基于springboot视频网站系统的设计与实现
基于springboot视频网站系统的设计与实现,采用Springboot+vue+mysql实现,系统采用B/S架构,分为前台用户端和后台管理员端。
基于springboot视频网站系统的设计与实现
scala-代码-scala
scala-代码-scala
scala-scala
scala-scala
hadoop笔记(word版本).zip
hadoop笔记