首页>
外国专利>
Minimal arithmetic representation of a number n in relative base r for breaking down computing operations in particular cryptographic
Minimal arithmetic representation of a number n in relative base r for breaking down computing operations in particular cryptographic
展开▼
机译:相对基数r中的数字n的最小算术表示,用于分解特定密码中的计算操作
展开▼
页面导航
摘要
著录项
相似文献
摘要
The invention concerns a method for breaking down and performing with an electronic circuit, a computing operation based on a digital factor (N) expressed in integral base (r) by a series of integers (pn−1, p2, p1, p0). The invention provides steps which consists in: breaking down the series of integers into elementary multiplets, each elementary multiplet (Mj) comprising part of the series of integers (mji+1, mji, mj0), wherein each pair of successive numbers (mi, mi−1) has a sum equal in value to the base decreased by one unit (mi+mi1=r−1) and transforming each elementary multiplet (Mj) into a modified multiplet (Sj) comprising a series of sign digits (sji,sj−1, ,sj1)such that the concatenation of modified multiplets constitute a series of sign digits containing a minimum of non-null digits and representing the value of the digital factor (N) in a relative base ({−(r−1), ,−1,0,1, ,r−1}). In the preferred embodiment of the invention: for an elementary multiplet containing a minimum number of odd integers, and expressed in the following form: M1=[b,d,(c,d)k,e] (type I) the transformation follows one of the following conditional formulae: {S1=|*,(d,c)k, d,*], if b+dr−1 and e+dr−1, S1=[*, (d,c)k, d+1, *], if b+dr−1 and e+dr−1, S1=[*, (−c,−d)k, d−r, *], if b+dr−1 and e+dr−1, S1=[*,(−c,−d)k, −d,*]* if b+dr−1 and e+dr−1) (1); for an elementary multiplet containing an even number of integers, and expressed in the following form: M2=[b,d,(c,d)k,c,e] (type II) the transformation follows one of the following conditional formulae: {S2=[*,(d,c)k,d,c,*], if b+dr−1 and e+cr−1, S2=[*,(d,c)k, d+1, −d,*], if b+dr−1 and e+cr−1, S2=[*, (−c,−d)k,d−r,c,*], if b+dr−1 and e+cr−1, S2=[*,(−c,−d)k−c,−d,*], if b+dr−1 and e+cr−1 (2).
展开▼
机译:本发明涉及一种用于分解和执行电子电路的方法,该方法基于整数整数(p n&min; 1 Sub>)以整数基数(r)表示的数字因子(N)进行计算。 ,p 2 Sub>,p 1 Sub>,p 0 Sub>)。本发明提供的步骤包括:将整数序列分解为基本多重峰,每个基本多重峰(M j Sup>)包括部分整数序列(m j Sup> < Sub> i&plus; 1 Sub>,m j Sup> i Sub>,m j Sup> 0 Sub>),其中每对的连续数(m i Sub>,m i&minus; 1 Sub>)的总和等于基数减去一个单位(m i Sub>&plus ; m i1 Sub>&equals; r&minus; 1)并将每个基本多重峰(M j Sup>)转换为包含一系列的改进多重峰(S j Sup>)符号位数(s j Sup> i Sub>,s j&minus; 1 Sub>,,s j Sup> 1 Sub>),以使修饰的多重词的串联构成一系列符号位数,其中包含最少的非空位数并以相对基数(&lcub;&minus;(r&minus; 1)表示数字因子(N)的值, ,&min; 1,0,1,,r&minus; 1&rcub;)。在本发明的优选实施例中:对于包含最小数目的奇数整数并以以下形式表示的基本多重峰:M1&equals;&lsqb; b,d,(c,d) k Sup>,e&rsqb ; (类型I)转换遵循以下条件公式之一:& S1&equals;&verbar; *,(d,c) k Sup>,d,*&rsqb ;,如果b&plus; d k Sup>,d&plus; 1,*&rsqb ;,如果b&plus; d k Sup>,d&minus; r,*&rsqb ;,如果b&plus; d k Sup>,&minus; d,*&rsqb; *如果b&plus; d> r&minus; 1和e&plus; d> r&minus; 1)(1);对于包含偶数个整数并以以下形式表示的基本多重表示:M2&equals;&lsqb; b,d,(c,d) k Sup>,c,e&rsqb; (II型),转换遵循以下条件公式之一:如果b&plus; d k Sup>,d&plus; 1,&minus; d,*&rsqb ;,如果b&plus; d r&minus; 1,S2&equals;&lsqb; *,(&minus; c,&minus; d) k Sup>,d&minus; r,c,*&rsqb ;,如果b&plus; d> r&minus ; 1和e&plus; c k Sup>&minus; c,&minus; d,*&rsqb;如果b&plus; d > r&min; 1和e&plus; c> r&minus1(2)。
展开▼