sha1_v01
所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:6KB
下载次数:33
上传日期:2012-09-20 14:57:19
上 传 者:
pworld
说明: 基于FIPS 180-4标准的SHA-1算法的verilog HDL实现,分模块分别实现
(FIPS 180-4 standard SHA-1 algorithm-based verilog HDL sub-modules, respectively, to achieve)
文件列表:
sha1_testbench.v (6945, 2002-10-01)
dffhr.v (972, 2002-10-01)
sha1_exec.v (6392, 2002-10-01)
sha1_round.v (2640, 2002-10-01)
// Paul Hartke, phartke@stanford.edu, Copyright (c)2002
//
// The information and description contained herein is the
// property of Paul Hartke.
//
// Permission is granted for any reuse of this information
// and description as long as this copyright notice is
// preserved. Modifications may be made as long as this
// notice is preserved.
// This code is made available "as is". There is no warranty,
// so use it at your own risk.
// Documentation? "Use the source, Luke!"
sha1_readme.txt version 0.1
Paul Hartke
phartke@stanford.edu
September 28, 2002
SHA-1 is defined in NIST FIPS 180-2, Secure Hash Standard
(SHS), August 2002. However, William Stalling's
"Cryptography and Network Security, Principles and Practice,
2nd Ed." has a very through description and is an all
around great crypto book.
Files included in this distribution are:
sha1_testbench.v
-- Testbench with vectors from NIST FIPS 180-2
sha1_exec.v
-- Top level sha1 module
sha1_round.v
-- primitive sha1 round
dffhr.v
-- generic parameterizable D-flip flop library
Performance Analysis
Performance equation of core is
frequency in MHz * (512bits/block) / (81 rounds/block). The
cycle time is approximately 9.0ns for Xilinx xc2vp7-ff896-7
FPGA which results in 700 Mbps processing rate.
Note: This calculation ignores the effect of a partially full
last block
Finally, Padding, HMAC, and bus interface functionality is not
provided. These will vary with the particular system design.
The core size is about 800 Xilinx Virtex II FPGA Family Slices.
I welcome feedback on any aspects of this design.
近期下载者:
相关文件:
收藏者: