The Study of Monotonic Core Functions and Their Use to Build RNS Number Comparators - Université de Lorraine Access content directly
Journal Articles Electronics Year : 2021

The Study of Monotonic Core Functions and Their Use to Build RNS Number Comparators

Abstract

A non-positional residue number system (RNS) enjoys particularly efficient implementation of addition and multiplication, but non-modular arithmetic operations in RNS-like number comparison are known to be difficult. In this paper, a new technique for designing comparators of RNS numbers represented in an arbitrary moduli set is presented. It is based on using the core function for which it was shown that it must be monotonic to allow for RNS number comparison. The conditions of the monotonicity of the core function were formulated, which also ensured the minimal range of the core function (essential to obtain the best characteristics of the comparator). The best choice is a core function in which only one coefficient corresponding to the largest modulus is set to 1 whereas all other coefficients are set to 0. It is also shown that the already known diagonal function is nothing else but the special case of the core function with all coefficients set to 1. Performance evaluation suggests that the new comparator uses less hardware and in some cases also introduces smaller delay than its counterparts based on diagonal function. The potential applications of the new comparator include some recently developed homomorphic encryption algorithms implemented using RNS.

Dates and versions

hal-03938123 , version 1 (13-01-2023)

Identifiers

Cite

Mikhail Babenko, Stanislaw Piestrak, Nikolay Chervyakov, Maxim Deryabin. The Study of Monotonic Core Functions and Their Use to Build RNS Number Comparators. Electronics, 2021, 10 (9), pp.1041. ⟨10.3390/electronics10091041⟩. ⟨hal-03938123⟩
8 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More