DOI QR코드

DOI QR Code

A Small-Area Hardware Implementation of Hash Algorithm Standard HAS-160

해쉬 알고리듬 표준 HAS-l60의 저면적 하드웨어 구현

  • 김해주 (금오공과대학교 전자공학부) ;
  • 전흥우 (금오공과대학교 전자공학부) ;
  • 신경욱 (금오공과대학교 전자공학부)
  • Received : 2009.11.16
  • Accepted : 2010.01.03
  • Published : 2010.03.31

Abstract

This paper describes a hardware design of hash function processor which implements Korean Hash Algorithm Standard HAS-160. The HAS-160 processor compresses a message with arbitrary lengths into a hash code with a fixed length of 160-bit. To achieve high-speed operation with small-area, arithmetic operation for step-operation is implemented by using a hybrid structure of 5:3 and 3:2 carry-save adders and carry-select adder. It computes a 160-bit hash code from a message block of 512 bits in 82 clock cycles, and has 312 Mbps throughput at 50 MHz@3.3-V clock frequency. The designed HAS-160 processor is verified by FPGA implementation, and it has 17,600 gates on a layout area of about $1\;mm^2$ using a 0.35-${\mu}m$ CMOS cell library.

임의의 길이의 메시지를 160 비트의 해쉬(hash) 코드로 압축하는 한국형 해쉬 알고리듬 표준 HAS-160의 하드웨어 구현에 대해 기술한다. 저면적 구현과 고속 연산을 위해 단계연산 회로를 5:3 및 3:2 캐리보존 가산기(carry-save adder)와 캐리선택 가산기(carry-select adder)의 혼합구조를 사용하여 설계하였다. 512 비트 메시지 블록으로부터 160 비트의 해쉬코드를 생성하는데 82 클록주기가 소요되며, 50 MHz@3.3-V로 동작하는 경우 312 Mbps의 성능을 나타낸다. 설계된 HAS-160 프로세서는 FPGA 구현을 통해 기능을 검증하였으며, 0.35-${\mu}m$ CMOS 셀 라이브러리로 합성한 결과 약 17,600개의 게이트와 약 $1\;mm^2$의 면적으로 구현되었다.

Keywords

References

  1. William Staillings, Cryptography and Network Security, Principle and Practice, 1999.
  2. TTA, "Hash Function Algorithm Standard (HAS-160)", 12. 2000 .
  3. Ju-Dai Hyun, Byeong-Yoon Choi, "Hard- ware Design of HAS-160 Algorithm", Dong-Eui Univ., vol. 37, pp. 415-421, 08. 2002.
  4. 전신우, 김남영, 정용진, "SHA-1과 HAS-160과 의사 난수 발생기를 구현한 해쉬 프로세서 설계", 한국통신학회 논문지, vol.27, pp. 112-121, 2002,
  5. Yongje Choi, Mooseop Kim, Taesung Kim, Howon Kim, "Low power implementation of SHA-1 algorithm for RFID system", IEEE Int. Symp. on Consumer Electronics, pp. 1-5, June, 2006.
  6. 성수학, "해쉬함수의 최근 동향", http://mathnet. kaist.ac.kr/real/2006/6/text/sungsuhak,pdf, June, 2006.
  7. Charanjit S. Jutla and Anindya C. Patthak, "Provably Good Codes for Hash Function Design", IEEE Trans. on Information Theory, vol. 55, no. 1, pp. 33-45, Jan. 2009. https://doi.org/10.1109/TIT.2008.2008129
  8. SHA-1 Standard, National Institute of Standards and Technology (NIST), Secure Hash Standard, FIPS PUB 180-1, www.itl.nist.gov/fipspubs/fip 180-1.htm. 2003.
  9. Y. Eslaim, A. Sheikholeami, P,G, Gulak, S. Masui, K. Mukaida, "An Area Efficient Universal Cryptography Processor for Smart Cards", IEEE Trans, on VLSI Systems, vol. 4, pp. 43-56, Jan. 2006.