VLSI Implementation of a Functional Unit to Accelerate ECC and AES on 32-bit Processors

Stefan Tillich, Johann Großschädl

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Embedded systems require efficient yet flexible implementations of cryptographic primitives with a minimal impact on the overall cost of a device. In this paper we present the design of a functional unit (FU) for accelerating the execution of cryptographic software on 32-bit processors. The FU is basically a multiply-accumulate (MAC) unit able to perform multiplications and MAC operations on integers and binary polynomials. Polynomial arithmetic is a performance-critical building block of numerous cryptosystems using binary extension fields, including public-key primitives based on elliptic curves (e.g. ECDSA), symmetric ciphers (e.g. AES or Twofish), and hash functions (e.g. Whirlpool). We integrated the FU into the Leon2 SPARC V8 core and prototyped the extended processor in an FPGA. All operations provided by the FU are accessible to the programmer through custom instructions. Our results show that the FU allows to accelerate the execution of 128-bit AES by up to 78% compared to a conventional software implementation using only native SPARC V8 instructions. Moreover, the custom instructions reduce the code size by up to 87.4%. The FU increases the silicon area of the Leon2 core by just 8,352 gates and has almost no impact on its cycle time.
Original languageEnglish
Title of host publicationArithmetic of Finite Fields
Subtitle of host publicationFirst International Workshop, WAIFI 2007, Madrid, Spain, June 21-22, 2007, Proceedings
EditorsClaude Carlet
Place of PublicationBerlin; Heidelberg
PublisherSpringer Verlag
Pages40-54
ISBN (Print)978-3-540-73073-6
DOIs
Publication statusPublished - 2007
EventInternational Workshop on the Arithmetic of Finite Fields - Madrid, Spain
Duration: 21 Jun 200722 Jun 2007

Publication series

NameLecture Notes in Computer Science
PublisherSpringer Verlag
Volume4547

Conference

ConferenceInternational Workshop on the Arithmetic of Finite Fields
Country/TerritorySpain
CityMadrid
Period21/06/0722/06/07

Treatment code (Nähere Zuordnung)

  • Application
  • Experimental

Fingerprint

Dive into the research topics of 'VLSI Implementation of a Functional Unit to Accelerate ECC and AES on 32-bit Processors'. Together they form a unique fingerprint.
  • EU - SMEPP - Secure Middleware for embedded Peer-to-Peer Systems

    Tillich, S. (Co-Investigator (CoI)), Wolkerstorfer, J. (Co-Investigator (CoI)), Payer, U. (Co-Investigator (CoI)), Kraxberger, S. (Co-Investigator (CoI)), Aigner, M. J. (Principal Investigator (PI)) & Posch, R. (Co-Investigator (CoI))

    1/09/0631/08/09

    Project: Research project

  • Instruction Set Extensions and Architectural Enhancements for Public-Key Cryptography on General-Purpose RISC Processors

    Tillich, S., Großschädl, J., Szekely, A. & Posch, K.

    1/12/0331/10/06

    Project: Research project

  • VLSI Design

    Medwed, M. (Co-Investigator (CoI)), Wenger, E. (Co-Investigator (CoI)), Aigner, M. J. (Co-Investigator (CoI)), Posch, K.-C. (Co-Investigator (CoI)), Hutter, M. (Co-Investigator (CoI)), Kirschbaum, M. (Co-Investigator (CoI)), Schmidt, J.-M. (Co-Investigator (CoI)), Posch, R. (Co-Investigator (CoI)), Dominikus, S. (Co-Investigator (CoI)), Szekely, A. (Co-Investigator (CoI)), Feldhofer, M. (Co-Investigator (CoI)) & Plos, T. (Co-Investigator (CoI))

    1/01/9515/07/19

    Project: Research area

Cite this