Efficient Number Comparison in the Residue Number System based on Positional Characteristics

Autor: Mikhail Grigorievitch Babenko, Andrei Tchernykh, Nikolay Ivanovitch Chervyakov, Viktor Andreevich Kuchukov, Vanessa Miranda-Lopes, Raúl Rivera Rodriguez, Zhihui Du
Jazyk: English<br />Russian
Rok vydání: 2019
Předmět:
Zdroj: Труды Института системного программирования РАН, Vol 31, Iss 2, Pp 187-201 (2019)
Druh dokumentu: article
ISSN: 2079-8156
2220-6426
DOI: 10.15514/ISPRAS-2019-31(2)-13
Popis: An important operation for data processing is a number comparison. In Residue Number System (RNS), it consists of two steps: the computation of the positional characteristic of the number in RNS representation and comparison of its positional characteristics in the positional number system. In this paper, we propose a new efficient method to compute the positional characteristic based on the approximate method. The approximate method as a tool to compare numbers does not require resource-consuming non-modular operations that are replaced by fast bit right shift operations and taking the least significant bits. We prove that in case when the dynamic range of RNS is an odd number, the size of the operands is reduced by the size of the module. If one of the RNS moduli is a power of two, then the size of the operands is less than the dynamic range. It makes our method efficient for hardware implementation of cryptographic primitives and digital signal processing.
Databáze: Directory of Open Access Journals