The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

SHA-1 Hash Function Hammercores Altera SHA-1 hash function implem


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet




SHA-1 Hash Function
Hammercores Altera SHA-1 hash function implements SHA-1 message-digest algorithm, described FIPS 180-1, optimized Altera FLEX 10KE APEX20K devices. SHA-1 algorithm generates 160-bit message-digest, hash function, arbitrary length input, used digital signature applications. core supports SHA-1 algorithm, except following exceptions: maximum number bits input message limited resolution input message bytes, bits. test case generator included with core, which converts text file into simulation file core.
Ports Parameters
SHA-1 core fixed function, therefore parameters. Table shows input signals. Table Input Signals Signal Name
SYSCLK RESET DATIN[8.1]
Description
SYSCLK main system clock. core asynchronously reset when RESET signal asserted high. Input bytes written into core using this bus, when DSIN input high, core asserted RDYIN output. total bytes written into core during input cycle, except last block message, when number remaining bytes less than DSIN input strobes DATIN[] into core. LASTBYTE signal asserted high clock cycle with last byte message.
DSIN LASTBYTE
Table shows output signals.
A-WP-HCORES_SHA1-01.0 Date: February 2001
Altera Corporation
SHA-1 Hash Function
Table Output Signals Signal Name
RDYIN HA[32.1], HB[32.1], HC[32.1], HD[32.1],HE[32.1]
Description
RDYIN asserted high core when ready receive data. data read unless DSIN high well. This contains output hash from core. SHA-1 specification describes output being words, starting with least significant byte. output split into these five busses, that user more readily adapt endian their system.
Compiling Core
core optimized Altera FLEX 10KE APEX devices. must compiled into device that supports dual port RAM. best results, core should compiled with Global Logic Synthesis fast, with synthesis style that supports carry chains. 10K50S-1, core requires 1346 EABs, with fMAX MHz. 20K60E-1, core requires 1377 EABs, ESBs with fMAX MHz. system performance core calculated follows: Performance (Mbits/s) bits (fMAX clocks_per_hash); MHz, this translates Performance (78/335) Mbits/s.
Testing Core Utilities
testing utility, HASHAA.EXE, generates test cases both SHA-1 hashing algorithm cores, well being reference SHA-1 hashing algorithm.
Example Test Standard Sequence
HASHAA utility perform hash standard test sequences, file. Running standard tests: HASHAA This selects calculation hash "abc", which "A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D". Running utility also creates test case this sequence. From simulator window, Inputs/Outputs option (File menu), select vector file SHAA.VEC, start simulation.
Altera Corporation
SHA-1 Hash Function
result simulating testcase "A9993E36" "4706816A" "BA3E2571" "7850C26C" "9CD0D89D" Upon inspection, this same reference utility output.
Example Test File
Create file, TEST.TXT, containing capitals): HELLO WORLD Running test this file: HASHAA TEST.TXT Creates hash "2f36c116 141a8d05 827f9abe a0f617fe 25287505". Running HASHAA.EXE utility, pointing TEST.TXT, creates test case this. HASHAA TEST.TXT From simulator window, Inputs/Outputs option (File menu), select vector file HASHAA.VEC, start simulation. result simulating testcase "2F36C116" "141A8D05" "827F9ABE" "A0F617FE" "25287505" Upon inspection, this same reference utility output.
Altera Corporation
SHA-1 Hash Function
Appendix Level Wrapper
unencrypted level wrapper, TOP_LEVEL_SHAA.TDF provided, make easier instantiate core. source code wrapper follows: FUNCTION shaa (sysclk, reset, datin[8.1], dsin, lastbyte) RETURNS (rdyin, ha[32.1], hb[32.1], hc[32.1], hd[32.1], he[32.1]);
subdesign top_level_shaa sysclk, reset INPUT; datin[8.1] INPUT; dsin, lastbyte INPUT; rdyin OUTPUT; ha[32.1], hb[32.1], hc[32.1], hd[32.1], he[32.1] OUTPUT; BEGIN (rdyin, ha[32.1], hb[32.1], hc[32.1], hd[32.1], he[32.1]) shaa (sysclk, reset, datin[8.1], dsin, lastbyte); END;
Innovation Drive Jose, 95134 (408) 544-7000 http://www.altera.com
Copyright 2001 Altera Corporation. Altera, FLEX, MegaWizard, AMPP trademarks and/or service marks Altera Corporation United States other countries. Other brands products trademarks their respective holders. specifications contained herein subject change without notice. Altera assumes responsibility liability arising application information, product, service described herein except expressly agreed writing Altera Corporation. Altera customers advised obtain latest version device specifications before relying published information before placing orders products services. rights reserved.

Other recent searches


NV4a - NV4a   NV4a Datasheet
MQF130 - MQF130   MQF130 Datasheet
MCM63P631A - MCM63P631A   MCM63P631A Datasheet
LTC3411 - LTC3411   LTC3411 Datasheet
LMC7211 - LMC7211   LMC7211 Datasheet
HD74HC292 - HD74HC292   HD74HC292 Datasheet
HD74HC294 - HD74HC294   HD74HC294 Datasheet
GN10A - GN10A   GN10A Datasheet
GN25A - GN25A   GN25A Datasheet
GN50A - GN50A   GN50A Datasheet
GN75A - GN75A   GN75A Datasheet
BA6871BS - BA6871BS   BA6871BS Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive