Communication publiée dans un ouvrage (Colloques, congrès, conférences scientifiques et actes)
Reverse Product-Scanning Multiplication and Squaring on 8-bit AVR Processors
LIU, Zhe; Seo, Hwajeong; GROSZSCHÄDL, Johann et al.
2014In Hui, Lucas C. K.; Qing, Sihan; Shi, Elaine et al. (Eds.) Information and Communications Security - 16th International Conference, ICICS 2014, Hong Kong, China, December 16-17, 2014. Proceedings
Peer reviewed
 

Documents


Texte intégral
ICICS2014.pdf
Postprint Auteur (343.46 kB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
Multiple-Precision Arithmetic; Hybrid Multiplication; Karatsuba Multiplication; Optimized Squaring; AVR Architecture
Résumé :
[en] High performance, small code size, and good scalability are important requirements for software implementations of multi-precision arithmetic algorithms to fit resource-limited embedded systems. In this paper, we describe optimization techniques to speed up multi-precision multiplication and squaring on the AVR ATmega series of 8-bit microcontrollers. First, we present a new approach to perform multi-precision multiplication, called Reverse Product Scanning (RPS), that resembles the hybrid technique of Gura et al., but calculates the byte-products in the inner loop in reverse order. The RPS method processes four bytes of the two operands in each iteration of the inner loop and employs two carry-catcher registers to minimize the number of add instructions. We also describe an optimized algorithm for multi-precision squaring based on the RPS technique that is, depending on the operand length, up to 44.3% faster than multiplication. Our AVR Assembly implementations of RPS multiplication and RPS squaring occupy less than 1 kB of code space each and are written in a parameterized fashion so that they can support operands of varying length without recompilation. Despite this high level of flexibility, our RPS multiplication outperforms the looped variant of Hutter et al.'s operand-caching technique and saves between 40 and 51% of code size. We also combine our RPS multiplication and squaring routines with Karatsuba's method to further reduce execution time. When executed on an ATmega128 processor, the "karatsubarized RPS method" needs only 85k clock cycles for a 1024-bit multiplication (or 48k cycles for a squaring). These results show that it is possible to achieve high performance without sacrificing code size or scalability.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
LIU, Zhe ;  University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC)
Seo, Hwajeong;  Pusan National University > School of Computer Science and Engineering
GROSZSCHÄDL, Johann ;  University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC)
Kim, Howon;  Pusan National University > School of Computer Science and Engineering
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
Reverse Product-Scanning Multiplication and Squaring on 8-bit AVR Processors
Date de publication/diffusion :
décembre 2014
Nom de la manifestation :
16th International Conference on Information and Communications Security (ICICS 2014)
Lieu de la manifestation :
Hong Kong, Chine
Date de la manifestation :
from 16-12-2014 to 17-12-2014
Manifestation à portée :
International
Titre de l'ouvrage principal :
Information and Communications Security - 16th International Conference, ICICS 2014, Hong Kong, China, December 16-17, 2014. Proceedings
Editeur scientifique :
Hui, Lucas C. K.
Qing, Sihan
Shi, Elaine
Yiu, Siu-Ming
Maison d'édition :
Springer Verlag
ISBN/EAN :
978-3-319-21966-0
Collection et n° de collection :
Lecture Notes in Computer Science, volume 8958
Pagination :
158–175
Peer reviewed :
Peer reviewed
Disponible sur ORBilu :
depuis le 19 janvier 2015

Statistiques


Nombre de vues
467 (dont 37 Unilu)
Nombre de téléchargements
456 (dont 14 Unilu)

citations Scopus®
 
12
citations Scopus®
sans auto-citations
4
OpenCitations
 
9
citations OpenAlex
 
19

Bibliographie


Publications similaires



Contacter ORBilu