OpenCores
URL https://opencores.org/ocsvn/sha1/sha1/trunk

Subversion Repositories sha1

[/] [sha1/] [web_uploads/] [sha1_readme_v01.txt] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 root
// Paul Hartke, phartke@stanford.edu,  Copyright (c)2002
2
//
3
// The information and description contained herein is the
4
// property of Paul Hartke.
5
//
6
// Permission is granted for any reuse of this information
7
// and description as long as this copyright notice is
8
// preserved.  Modifications may be made as long as this
9
// notice is preserved.
10
// This code is made available "as is".  There is no warranty,
11
// so use it at your own risk.
12
// Documentation? "Use the source, Luke!"
13
 
14
sha1_readme.txt  version 0.1
15
Paul Hartke
16
phartke@stanford.edu
17
September 28, 2002
18
 
19
SHA-1 is defined in NIST FIPS 180-2, Secure Hash Standard
20
(SHS), August 2002. However, William Stalling's
21
"Cryptography and Network Security, Principles and Practice,
22
2nd Ed." has a very through description and is an all
23
around great crypto book.
24
 
25
Files included in this distribution are:
26
sha1_testbench.v
27
  -- Testbench with vectors from NIST FIPS 180-2
28
sha1_exec.v
29
  -- Top level sha1 module
30
sha1_round.v
31
  -- primitive sha1 round
32
dffhr.v
33
  -- generic parameterizable D-flip flop library
34
 
35
Performance Analysis
36
Performance equation of core is
37
frequency in MHz * (512bits/block) / (81 rounds/block).  The
38
cycle time is approximately 9.0ns for Xilinx xc2vp7-ff896-7
39
FPGA which results in 700 Mbps processing rate.
40
Note: This calculation ignores the effect of a partially full
41
last block
42
 
43
Finally, Padding, HMAC, and bus interface functionality is not
44
provided.  These will vary with the particular system design.
45
 
46
The core size is about 800 Xilinx Virtex II FPGA Family Slices.
47
 
48
I welcome feedback on any aspects of this design.
49
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.