sha1
所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:7KB
下载次数:66
上传日期:2011-10-17 14:22:02
上 传 者:
zsw0123
说明: SHA1的VERILOG 实现,内含测试代码,经过了验证
(SHA1 implementation of VERILOG, containing test code, and proven)
文件列表:
sha1_v01\dffhr.v (972, 2002-10-01)
sha1_v01\sha1_exec.v (6392, 2002-10-01)
sha1_v01\sha1_round.v (2640, 2002-10-01)
sha1_v01\sha1_testbench.v (6945, 2002-10-01)
sha1_v01\transcript (447, 2009-10-31)
sha1_v01 (0, 2010-03-30)
// 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.
近期下载者:
相关文件:
收藏者: