[go: up one dir, main page]

KR102425475B1 - Method for modular multiplication - Google Patents

Method for modular multiplication Download PDF

Info

Publication number
KR102425475B1
KR102425475B1 KR1020210032614A KR20210032614A KR102425475B1 KR 102425475 B1 KR102425475 B1 KR 102425475B1 KR 1020210032614 A KR1020210032614 A KR 1020210032614A KR 20210032614 A KR20210032614 A KR 20210032614A KR 102425475 B1 KR102425475 B1 KR 102425475B1
Authority
KR
South Korea
Prior art keywords
expression
value
multiplication
preset
modular multiplication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
KR1020210032614A
Other languages
Korean (ko)
Other versions
KR20220068105A (en
Inventor
홍석희
박동원
장남수
Original Assignee
고려대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 고려대학교 산학협력단 filed Critical 고려대학교 산학협력단
Publication of KR20220068105A publication Critical patent/KR20220068105A/en
Application granted granted Critical
Publication of KR102425475B1 publication Critical patent/KR102425475B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/491Computations with decimal numbers radix 12 or 20.
    • G06F7/4915Multiplying; Dividing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/491Computations with decimal numbers radix 12 or 20.
    • G06F7/498Computations with decimal numbers radix 12 or 20. using counter-type accumulators
    • G06F7/4983Multiplying; Dividing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Executing Machine-Instructions (AREA)
  • Diaphragms For Electromechanical Transducers (AREA)
  • Gyroscopes (AREA)

Abstract

본 개시의 몇몇 실시예에 따른 컴퓨팅 장치의 제어부에 의해 수행되는 모듈러 곱셈 방법에 있어서, 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하는 단계; 및 상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용하는 단계;를 포함할 수 있다.In the modular multiplication method performed by the controller of the computing device according to some embodiments of the present disclosure, a first value and a second value input from a user are converted into a first expression and a second expression using a preset integer expression method to do; and performing modular multiplication on the first expression and the second expression to perform calculation, but storing and utilizing data related to the overlapped operation during the accumulation process in a storage unit.

Description

모듈러 곱셈 방법{METHOD FOR MODULAR MULTIPLICATION}Modular multiplication method

본 개시는 타원 곡선 암호용 연산 중 모듈러 곱셈 방법에 관한 것으로, 보다 구체적으로, 8-비트 ATmega 128 프로세서 환경에서 빠른 모듈러 곱셈을 할 수 있는 타원 곡선 암호용 소수체 모듈러 곱셈 방법에 관한 것이다.The present disclosure relates to a modular multiplication method among operations for elliptic curve cryptography, and more particularly, to a fractional modular multiplication method for elliptic curve cryptography capable of fast modular multiplication in an 8-bit ATmega 128 processor environment.

각종 전자 상거래의 급격한 증가로 인하여, 전자 상거래 시스템뿐만 아니라, 보안 시스템에서도 다양한 암호 방식이 널리 연구되고 있다. 그 중에서도 타원 곡선 시스템을 이용한 공개키 암호방식(ECC: Elliptic Curve Cryptosystem, 이하 ECC라고 한다.)은 이산대수의 난해성에 기반을 둔 공개키 방식의 암호 알고리즘으로서, RSA(Rivest Shamir Adleman) 알고리즘에 이어 전자 상거래의 핵심기술로 최근 주목받고 있다. 이산대수의 난해성에 기반을 둔 타원곡선 암호체계는 DSA 알고리즘과 소인수분해 기반의 RSA 등과 함께 공개키 방식의 일종이다. 상기 ECC는 지난 85년 N.Koblitz와 V.S.Miller 가 RSA 암호화방식에 대한 대안으로 처음 제안하였으며, 현재 보안시스템 및 전자상거래 솔루션업체들에 의해 폭넓게 채용되고 있는 추세이다.Due to the rapid increase in various types of e-commerce, various encryption methods have been widely studied not only in the e-commerce system but also in the security system. Among them, the public key cryptography using the elliptic curve system (ECC: Elliptic Curve Cryptosystem, hereinafter referred to as ECC) is a public key encryption algorithm based on the difficulty of discrete algebra, following the RSA (Rivest Shamir Adleman) algorithm. Recently, it has been attracting attention as a core technology for e-commerce. The elliptic curve encryption system based on the difficulty of discrete algebra is a type of public key method along with the DSA algorithm and RSA based on prime factorization. The ECC was first proposed by N.Koblitz and V.S.Miller in 1985 as an alternative to the RSA encryption method, and is currently being widely adopted by security system and e-commerce solution companies.

특히, 상기 ECC는 타원곡선을 이용하여 유한체 위에서 새로운 공개키 암호알고리즘을 만들지는 않지만 기존의 공개키 알고리즘을 타원곡선을 이용하여 구현했다는 특징을 지니고 있다. 보다 정확하게는 상기 ECC는 특정 암호알고리즘이 아니라 암호알고리즘을 구현해 볼 수 있는 수학적인 장소를 제공하고 있는 것으로 RSA, 디피 헬만(Diffie-Hellman), 엘가말(Elgamal) 등의 알고리즘을 기존의 정수공간이 아닌 타원 곡선위에서 구현할 수 있게 한다. 타원 곡선위에서의 암호 구현은 수학적 복잡도 때문에 동일한 키 크기의 정수위에서 구현하는 것 보다 훨씬 강도가 강하므로 향후 암호 알고리즘의 대부분이 ECC로 바뀔 가능성이 매우 높다. 이러한 타원곡선 암호시스템은 유한체의 곱셈 군에 근거한 시스템으로서 다양한 암호 시스템을 설계할 수 있고, 안전한 특성을 갖는다. 특히, 군(group)을 제공할 수 있는 다양한 타원곡선을 활용할 수 있다. 즉, 다양한 암호시스템 설계가 용이하다. 또한, 모든 사용자가 같은 기저체 K를 사용한다 할지라도 각 사용자가 다른 곡선을 선택할 수 있다는 것이다. 즉, 모든 사용자는 연산을 수행하기 위해 같은 하드웨어를 사용할 수 있으며, 추가 보안을 위해 주기적으로 곡선을 바꿀 수 있다.In particular, the ECC does not create a new public key cryptographic algorithm on a finite field using an elliptic curve, but has a characteristic of implementing an existing public key algorithm using an elliptic curve. More precisely, the ECC provides a mathematical place to implement a cryptographic algorithm, not a specific cryptographic algorithm. It makes it possible to implement on an elliptic curve instead of on an elliptic curve. Cryptographic implementation on an elliptic curve is much stronger than implementation on an integer of the same key size due to mathematical complexity, so most of the cryptographic algorithms in the future are highly likely to be changed to ECC. This elliptic curve encryption system is a system based on a multiplication group of a finite field, and various encryption systems can be designed and have secure characteristics. In particular, various elliptic curves that can provide groups can be used. That is, it is easy to design various cryptographic systems. Also, even if all users use the same base body K, each user can choose a different curve. This means that all users can use the same hardware to perform operations, and the curve can be changed periodically for added security.

또한, 공개키 암호시스템의 이론적 안전도를 조사하기 위해서는 먼저 시스템을 공격하는 데에 있어 그 시스템의 기반이 되는 수학적 문제를 푸는 것이 어느 정도 요구되는가를 분석하는 것이다. 실제 소인수문제에 기반을 둔 공개키 암호시스템 RSA, 이산대수문제에 기반을 둔 공개키 암호시스템 DSA 및 타원곡선 암호시스템 모두 수년간 정밀한 분석이 이루어져 왔고, 그러한 시스템 공격방법은 그 기반이 되는 수학적 분제를 푸는 것이라고 알려져 있다. 따라서, 이제 "기반이 되는 어려운 문제"가 무엇인지를 분석하여야 한다. 구체적으로, 타원곡선 이산대수문제는 타원곡선의 작은 클래스인 초 특이 타원곡선일 때 상대적으로 쉽다는 것이 알려져 있다. 그러나 이러한 취약점은 쉽게 확인될 수 있으며, 그러므로 쉽게 피할 수도 있다. 모듈러 p에서의 소인수 분해 문제와 이산대수문제는 일반적으로 Sub-exponential time 알고리즘이 알려져 있다. Sub-exponential time 알고리즘이란 여전히 어려운 문제로 알려져 있으나, 완전지수복잡도(fully exponential time) 알고리즘만을 허용하는 문제보다는 쉽다는 것을 의미한다. 이 알고리즘의 수행시간은 상수 c에 대하여 그러나(초 특이 타원곡선을 피하면서) 이 군에서의 sub-exponential time algorithms이 존재하지 않는다. 즉, 안전한 암호시스템을 설계하는 것이 용이하다.In addition, in order to investigate the theoretical safety of the public key encryption system, it is first to analyze how much it is required to solve the mathematical problem that is the basis of the system in order to attack the system. The public key cryptosystem RSA based on the real prime factor problem, the public key cryptosystem DSA based on the discrete logarithm problem, and the elliptic curve cryptosystem have all been precisely analyzed for many years, and such a system attack method is based on the mathematical problem underlying it. It is known to solve Therefore, it is now necessary to analyze what the "hard problem underlying" is. Specifically, it is known that the elliptic curve discrete logarithmic problem is relatively easy when it is a super-singular elliptic curve, which is a small class of elliptic curves. However, these vulnerabilities can be easily identified and therefore easily avoided. Sub-exponential time algorithms are generally known for prime factorization problems and discrete logarithmic problems in modular p. Although the sub-exponential time algorithm is still known as a difficult problem, it means that it is easier than a problem that allows only fully exponential time algorithms. The running time of this algorithm is for a constant c (avoiding the super-singular elliptic curve), however, there are no sub-exponential time algorithms in this group. That is, it is easy to design a secure encryption system.

RSA와 DSA가 1024비트의 모듈러를 사용하는 반면, ECC는 160비트 모듈러로도 충분함을 보여준다. 더욱이 키 크기가 증가할수록 그 비율은 더욱 증가한다. 이러한 ECC에 적용하기 위한 모듈러 곱셈 방법을 수행하기 위해서는 자원이 제한된 환경에서 중복되는 메모리 접근에 대한 부하가 상대적으로 크다는 문제점이 발생했다.While RSA and DSA use 1024-bit modularity, ECC shows that 160-bit modularity is sufficient. Moreover, as the key size increases, the ratio further increases. In order to perform the modular multiplication method to be applied to the ECC, there was a problem that the load for overlapping memory access in an environment with limited resources was relatively large.

대한민국 공개특허 제10-2005-0101003호(2005.10.20. 공개)Republic of Korea Patent Publication No. 10-2005-0101003 (published on October 20, 2005)

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 8 비트 기반 ATmega 128 프로세서와 같이 자원이 제한된 환경에서 레지스터를 효율적으로 사용하여 메모리 접근 중복에 대한 부하를 감소시킬 수 있는 타원 곡선 암호용 모듈러 곱셈 방법을 제공하기 위함이다.The present disclosure has been devised in response to the above-mentioned background technology, and it is possible to efficiently use registers in a resource-limited environment such as an 8-bit-based ATmega 128 processor to reduce the load on memory access redundancy, modular multiplication for elliptic curve cryptography to provide a way

본 개시의 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.

전술한 바와 같은 과제를 해결하기 위한 컴퓨팅 장치의 제어부에 의해 수행되는 모듈러 곱셈 방법에 있어서, 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하는 단계; 및 상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용하는 단계;를 포함할 수 있다.In the modular multiplication method performed by the controller of the computing device for solving the above-described problem, a first value and a second value input from a user are converted into a first expression and a second expression using a preset integer expression method. converting; and performing modular multiplication on the first expression and the second expression to perform calculation, but storing and utilizing data related to the overlapped operation during the accumulation process in a storage unit.

대안적으로, 상기 제 1 표현은, 상기 제 1 값이 상기 기 설정된 정수 표현법과 관련된 수학식

Figure 112021029380403-pat00001
에서 좌측항의 상기 X인 경우, 우측항의 표현이고, 상기 제 2 표현은, 상기 제 2 값이 상기 기 설정된 정수 표현법과 관련된 수학식
Figure 112021029380403-pat00002
에서 좌측항의 상기 Y인 경우, 우측항의 표현이고, 상기
Figure 112021029380403-pat00003
또는 상기
Figure 112021029380403-pat00004
는 0 이상 28 미만인 값 중 어느 하나의 값이고, 상기
Figure 112021029380403-pat00005
는 28 일 수 있다.Alternatively, the first expression is an equation in which the first value is related to the preset integer expression method.
Figure 112021029380403-pat00001
In the case of X of the left term, it is an expression of the right term, and the second expression is an equation in which the second value is related to the preset integer expression method.
Figure 112021029380403-pat00002
In the case of Y of the left term, it is an expression of the right term, and
Figure 112021029380403-pat00003
or above
Figure 112021029380403-pat00004
is any value of 0 or more and less than 2 8 , and
Figure 112021029380403-pat00005
may be 2 8 .

대안적으로, 상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하는 단계는, 상기 제 1 표현을 기 설정된 제 1 표현 방식인

Figure 112021029380403-pat00006
형태로 변환하는 단계 -상기 기 설정된 제 1 표현 방식에서, 상기
Figure 112021029380403-pat00007
Figure 112021029380403-pat00008
이고, 상기
Figure 112021029380403-pat00009
Figure 112021029380403-pat00010
임-; 상기 제 2 표현을 기 설정된 제 2 표현 방식인
Figure 112021029380403-pat00011
형태로 변환하는 단계 -상기 기 설정된 제 2 표현 방식에서, 상기
Figure 112021029380403-pat00012
Figure 112021029380403-pat00013
이고, 상기
Figure 112021029380403-pat00014
Figure 112021029380403-pat00015
임-; 표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행하여 산출 값을 생성하는 단계; 및 상기 산출 값에 대한 기 설정된 감산 연산을 수행하여 최종 산출 값을 생성하는 단계;를 포함할 수 있다.Alternatively, the step of calculating by performing modular multiplication on the first expression and the second expression may include converting the first expression into a preset first expression method.
Figure 112021029380403-pat00006
Converting to a form - In the preset first expression method, the
Figure 112021029380403-pat00007
Is
Figure 112021029380403-pat00008
and said
Figure 112021029380403-pat00009
Is
Figure 112021029380403-pat00010
lim-; The second expression is a preset second expression method
Figure 112021029380403-pat00011
Converting to a form - In the preset second expression method, the
Figure 112021029380403-pat00012
Is
Figure 112021029380403-pat00013
and said
Figure 112021029380403-pat00014
Is
Figure 112021029380403-pat00015
lim-; generating an output value by performing multiplication by using the first expression and the second expression in which the expression method is converted; and generating a final calculated value by performing a preset subtraction operation on the calculated value.

대안적으로, 상기 표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행하여 산출 값을 생성하는 단계는, 표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행한 산출 결과 값인

Figure 112021029380403-pat00016
에서, 상기
Figure 112021029380403-pat00017
Figure 112021029380403-pat00018
로 치환하고, 상기
Figure 112021029380403-pat00019
Figure 112021029380403-pat00020
로 치환하고, 상기
Figure 112021029380403-pat00021
Figure 112021029380403-pat00022
으로 치환하는 단계; 를 더 포함하고, 상기
Figure 112021029380403-pat00023
Figure 112021029380403-pat00024
이고, 상기
Figure 112021029380403-pat00025
Figure 112021029380403-pat00026
이고, 상기
Figure 112021029380403-pat00027
Figure 112021029380403-pat00028
이고, 상기
Figure 112021029380403-pat00029
Figure 112021029380403-pat00030
이고, 상기
Figure 112021029380403-pat00031
Figure 112021029380403-pat00032
이고, 상기
Figure 112021029380403-pat00033
, 상기
Figure 112021029380403-pat00034
및 상기
Figure 112021029380403-pat00035
는 0 이상 28 미만인 값 중 어느 하나의 값일 수 있다.Alternatively, the generating an output value by performing multiplication by using the first expression and the second expression in which the expression mode is converted may include using the first expression and the second expression in which the expression mode is converted. The result of multiplication by
Figure 112021029380403-pat00016
in, said
Figure 112021029380403-pat00017
cast
Figure 112021029380403-pat00018
Substituted with,
Figure 112021029380403-pat00019
cast
Figure 112021029380403-pat00020
Substituted with,
Figure 112021029380403-pat00021
cast
Figure 112021029380403-pat00022
Substituting with; further comprising,
Figure 112021029380403-pat00023
Is
Figure 112021029380403-pat00024
and said
Figure 112021029380403-pat00025
Is
Figure 112021029380403-pat00026
and said
Figure 112021029380403-pat00027
Is
Figure 112021029380403-pat00028
and said
Figure 112021029380403-pat00029
Is
Figure 112021029380403-pat00030
and said
Figure 112021029380403-pat00031
silver
Figure 112021029380403-pat00032
and said
Figure 112021029380403-pat00033
, remind
Figure 112021029380403-pat00034
and said
Figure 112021029380403-pat00035
may be any one of 0 or more and less than 2 8 values.

대안적으로, 상기 기 설정된 감산 연산은, 256 비트의 상기 산출 값을 192 비트의 곱셈 결과로 표현하기 위해 기 설정된 모듈러 프라임을 이용하여 수행되고, 상기 최종 산출 값은,Alternatively, the preset subtraction operation is performed using a preset modular prime to express the 256-bit calculated value as a 192-bit multiplication result, and the final calculated value is

수학식

Figure 112021029380403-pat00036
로 표현될 수 있다.formula
Figure 112021029380403-pat00036
can be expressed as

대안적으로, 상기 최종 산출 값에서 상기

Figure 112021029380403-pat00037
의 연산 결과 값을 상기 저장부에 저장하여 활용할 수 있다.Alternatively, in the final calculated value, the
Figure 112021029380403-pat00037
may be used by storing the operation result value in the storage unit.

전술한 바와 같은 과제를 해결하기 위한 컴퓨팅 장치는, 하나 이상의 프로세서를 포함하는 제어부; 데이터를 저장하는 저장부;를 포함하고, 상기 제어부는, 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하고, 그리고 상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 상기 저장부에 저장하여 활용할 수 있다.A computing device for solving the above-described problems includes: a controller including one or more processors; a storage unit for storing data, wherein the control unit converts the first value and the second value input by the user into a first expression and a second expression using a preset integer expression method, and the first expression and a modular multiplication of the second expression is performed to perform an operation, but data related to a redundant operation during an accumulation process may be stored and utilized in the storage unit.

전술한 바와 같은 과제를 해결하기 위한 컴퓨터 판독 가능 저장 매체에 저장된 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은 컴퓨팅 장치의 제어부로 하여금 이하의 단계들을 수행하기 위한 명령들을 포함하며, 상기 단계들은: 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하는 단계; 및 상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용하는 단계;를 포함할 수 있다.A computer program stored in a computer-readable storage medium for solving the above-described problems, the computer program comprising instructions for causing a control unit of a computing device to perform the following steps, wherein the steps are: converting the first value and the second value into the first expression and the second expression using a preset integer expression method; and performing modular multiplication on the first expression and the second expression to perform calculation, but storing and utilizing data related to the overlapped operation during the accumulation process in a storage unit.

본 개시는 기존과 다른 정수 표현법(Range Shifted Representation)을 사용함으로써 새로이 중복되는 연산을 발생시키고, 이를 이용해 한 번의 계산으로 두 번 연산한 효과를 보임으로써 메모리 접근 및 레지스터 사용 효율을 높일 수 있다. 특히, 누산과정 중 중복된 연산에 관련된 데이터를 레지스터에 저장하여 메모리 로드와 저장을 최소한으로 설계하여 어셈블리 언어로 구현함으로써, 모듈러 곱셈 연산의 속도가 향상될 수 있는 효과가 있다.According to the present disclosure, by using a range shifted representation different from the conventional one, a new redundant operation is generated, and by using this, the effect of performing the operation twice in one calculation can be increased, thereby increasing the memory access and register usage efficiency. In particular, the speed of modular multiplication operation can be improved by storing data related to overlapping operations during the accumulation process in a register to minimize load and storage of memory and implement in assembly language.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those of ordinary skill in the art to which the present disclosure belongs from the description below. .

다양한 양상들이 이제 도면들을 참조로 기재되며, 여기서 유사한 참조 번호들은 총괄적으로 유사한 구성요소들을 지칭하는데 이용된다. 이하의 실시예에서, 설명 목적을 위해, 다수의 특정 세부사항들이 하나 이상의 양상들의 총체적 이해를 제공하기 위해 제시된다. 그러나, 그러한 양상(들)이 이러한 구체적인 세부사항들 없이 실시될 수 있음은 명백할 것이다
도 1은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치의 블록도이다.
도 2는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법의 일례를 설명하기 위한 도면이다.
도 3 내지 도 5는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법의 일례를 설명하기 위한 알고리즘을 나타낸 도면이다.
도 6은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법과 다른 곱셈 방법 및 다른 모듈러 곱셈 방법을 비교한 도면이다.
도 7은 본 개시의 내용의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 일반적인 개략도이다.
Various aspects are now described with reference to the drawings, wherein like reference numbers are used to refer to like elements collectively. In the following examples, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of one or more aspects. It will be evident, however, that such aspect(s) may be practiced without these specific details.
1 is a block diagram of a computing device in accordance with some embodiments of the present disclosure.
2 is a diagram for explaining an example of a modular multiplication method performed in a computing device according to some embodiments of the present disclosure.
3 to 5 are diagrams illustrating an algorithm for explaining an example of a modular multiplication method performed in a computing device according to some embodiments of the present disclosure.
6 is a diagram comparing a modular multiplication method performed in a computing device according to some embodiments of the present disclosure, another multiplication method, and another modular multiplication method.
7 is a general schematic diagram of an example computing environment in which embodiments of the present disclosure may be implemented.

다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나 이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 감지될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다. 구체적으로, 본 명세서에서 사용되는 "실시예", "예", "양상", "예시" 등은 기술되는 임의의 양상 또는 설계가 다른 양상 또는 설계들보다 양호하다거나, 이점이 있는 것으로 해석되지 않을 수도 있다.Various embodiments and/or aspects are now disclosed with reference to the drawings. In the following description, for purposes of explanation, numerous specific details are set forth to provide a thorough understanding of one or more aspects. However, it will also be appreciated by one of ordinary skill in the art that such aspect(s) may be practiced without these specific details. The following description and accompanying drawings set forth in detail certain illustrative aspects of one or more aspects. These aspects are illustrative, however, and some of the various methods in principles of various aspects may be employed, and the descriptions set forth are intended to include all such aspects and their equivalents. Specifically, as used herein, “embodiment”, “example”, “aspect”, “exemplary”, etc. is not to be construed as an advantage or advantage of any aspect or design described over other aspects or designs. It may not be.

이하, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략한다. 또한, 본 명세서에 개시된 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않는다.Hereinafter, the same or similar components are assigned the same reference numerals regardless of reference numerals, and redundant description thereof will be omitted. In addition, in describing the embodiments disclosed in the present specification, if it is determined that detailed descriptions of related known technologies may obscure the gist of the embodiments disclosed in the present specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are only for easy understanding of the embodiments disclosed in the present specification, and the technical ideas disclosed in the present specification are not limited by the accompanying drawings.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used herein may be used with the meaning commonly understood by those of ordinary skill in the art to which this disclosure belongs. In addition, terms defined in a commonly used dictionary are not to be interpreted ideally or excessively unless clearly defined in particular.

더불어, 용어 “또는”은 배타적 “또는”이 아니라 내포적 “또는”을 의미하는 것으로 의도된다. 즉, 달리 특정되지 않거나 문맥상 명확하지 않은 경우에, “X는 A 또는 B를 이용한다”는 자연적인 내포적 치환 중 하나를 의미하는 것으로 의도된다. 즉, X가 A를 이용하거나; X가 B를 이용하거나; 또는 X가 A 및 B 모두를 이용하는 경우, “X는 A 또는 B를 이용한다”가 이들 경우들 어느 것으로도 적용될 수 있다. 또한, 본 명세서에 사용된 “및/또는”이라는 용어는 열거된 관련 아이템들 중 하나 이상의 아이템의 가능한 모든 조합을 지칭하고 포함하는 것으로 이해되어야 한다. In addition, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless otherwise specified or clear from context, “X employs A or B” is intended to mean one of the natural implicit substitutions. That is, X employs A; X employs B; Or, when X employs both A and B, "X employs A or B" can be applied to either of these cases. Also, as used herein, the term “and/or” should be understood to refer to and include all possible combinations of one or more of the listed related items.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하지만, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다. 또한, 달리 특정되지 않거나 단수 형태를 지시하는 것으로 문맥상 명확하지 않은 경우에, 본 명세서와 청구범위에서 단수는 일반적으로 "하나 또는 그 이상"을 의미하는 것으로 해석되어야 한다.Also, the terms "comprises" and/or "comprising" mean that the feature and/or element is present, but excludes the presence or addition of one or more other features, elements and/or groups thereof. should be understood as not Also, unless otherwise specified or unless it is clear from context to refer to a singular form, the singular in the specification and claims should generally be construed to mean “one or more”.

그리고, "A 또는 B 중 적어도 하나"이라는 용어는, "A만을 포함하는 경우", "B 만을 포함하는 경우", "A와 B의 구성으로 조합된 경우"를 의미하는 것으로 해석되어야 한다.And, the term "at least one of A or B" should be interpreted to mean "when including only A", "when including only B", and "when combined with the configuration of A and B".

어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성 요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being “connected” or “connected” to another component, it may be directly connected or connected to the other component, but it is understood that other components may exist in between. it should be On the other hand, when it is mentioned that a certain element is "directly connected" or "directly connected" to another element, it should be understood that no other element is present in the middle.

이하의 설명에서 사용되는 구성 요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다.The suffixes "module" and "part" for the components used in the following description are given or used in consideration of ease of writing the specification, and do not have a meaning or role distinct from each other by themselves.

본 개시의 목적 및 효과, 그리고 그것들을 달성하기 위한 기술적 구성들은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 본 개시를 설명하는데 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 개시에서의 기능을 고려하여 정의된 용어들로써 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다.Objects and effects of the present disclosure, and technical configurations for achieving them will become clear with reference to the embodiments described below in detail in conjunction with the accompanying drawings. In describing the present disclosure, if it is determined that a detailed description of a well-known function or configuration may unnecessarily obscure the subject matter of the present disclosure, the detailed description thereof will be omitted. And the terms to be described later are terms defined in consideration of functions in the present disclosure, which may vary according to the intention or custom of the user or operator.

그러나 본 개시는 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있다. 단지 본 실시예들은 본 개시가 완전하도록 하고, 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 개시의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 개시는 청구항의 범주에 의해 정의될 뿐이다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.However, the present disclosure is not limited to the embodiments disclosed below and may be implemented in various different forms. Only the present embodiments are provided so that the present disclosure is complete, and to fully inform those of ordinary skill in the art to which the present disclosure belongs, the scope of the disclosure, and the present disclosure is only defined by the scope of the claims . Therefore, the definition should be made based on the content throughout this specification.

본 개시의 몇몇 실시예에 따른 모듈러 곱셈 방법은 기 설정된 정수 표현법을 이용하여 모듈러 곱셈을 수행하는 방법을 의미할 수 있다. The modular multiplication method according to some embodiments of the present disclosure may refer to a method of performing modular multiplication using a preset integer expression method.

도 1은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치의 블록도이다.1 is a block diagram of a computing device in accordance with some embodiments of the present disclosure.

도 1을 참조하면, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)는 제어부(110), 저장부(120) 및 통신부(130)를 포함할 수 있다. 다만, 상술한 구성 요소들은 컴퓨팅 장치(100)를 구현하는데 있어서 필수적인 것은 아니어서, 컴퓨팅 장치(100)는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다.Referring to FIG. 1 , a computing device 100 according to some embodiments of the present disclosure may include a control unit 110 , a storage unit 120 , and a communication unit 130 . However, since the above-described components are not essential in implementing the computing device 100 , the computing device 100 may have more or fewer components than those listed above.

컴퓨팅 장치(100)는 예를 들어, 마이크로프로세서, 메인프레임 컴퓨터, 디지털 프로세서, 휴대용 디바이스 및 디바이스 제어기 등과 같은 임의의 타입의 컴퓨터 시스템 또는 컴퓨터 디바이스를 포함할 수 있다. 다만, 이에 한정되는 것은 아니다.Computing apparatus 100 may include any type of computer system or computer device, such as, for example, microprocessors, mainframe computers, digital processors, portable devices and device controllers, and the like. However, the present invention is not limited thereto.

컴퓨팅 장치(100)의 제어부(110)는 통상적으로 컴퓨팅 장치(100)의 전반적인 동작을 처리할 수 있다. 또한, 제어부(110)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 저장부(120)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다. 예를 들어, 제어부(110)는 입력된 값들에 대한 모듈러 곱셈을 수행하여 최종 산출 값을 생성할 수 있다. 그리고, 제어부(110)는 중앙 처리 장치(CPU: central processing unit), 범용 그래픽 처리 장치(GPGPU: general purpose graphics processing unit), 텐서 처리 장치(TPU: tensor processing unit) 등과 같이 저장부(120) 상에 저장된 명령어들을 실행시키는 임의의 형태의 프로세서일 수 있고, 하나 이상의 프로세서를 포함할 수 있다. 예를 들어, 제어부(110)는 8비트 기반의 ATmega 128 프로세서일 수 있다. 다만, 이에 한정되지 않는다.The controller 110 of the computing device 100 may typically process the overall operation of the computing device 100 . In addition, the control unit 110 processes signals, data, information, etc. input or output through the above-described components or by driving an application program stored in the storage unit 120 to provide or process appropriate information or functions to the user. can For example, the controller 110 may generate a final calculated value by performing modular multiplication on the input values. In addition, the control unit 110 is on the storage unit 120 such as a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), a tensor processing unit (TPU), etc. It may be any type of processor that executes instructions stored in , and may include one or more processors. For example, the controller 110 may be an 8-bit-based ATmega 128 processor. However, the present invention is not limited thereto.

또한, 제어부(110)는 저장부(120)에 저장된 응용 프로그램을 구동하기 위하여, 컴퓨팅 장치(100)의 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 제어부(110)는 응용 프로그램의 구동을 위하여, 컴퓨팅 장치(100)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작시킬 수 있다.Also, the controller 110 may control at least some of the components of the computing device 100 in order to drive an application program stored in the storage 120 . Furthermore, the controller 110 may operate at least two or more of the components included in the computing device 100 in combination to drive the application program.

소프트웨어적인 구현에 의하면, 본 명세서에서 설명되는 절차 및 기능과 같은 실시예들은 별도의 소프트웨어 모듈들로 구현될 수 있다. 상기 소프트웨어 모듈들 각각은 본 명세서에서 설명되는 하나 이상의 기능 및 작동을 수행할 수 있다. 적절한 프로그램 언어로 쓰여진 소프트웨어 어플리케이션으로 소프트웨어 코드가 구현될 수 있다. 상기 소프트웨어 코드는 컴퓨팅 장치(100)의 저장부(120)에 저장되고, 컴퓨팅 장치(100)의 제어부(110)에 의해 실행될 수 있다.According to the software implementation, embodiments such as the procedures and functions described in this specification may be implemented as separate software modules. Each of the software modules may perform one or more functions and operations described herein. The software code may be implemented as a software application written in a suitable programming language. The software code may be stored in the storage unit 120 of the computing device 100 and executed by the controller 110 of the computing device 100 .

한편, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 모듈러 곱셈 방법과 관련된 동작들을 수행할 수 있다.Meanwhile, the controller 110 of the computing device 100 according to some embodiments of the present disclosure may perform operations related to the modular multiplication method.

구체적으로, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환할 수 있다.Specifically, the controller 110 of the computing device 100 according to some embodiments of the present disclosure converts the first value and the second value input by the user into the first expression and the second expression using a preset integer expression method. can do.

여기서, 제 1 값 및 제 2 값은 각각 임의의 정수일 수 있다. 구체적으로, 제 1 값 및 제 2 값은 각각 기 설정된 비트 내에서 표현할 수 있는 정수 중 어느 하나의 정수일 수 있다. 기 설정된 비트는 컴퓨팅 장치(100)의 성능 또는 사용자의 설정에 따라 복수의 비트들(예를 들어, 64비트, 128비트, 192비트, 256비트 등) 중 어느 하나로 설정될 수 있다. 예를 들어, 제 1 값 및 제 2 값은 192비트 내에서 표현할 수 있는 0이상 2192이하의 정수 중 어느 하나의 정수일 수 있다. 다만, 이에 한정되지 않는다.Here, each of the first value and the second value may be an arbitrary integer. Specifically, each of the first value and the second value may be any one of integers that can be expressed within a preset bit. The preset bit may be set to any one of a plurality of bits (eg, 64 bits, 128 bits, 192 bits, 256 bits, etc.) according to the performance of the computing device 100 or a user's setting. For example, the first value and the second value may be any one integer from 0 to 2 192 integers that can be expressed within 192 bits. However, the present invention is not limited thereto.

한편, 기 설정된 정수 표현법은 사용자로부터 입력된 값(예를 들어, 제 1 값 및 제 2 값)을 기 설정된 범위로 표현을 변환하는 것을 의미할 수 있다. 구체적으로, 기 설정된 표현법은 8비트 워드 단위로 제 1 값 및 제 2 값을 2-96 ~ 296(2-96 이상 296 이하)의 범위로 제 1 표현 및 제 2 표현으로 변환하는 것을 의미할 수 있다. 즉, 제어부(110)는 8비트 워드 단위로 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 표현법을 이용하여 2-96 ~ 296(2-96 이상 296 이하)의 범위로 제 1 표현 및 제 2 표현으로 변환할 수 있다. 구체적으로, 제 1 값은 아래의 수학식 1과 같다.Meanwhile, the preset integer expression method may mean converting an expression of values (eg, first and second values) input by a user into a preset range. Specifically, the preset expression means converting the first value and the second value into the first expression and the second expression in the range of 2 -96 to 2 96 ( 2-96 or more and 2 96 or less) in units of 8-bit words. can do. That is, the controller 110 sets the first value and the second value input by the user in units of 8-bit words in the range of 2 -96 to 2 96 ( 2-96 or more and 2 96 or less) using a preset expression method. expression and a second expression. Specifically, the first value is as in Equation 1 below.

Figure 112021029380403-pat00038
Figure 112021029380403-pat00038

Figure 112021029380403-pat00039
는 제 1 값이고,
Figure 112021029380403-pat00040
는 0 이상 28 미만인 값 중 어느 하나의 값이고,
Figure 112021029380403-pat00041
는 28 일 수 있다. 여기서, 제 1 표현은 수학식 1의
Figure 112021029380403-pat00042
에서 우측항의 표현일 수 있다.
Figure 112021029380403-pat00039
is the first value,
Figure 112021029380403-pat00040
is any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00041
may be 2 8 . Here, the first expression of Equation 1
Figure 112021029380403-pat00042
It may be an expression of the right term in .

또한, 제 2 값은 아래의 수학식 2와 같다.In addition, the second value is the same as in Equation 2 below.

Figure 112021029380403-pat00043
Figure 112021029380403-pat00043

Figure 112021029380403-pat00044
는 제 2 값이고,
Figure 112021029380403-pat00045
는 0 이상 28 미만인 값 중 어느 하나의 값이고,
Figure 112021029380403-pat00046
는 28 일 수 있다. 여기서, 제 2 표현은 수학식 2의
Figure 112021029380403-pat00047
에서 우측항의 표현일 수 있다.
Figure 112021029380403-pat00044
is the second value,
Figure 112021029380403-pat00045
is any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00046
may be 2 8 . Here, the second expression of Equation 2
Figure 112021029380403-pat00047
It may be an expression of the right term in .

또한, 제 1 값과 제 2 값의 곱셈 결과 값은 아래의 수학식 3과 같다.In addition, a result of multiplying the first value and the second value is expressed by Equation 3 below.

Figure 112021029380403-pat00048
Figure 112021029380403-pat00048

Figure 112021029380403-pat00049
는 제 1 값과 제 2 값의 곱셈 결과 값이고,
Figure 112021029380403-pat00050
는 제 1 값이고,
Figure 112021029380403-pat00051
는 제 2 값이고,
Figure 112021029380403-pat00052
는 0 이상 28 미만인 값 중 어느 하나의 값이고,
Figure 112021029380403-pat00053
는 28 일 수 있다.
Figure 112021029380403-pat00049
is the result of multiplying the first value and the second value,
Figure 112021029380403-pat00050
is the first value,
Figure 112021029380403-pat00051
is the second value,
Figure 112021029380403-pat00052
is any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00053
may be 2 8 .

한편, 제어부(110)는 제 1 표현 및 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용할 수 있다. 여기서, 제어부(110)는 subtractive Karatsuba 연산과 유사한 방식을 이용하여 제 1 표현 및 제 2 표현에 대한 모듈러 곱셈을 수행할 수 있다. 다만, 이에 한정되지 않는다.Meanwhile, the control unit 110 performs modular multiplication on the first expression and the second expression to perform calculation, but data related to the overlapped operation during the accumulation process may be stored and utilized in the storage unit. Here, the controller 110 may perform modular multiplication on the first expression and the second expression using a method similar to the subtractive Karatsuba operation. However, the present invention is not limited thereto.

구체적으로, 제어부(110)는 제 1 표현 및 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하는 경우, 제 1 표현을 기 설정된 제 1 표현 방식으로 변환할 수 있다. 구체적으로, 기 설정된 제 1 표현 방식은

Figure 112021029380403-pat00054
의 형태이고,
Figure 112021029380403-pat00055
Figure 112021029380403-pat00056
이고,
Figure 112021029380403-pat00057
Figure 112021029380403-pat00058
일 수 있다. 여기서,
Figure 112021029380403-pat00059
는 0 이상 28 미만인 값 중 어느 하나의 값이고,
Figure 112021029380403-pat00060
는 28 일 수 있다. 즉, 제어부(110)는 제 1 표현을
Figure 112021029380403-pat00061
의 형태로 변환할 수 있다.Specifically, when performing an operation by performing modular multiplication on the first expression and the second expression, the controller 110 may convert the first expression into a preset first expression method. Specifically, the preset first expression method is
Figure 112021029380403-pat00054
is in the form of
Figure 112021029380403-pat00055
Is
Figure 112021029380403-pat00056
ego,
Figure 112021029380403-pat00057
Is
Figure 112021029380403-pat00058
can be here,
Figure 112021029380403-pat00059
is any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00060
may be 2 8 . That is, the control unit 110 generates the first expression
Figure 112021029380403-pat00061
can be converted to the form of

또한, 제어부(110)는 제 2 표현을 기 설정된 제 2 표현 방식으로 변환할 수 있다. 구체적으로, 기 설정된 제 2 표현 방식은

Figure 112021029380403-pat00062
의 형태이고,
Figure 112021029380403-pat00063
Figure 112021029380403-pat00064
이고,
Figure 112021029380403-pat00065
Figure 112021029380403-pat00066
일 수 있다. 여기서,
Figure 112021029380403-pat00067
는 0 이상 28 미만인 값 중 어느 하나의 값이고,
Figure 112021029380403-pat00068
는 28 일 수 있다. 즉, 제어부(110)는 제 2 표현을
Figure 112021029380403-pat00069
의 형태로 변환할 수 있다.Also, the controller 110 may convert the second expression into a preset second expression method. Specifically, the preset second expression method is
Figure 112021029380403-pat00062
is in the form of
Figure 112021029380403-pat00063
Is
Figure 112021029380403-pat00064
ego,
Figure 112021029380403-pat00065
Is
Figure 112021029380403-pat00066
can be here,
Figure 112021029380403-pat00067
is any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00068
may be 2 8 . That is, the control unit 110 generates the second expression.
Figure 112021029380403-pat00069
can be converted to the form of

그리고, 제어부(110)는 표현 방식이 변환된 제 1 표현 및 제 2 표현을 이용하여 곱셈을 수행하여 산출 값을 생성할 수 있다.Then, the controller 110 may generate a calculated value by performing multiplication by using the first expression and the second expression in which the expression method is converted.

여기서, 산출 값, 즉, 표현 방식이 변환된 제 1 표현 및 제 2 표현을 이용하여 곱셈을 수행한 산출 결과 값은

Figure 112021029380403-pat00070
일 수 있다. 여기서,
Figure 112021029380403-pat00071
Figure 112021029380403-pat00072
이고,
Figure 112021029380403-pat00073
Figure 112021029380403-pat00074
이고,
Figure 112021029380403-pat00075
Figure 112021029380403-pat00076
이고,
Figure 112021029380403-pat00077
Figure 112021029380403-pat00078
이고,
Figure 112021029380403-pat00079
는 28 일 수 있다. 여기서,
Figure 112021029380403-pat00080
Figure 112021029380403-pat00081
는 0 이상 28 미만인 값 중 어느 하나의 값일 수 있다. 즉, 제어부(110)는 표현 방식이 변환된 제 1 표현 및 제 2 표현을 이용하여 곱셈을 수행하여
Figure 112021029380403-pat00082
을 생성할 수 있다. Here, the calculated value, that is, the calculated result value obtained by performing multiplication using the first expression and the second expression in which the expression method is converted, is
Figure 112021029380403-pat00070
can be here,
Figure 112021029380403-pat00071
Is
Figure 112021029380403-pat00072
ego,
Figure 112021029380403-pat00073
Is
Figure 112021029380403-pat00074
ego,
Figure 112021029380403-pat00075
Is
Figure 112021029380403-pat00076
ego,
Figure 112021029380403-pat00077
Is
Figure 112021029380403-pat00078
ego,
Figure 112021029380403-pat00079
may be 2 8 . here,
Figure 112021029380403-pat00080
and
Figure 112021029380403-pat00081
may be any one of 0 or more and less than 2 8 values. That is, the controller 110 performs multiplication by using the first expression and the second expression in which the expression method is converted.
Figure 112021029380403-pat00082
can create

여기서, 제어부(110)는 산출 결과 값인

Figure 112021029380403-pat00083
에서,
Figure 112021029380403-pat00084
Figure 112021029380403-pat00085
로 치환하고,
Figure 112021029380403-pat00086
Figure 112021029380403-pat00087
로 치환하고,
Figure 112021029380403-pat00088
Figure 112021029380403-pat00089
으로 치환할 수 있다. 여기서,
Figure 112021029380403-pat00090
Figure 112021029380403-pat00091
이고,
Figure 112021029380403-pat00092
Figure 112021029380403-pat00093
이고,
Figure 112021029380403-pat00094
Figure 112021029380403-pat00095
이고,
Figure 112021029380403-pat00096
Figure 112021029380403-pat00097
이고,
Figure 112021029380403-pat00098
Figure 112021029380403-pat00099
이고,
Figure 112021029380403-pat00100
,
Figure 112021029380403-pat00101
Figure 112021029380403-pat00102
는 0 이상 28 미만인 값 중 어느 하나의 값일 수 있고,
Figure 112021029380403-pat00103
는 28 일 수 있다.Here, the control unit 110 is the calculated result value
Figure 112021029380403-pat00083
at,
Figure 112021029380403-pat00084
cast
Figure 112021029380403-pat00085
replace with
Figure 112021029380403-pat00086
cast
Figure 112021029380403-pat00087
replace with
Figure 112021029380403-pat00088
cast
Figure 112021029380403-pat00089
can be replaced with here,
Figure 112021029380403-pat00090
Is
Figure 112021029380403-pat00091
ego,
Figure 112021029380403-pat00092
Is
Figure 112021029380403-pat00093
ego,
Figure 112021029380403-pat00094
Is
Figure 112021029380403-pat00095
ego,
Figure 112021029380403-pat00096
Is
Figure 112021029380403-pat00097
ego,
Figure 112021029380403-pat00098
silver
Figure 112021029380403-pat00099
ego,
Figure 112021029380403-pat00100
,
Figure 112021029380403-pat00101
and
Figure 112021029380403-pat00102
may be any value of 0 or more and less than 2 8 ,
Figure 112021029380403-pat00103
may be 2 8 .

또한, 제어부(110)는 산출 값에 대한 기 설정된 감산 연산을 수행하여 최종 산출 값을 생성할 수 있다. 여기서, 기 설정된 감산 연산은 256 비트의 산출 값을 192 비트의 곱셈 결과로 표현하기 위해 기 설정된 모듈러 프라임을 이용하여 수행될 수 있다. 즉, 제어부(110)는 산출 값에 대해 기 설정된 모듈러 프라임을 이용한 감산 연산을 수행하여 최종 산출 값을 생성할 수 있다. Also, the controller 110 may generate a final calculated value by performing a preset subtraction operation on the calculated value. Here, the preset subtraction operation may be performed using a preset modular prime to express a 256-bit calculated value as a 192-bit multiplication result. That is, the controller 110 may generate a final calculated value by performing a subtraction operation using a preset modular prime on the calculated value.

여기서, 기 설정된 모듈러 프라임은 NIST P-192, 즉,

Figure 112021029380403-pat00104
일 수 있고,
Figure 112021029380403-pat00105
는 2192-264-1의 연산 결과 값을 의미할 수 있다.Here, the preset modular prime is NIST P-192, that is,
Figure 112021029380403-pat00104
can be,
Figure 112021029380403-pat00105
may mean an operation result value of 2 192 -2 64 -1.

또한, 최종 산출 값은 수학식

Figure 112021029380403-pat00106
로 표현될 수 있다. 그리고, 제어부(110)는
Figure 112021029380403-pat00107
의 연산 결과 값을 저장부(120)에 저장하여 활용할 수 있다. 즉, 제어부(110)는 최종 산출 값
Figure 112021029380403-pat00108
에서
Figure 112021029380403-pat00109
의 연산 결과 값을 저장부(120)에 저장하여 활용할 수 있다. 이에 대한 자세한 설명은 도 2를 통해 후술한다.In addition, the final calculated value is
Figure 112021029380403-pat00106
can be expressed as And, the control unit 110
Figure 112021029380403-pat00107
The operation result value of ? may be stored in the storage unit 120 to be utilized. That is, the controller 110 controls the final calculated value.
Figure 112021029380403-pat00108
at
Figure 112021029380403-pat00109
The operation result value of ? may be stored in the storage unit 120 to be utilized. A detailed description thereof will be described later with reference to FIG. 2 .

도 2는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법의 일례를 설명하기 위한 도면이다. 구체적으로, 도 2(a)는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 제 1 표현 및 제 2 표현에 대한 곱셈을 수행하여 생성된 산출 값을 나타낸 도면이다. 도 2(a)를 참조하면, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 변환된 제 1 표현 및 제 2 표현에 대한 곱셈을 Karatsuba 연산을 이용하여 수행하고, 산출 값을 W-24 ~ W24(W는 28)로 표현할 수 있다. 2 is a diagram for explaining an example of a modular multiplication method performed in a computing device according to some embodiments of the present disclosure. Specifically, FIG. 2A is a diagram illustrating a calculated value generated by performing multiplication on a first expression and a second expression in a computing device according to some embodiments of the present disclosure. Referring to FIG. 2A , the controller 110 of the computing device 100 according to some embodiments of the present disclosure converts a first value and a second value using a preset integer expression method to a first expression and a second expression. Multiplication of the expression 2 is performed using the Karatsuba operation, and the calculated value can be expressed as W -24 ~ W 24 (W is 2 8 ).

그리고, 도 2(b)는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 도 2(a)의 산출 값에 대한 감산 연산을 수행하여 최종 산출 값을 나타낸 도면이다. 도 2(b)를 참조하면, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 도 2(a)에서 W-24 ~ W-12 범위에 있는 값 및 도 2(a)에서 W12 ~ W24 범위에 있는 값에 대해서 기 설정된 감산 연산을 수행하고 최종 산출 값을 생성할 수 있다. 여기서, 최종 산출 값은 기 설정된 정수 표현법의 범위인 W-12 ~ W12(W는 28)에 존재하게 되고, 중복되는 부분 연산이 발생할 수 있다. 따라서, 제어부(110)는 최종 산출 값에서 중복되는 부분 연산의 연산 결과 값을 저장부(120)에 저장하여 활용할 수 있다. 구체적으로, 저장부(120)는 연산 과정 중에 중복 연산(누산)되는 부분에 대한 정보가 기록되어 있을 수 있다. 제어부(110)는 제 1 값과 제 2 값의 연산 과정 중에 저장부(120)에 저장되어 있는 정보를 이용하여 어느 부분을 저장부(120)에 포함되는 레지스터에 저장할지를 결정할 수 있다. 그리고, 제어부(110)는 누산 과정 중에 해당 부분에 대한 연산을 추가로 수행해야하는 경우 레지스터에 저장된 값을 불러와서 누산을 진행할 수 있다. 즉, 제어부(110)는 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하여 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복되는 부분 연산과 관련된 데이터를 레지스터에 저장할 수 있다. And, FIG. 2(b) is a diagram illustrating a final calculated value by performing a subtraction operation on the calculated value of FIG. 2(a) in a computing device according to some embodiments of the present disclosure. Referring to FIG. 2( b ), the control unit 110 of the computing device 100 according to some embodiments of the present disclosure provides values in the range of W -24 to W -12 in FIG. 2( a ) and FIG. 2( a ). ), a preset subtraction operation may be performed on a value in the range of W 12 to W 24 and a final calculated value may be generated. Here, the final calculated value exists in the range of W -12 to W 12 (W is 2 8 ) of the preset integer expression method, and overlapping partial operations may occur. Accordingly, the control unit 110 may store and utilize the operation result value of the partial operation overlapping in the final calculated value in the storage unit 120 . Specifically, the storage unit 120 may record information on a portion that is repeatedly calculated (accumulated) during the operation process. The control unit 110 may determine which part is stored in a register included in the storage unit 120 by using the information stored in the storage unit 120 during the operation of the first value and the second value. In addition, when it is necessary to additionally perform an operation on the corresponding part during the accumulation process, the controller 110 may call a value stored in the register to perform the accumulation. That is, the control unit 110 converts the first value and the second value into the first expression and the second expression using a preset integer expression method, performs modular multiplication, and calculates data related to overlapping partial operations during the accumulation process. can be stored in registers.

즉, 제어부(110)는 중복되는 부분 연산은 한번만 계산하여 중복 연산 데이터를 레지스터에 저장하고, 나머지 중복되는 부분 연산에는 레지스터에 저장된 중복 연산 데이터를 사용할 수 있다. 따라서, 제어부(110)는 저장부(120)에 포함되는 메모리의 로드와 저장을 줄여 모듈러 곱셈 연산의 속도가 향상될 수 있다. That is, the controller 110 may calculate the overlapping partial operation only once and store the redundant operation data in the register, and use the redundant operation data stored in the register for the remaining overlapping partial operations. Accordingly, the control unit 110 may reduce the load and storage of the memory included in the storage unit 120 to improve the speed of the modular multiplication operation.

한편, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 기 설정된 알고리즘을 수행하여 모듈러 곱셈을 수행할 수 있다. 이에 대한 자세한 설명은 도 3 내지 도 5를 통해 후술한다.Meanwhile, the controller 110 of the computing device 100 according to some embodiments of the present disclosure may perform modular multiplication by performing a preset algorithm. A detailed description thereof will be described later with reference to FIGS. 3 to 5 .

도 3 내지 도 5는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법의 일례를 설명하기 위한 알고리즘을 나타낸 도면이다. 구체적으로, 도 3은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 96비트와 96비트 곱셈 1레벨 Karatsuba 곱셈의 기본 구현을 나타내는 알고리즘 1에 관한 도면이다. 그리고, 도 4는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 도 3의 알고리즘 1에

Figure 112021029380403-pat00110
의 계산을 삽입하여
Figure 112021029380403-pat00111
에 대한 96비트와 96비트 곱셈 1레벨 Karatsuba 곱셈을 수행하는 알고리즘 2에 관한 도면이다. 그리고, 도 5는 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 192비트와 192비트 곱셈 2레벨 Karatsuba 곱셈과 NIST P-192를 이용한 감산 연산을 나타내는 알고리즘 3에 관한 것이다.3 to 5 are diagrams illustrating an algorithm for explaining an example of a modular multiplication method performed in a computing device according to some embodiments of the present disclosure. Specifically, FIG. 3 is a diagram of Algorithm 1 showing a basic implementation of 96-bit and 96-bit multiplication 1-level Karatsuba multiplication performed in a computing device according to some embodiments of the present disclosure. And, FIG. 4 is an algorithm 1 of FIG. 3 in a computing device according to some embodiments of the present disclosure.
Figure 112021029380403-pat00110
by inserting the calculation of
Figure 112021029380403-pat00111
96-bit and 96-bit multiplication for , Algorithm 2 for performing 1-level Karatsuba multiplication. And, FIG. 5 relates to Algorithm 3 showing a two-level Karatsuba multiplication and a subtraction operation using NIST P-192 for 192-bit and 192-bit multiplication performed in a computing device according to some embodiments of the present disclosure.

도 3 내지 도 5를 참조하면, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치(100)의 제어부(110)는 알고리즘 1 내지 알고리즘 3을 수행하여 사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하고, 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용할 수 있다. 여기서 컴퓨팅 장치(100)에 대한 구체적인 내용은 도 1 및 도 2를 통해 설명한 내용으로 대체될 수 있다.3 to 5 , the control unit 110 of the computing device 100 according to some embodiments of the present disclosure performs algorithms 1 to 3 to set first and second values input by the user to preset values. It is converted into the first expression and the second expression using the integer expression method, and is calculated by performing modular multiplication on the first expression and the second expression, but data related to the overlapping operation during the accumulation process can be stored and utilized in the storage unit. have. Here, the detailed description of the computing device 100 may be replaced with the content described with reference to FIGS. 1 and 2 .

다시 도 1을 참조하면, 저장부(120)는 레지스터 또는 메모리를 포함하고, 제어부(110)에서 생성하거나 결정한 임의의 형태의 정보 및 통신부(130)에서 수신한 임의의 형태의 정보를 저장할 수 있다. 예를 들어, 저장부(120)는 제어부(110)에서 누산 과정 중 중복된 연산과 관련되어 생성된 데이터를 저장할 수 있다. 구체적으로, 저장부(120)의 레지스터는 누산 과정 중 중복되는 부분 연산과 관련된 데이터가 저장될 수 있다. 따라서, 제어부(110)는 중복된 연산을 수행할 경우에, 저장부(120)에 저장된 중복된 연산과 관련된 데이터를 활용할 수 있다. 즉, 제어부(110)는 저장부(120)의 레지스터에 저장된 누산 과정 중 중복되는 부분 연산과 관련된 데이터를 활용하여 저장부(120)의 메모리 접근 및 레지스터 사용 효율을 높일 수 있다. 그리고, 저장부(120)에는 중복되는 부분에 대한 데이터가 기록되어 있을 수 있다. 여기서, 중복되는 부분은

Figure 112021029380403-pat00112
일 수 있다. 다만, 이에 한정되지 않는다. 또한, 저장부(120)는 기 설정된 비트 내에서 표현할 수 있는 정수가 저장되어 있을 수 있다. Referring back to FIG. 1 , the storage unit 120 includes a register or memory, and may store any type of information generated or determined by the control unit 110 and any type of information received by the communication unit 130 . . For example, the storage unit 120 may store data generated in connection with a duplicate operation during the accumulation process in the control unit 110 . Specifically, the register of the storage unit 120 may store data related to overlapping partial operations during the accumulation process. Accordingly, when performing the redundant operation, the controller 110 may utilize data related to the redundant operation stored in the storage unit 120 . That is, the controller 110 may increase the memory access and register usage efficiency of the storage unit 120 by utilizing data related to overlapping partial operations during the accumulation process stored in the register of the storage unit 120 . In addition, data for the overlapping portion may be recorded in the storage unit 120 . Here, the overlapping part is
Figure 112021029380403-pat00112
can be However, the present invention is not limited thereto. Also, the storage unit 120 may store an integer that can be expressed within a preset bit.

여기서, 저장부(120)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 다만, 이에 한정되지 않는다.Here, the storage unit 120 is a flash memory type (flash memory type), a hard disk type (hard disk type), a multimedia card micro type (multimedia card micro type), card type memory (eg, SD or XD memory, etc.) ), Random Access Memory (RAM), Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), Magnetic It may include at least one type of storage medium among a memory, a magnetic disk, and an optical disk. However, the present invention is not limited thereto.

한편, 통신부(130)는 컴퓨팅 장치(100)와 사용자 단말 사이 및 컴퓨팅 장치(100)와 외부 서버들 사이의 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 또한, 통신부(130)는 컴퓨팅 장치(100)를 하나 이상의 네트워크에 연결하는 하나 이상의 모듈을 포함할 수 있다.Meanwhile, the communication unit 130 may include one or more modules that enable communication between the computing device 100 and the user terminal and between the computing device 100 and external servers. Also, the communication unit 130 may include one or more modules for connecting the computing device 100 to one or more networks.

여기서, 통신부(130)는 컴퓨팅 장치(100)와 사용자 단말 사이 및 컴퓨팅 장치(100)와 외부 서버들 사이의 통신을 연결하는 네트워크는 임의의 형태의 데이터 및 신호 등을 송수신할 수 있는 임의의 유무선 통신 네트워크가 본 개시 내용에서 표현되는 네트워크에 포함될 수 있다.Here, the communication unit 130 is a network connecting the communication between the computing device 100 and the user terminal and between the computing device 100 and external servers is any wired or wireless network that can transmit and receive data and signals in any form. A communication network may be included in the network represented in this disclosure.

도 1에서 상술한 바와 같이, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치의 제어부에 의해 수행되는 모듈러 곱셈 방법은 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용함으로써, 종래보다 연산하는 시간을 줄일 수 있어 효과적이다. 이에 대한 자세한 설명은 도 6을 통해 후술한다.As described above in FIG. 1 , the modular multiplication method performed by the controller of the computing device according to some embodiments of the present disclosure stores and utilizes data related to the redundant operation in the storage unit, thereby reducing the operation time compared to the prior art. can be effective A detailed description thereof will be described later with reference to FIG. 6 .

도 6은 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법과 다른 곱셈 방법 및 다른 모듈러 곱셈 방법을 비교한 도면이다.6 is a diagram comparing a modular multiplication method performed in a computing device according to some embodiments of the present disclosure, another multiplication method, and another modular multiplication method.

도 6을 참조하면, 컴퓨팅 장치에서 Operand scanning 방법으로 수행된 곱셈(10)의 결과, 사이클 카운트(cycle counts)는 7760로 나타났다. 여기서, 사이클 카운트는 실행 시간(execution time)을 의미할 수 있다. 따라서, 컴퓨팅 장치는 사이클 카운트가 낮을수록 실행 시간이 적게 들어 효율적인 것으로 판단할 수 있다.Referring to FIG. 6 , as a result of the multiplication 10 performed by the Operand scanning method in the computing device, cycle counts are 7760. Here, the cycle count may mean an execution time. Accordingly, the computing device may determine that the lower the cycle count, the smaller the execution time and thus the more efficient.

여기서, 컴퓨팅 장치에서 Operand scanning 방법으로 수행된 곱셈(10)은 내부 루프와 외부 루프를 구성하여 곱셈을 수행하는 방법일 수 있다. 구체적으로, 컴퓨팅 장치에서 외부 루프는 피연산자 Xi가 내부 루프가 수행되는 동안 작업 레지스터에 로드되고 유지될 수 있다. 그리고, 컴퓨팅 장치에서 내부 루프는 곱셈과 피연산자 Yi가 하나씩 로드되고 부분 곱셈은 Xi를 곱하여 계산될 수 있다. 그리고, 컴퓨팅 장치에서 내부 루프가 완료되면 다음 피연산자 Yi+1이 로드되고 내부 루프가 다시 반복될 수 있다.Here, the multiplication 10 performed by the operand scanning method in the computing device may be a method of performing multiplication by configuring an inner loop and an outer loop. Specifically, in a computing device, the outer loop may be loaded and held in a working register while the operand X i is executing the inner loop. In addition, in the computing device, multiplication and operand Y i are loaded one by one in the inner loop, and partial multiplication may be calculated by multiplying X i . Then, when the inner loop is completed in the computing device, the next operand Y i+1 may be loaded and the inner loop may be repeated again.

한편, 컴퓨팅 장치에서 Product scanning 방법으로 수행된 곱셈(20)을 수행된 결과, 사이클 카운트(cycle counts)는 5614로 나타났다.Meanwhile, as a result of performing the multiplication 20 performed by the product scanning method in the computing device, cycle counts were found to be 5614.

여기서, 컴퓨팅 장치에서 Product scanning 방법으로 수행된 곱셈(20)은 작업 레지스터에 누적되는 부분 중에서 열(column)별로 부분 곱셈을 수행하고 부분 곱셈 값들을 누산하여 최종 곱셈 결과를 도출하는 방법일 수 있다.Here, the multiplication 20 performed by the product scanning method in the computing device may be a method of deriving a final multiplication result by performing partial multiplication for each column among parts accumulated in a work register and accumulating partial multiplication values.

한편, 컴퓨팅 장치에서 Hybrid scanning 방법으로 수행된 곱셈(30)의 결과, 사이클 카운트(cycle counts)는 4133으로 나타났다.Meanwhile, as a result of the multiplication 30 performed by the hybrid scanning method in the computing device, cycle counts were 4133.

여기서, 컴퓨팅 장치에서 Hybrid scanning 방법으로 수행된 곱셈(30)은 Operand scanning 방법(10)과 Product scanning 방법(20)을 결합한 방법일 수 있다. 구체적으로, 컴퓨팅 장치에서 Hybrid scanning 방법으로 수행된 곱셈(30)은 내부 루프와 외부 루프로 구성되고, 내부 루프는 Operand scanning 방법(10)을 이용하고, 외부 루프는 Product scanning 방법(20)을 이용하여 최종 곱셈 결과를 도출하는 방법일 수 있다. 상술한 Hybrid scanning 방법(30)은 논문 "Gura N, Patel A, Wander A, Eberle H, Shantz SC (2004) Comparing elliptic curve cryptography and RSA on 8-bit CPUs. In: Joye M, Quisquater JJ (eds) Cryptographic hardware and embedded systems (lecture notes in computer science), vol 3156. Springer, Berlin, pp 119-132"에서 구체적으로 논의된다.Here, the multiplication 30 performed by the hybrid scanning method in the computing device may be a method combining the operand scanning method 10 and the product scanning method 20 . Specifically, the multiplication 30 performed by the hybrid scanning method in the computing device consists of an inner loop and an outer loop, the inner loop uses the operand scanning method 10 , and the outer loop uses the product scanning method 20 . This may be a method of deriving the final multiplication result. The hybrid scanning method (30) described above is described in the paper "Gura N, Patel A, Wander A, Eberle H, Shantz SC (2004) Comparing elliptic curve cryptography and RSA on 8-bit CPUs. In: Joye M, Quisquater JJ (eds) Cryptographic hardware and embedded systems (lecture notes in computer science), vol 3156. Springer, Berlin, pp 119-132".

한편, 컴퓨팅 장치에서 Operand caching 방법으로 수행된 곱셈(40)의 결과, 사이클 카운트(cycle counts)는 3470으로 나타났다.On the other hand, as a result of the multiplication 40 performed by the Operand caching method in the computing device, cycle counts were shown as 3470.

여기서, 컴퓨팅 장치에서 Operand caching 방법으로 수행된 곱셈(40)은 Product scanning 방법(20)에 기초하여 계산을 여러 행(row)으로 구분하고, 구분된 행을 4개의 부분으로 나누어 곱셈을 진행하는 방법일 수 있다. 상술한 Operand caching 방법(40)은 논문 "Hutter M, Wenger E (2011) Fast multi-precision multiplication for publickey cryptography on embedded microprocessors. In: Preneel B, Takagi T (eds) Cryptographic hardware and embedded systems(lecture notes in computer science), vol 6917. Springer, Berlin, pp 459-474"에서 구체적으로 논의된다.Here, the multiplication 40 performed by the Operand caching method in the computing device divides the calculation into several rows based on the product scanning method 20, and divides the divided row into 4 parts to perform multiplication. can be The above-described Operand caching method (40) is described in the paper "Hutter M, Wenger E (2011) Fast multi-precision multiplication for publickey cryptography on embedded microprocessors. In: Preneel B, Takagi T (eds) Cryptographic hardware and embedded systems(lecture notes in) computer science), vol 6917. Springer, Berlin, pp 459-474".

한편, 컴퓨팅 장치에서 Consecutive operand caching 방법으로 수행된 곱셈(50)의 결과, 사이클 카운트(cycle counts)는 3437로 나타났다.On the other hand, as a result of the multiplication 50 performed by the consecutive operand caching method in the computing device, cycle counts were shown as 3437.

여기서, 컴퓨팅 장치에서 Consecutive operand caching 방법으로 수행된 곱셈(50)은 Operand caching 방법(40)에 기초하여 행이 변경될 때 피연산자를 공유하도록 행들을 재스케줄하는 방법을 의미할 수 있다. 컴퓨팅 장치에서 Consecutive operand caching 방법으로 수행된 곱셈(50)은 Operand caching 방법(40)에서 행이 변경될 때마다 행 사이에 공유 피연산자가 없으므로 피연산자를 다시 로드 해야 하는 단점을 극복할 수 있다. 상술한 Consecutive operand caching 방법(50)은 논문 "Seo H, Kim H (2012) Multi-precision multiplication for public-key cryptography on embedded microprocessors. In: MotiYung DHL (ed) Information security applications, vol 7690. Lecture notes in computer science. Springer, Berlin, pp 55-67"에서 구체적으로 논의된다.Here, the multiplication 50 performed by the consecutive operand caching method in the computing device may refer to a method of rescheduling rows to share operands when the row is changed based on the operand caching method 40 . The multiplication 50 performed by the consecutive operand caching method in the computing device can overcome the disadvantage of having to reload the operands because there is no shared operand between the rows whenever the row is changed in the operand caching method 40 in the operand caching method 40 . The above-mentioned consecutive operand caching method (50) is described in the paper "Seo H, Kim H (2012) Multi-precision multiplication for public-key cryptography on embedded microprocessors. In: MotiYung DHL (ed) Information security applications, vol 7690. Lecture notes in computer science. Springer, Berlin, pp 55-67".

한편, 컴퓨팅 장치에서 Subtractive Karatsuba 방법으로 수행된 곱셈(60)의 결과, 사이클 카운트(cycle counts)는 2987로 나타났다.Meanwhile, as a result of the multiplication 60 performed by the subtractive Karatsuba method in the computing device, cycle counts were found to be 2987.

여기서, Subtractive Karatsuba 방법으로 수행된 곱셈(60)은 8비트 기반의 컴퓨터 플랫폼에서 Karatsuba 방법을 이용하여 곱셈을 수행하는 방법을 의미할 수 있다. 상술한 Subtractive Karatsuba 방법(60)은 논문 "Hutter M, Schwabe P (2015) Multiprecision multiplication on AVR revisited. J Cryptogr Eng 5(3):201-214"에서 구체적으로 논의된다.Here, the multiplication 60 performed by the subtractive Karatsuba method may refer to a method of performing multiplication using the Karatsuba method in an 8-bit-based computer platform. The aforementioned Subtractive Karatsuba method (60) is specifically discussed in the paper “Hutter M, Schwabe P (2015) Multiprecision multiplication on AVR revisited. J Cryptogr Eng 5(3):201-214”.

한편, 컴퓨팅 장치에서 Consecutive operand caching 방법으로 수행된 모듈러 곱셈(70)의 결과, 사이클 카운트(cycle counts)는 4042로 나타났다.On the other hand, as a result of the modular multiplication 70 performed by the consecutive operand caching method in the computing device, cycle counts are shown as 4042.

여기서 Consecutive operand caching 방법으로 수행된 모듈러 곱셈(70)은 컴퓨팅 장치에서 Consecutive operand caching 방법으로 곱셈(50)을 수행한 후, 추가적으로 감산 연산을 수행하는 방법을 의미할 수 있다.Here, the modular multiplication 70 performed by the consecutive operand caching method may refer to a method of additionally performing a subtraction operation after performing the multiplication 50 by the consecutive operand caching method in the computing device.

한편, 컴퓨팅 장치에서 Subtractive Karatsuba 방법으로 수행된 모듈러 곱셈(80)의 결과, 사이클 카운트(cycle counts)는 3597로 나타났다.Meanwhile, as a result of the modular multiplication 80 performed by the subtractive Karatsuba method in the computing device, cycle counts were found to be 3597.

여기서, Subtractive Karatsuba 방법으로 수행된 모듈러 곱셈(80)은 컴퓨팅 장치에서 Subtractive Karatsuba 방법으로 곱셈(60)을 수행한 후, 추가적으로 감산 연산을 수행하는 방법을 의미할 수 있다. Here, the modular multiplication 80 performed by the subtractive Karatsuba method may refer to a method of additionally performing a subtraction operation after performing the multiplication 60 by the subtractive Karatsuba method in the computing device.

상술한 Consecutive operand caching 방법으로 수행된 모듈러 곱셈(70) 및 Subtractive Karatsuba 방법으로 수행된 모듈러 곱셈(80)은 논문 "Liu Z, Seo H, Großschδdl J, Kim H (2016) Efcient implementation of NIST-compliant elliptic curve cryptography for 8-bit AVR-based sensor nodes. IEEE Trans Inf Forensics Secur 11(7):1385-1397"에서 구체적으로 논의된다.Modular multiplication (70) performed by the above-described consecutive operand caching method and modular multiplication (80) performed by the subtractive Karatsuba method is described in the paper "Liu Z, Seo H, Großschδdl J, Kim H (2016) Efcient implementation of NIST-compliant elliptic. curve cryptography for 8-bit AVR-based sensor nodes. IEEE Trans Inf Forensics Secur 11(7):1385-1397”.

한편, 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법으로 수행된 모듈러 곱셈(90)의 결과, 사이클 카운트(cycle counts)는 2958로 나타났다.Meanwhile, as a result of the modular multiplication 90 performed by the modular multiplication method performed in the computing device according to some embodiments of the present disclosure, cycle counts are shown as 2958.

도 6에서 상술한 바와 같이, 종래의 곱셈 방법 및 모듈러 곱셈 방법(10 내지 80)보다 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법(90)이 사이클 카운트가 낮게 측정되는 것을 알 수 있다. 따라서, 종래의 곱셈 방법 및 모듈러 곱셈 방법(10 내지 80)보다 본 개시의 몇몇 실시예에 따른 컴퓨팅 장치에서 수행되는 모듈러 곱셈 방법(90)이 연산하는 실행 시간이 적게 들어 효율적이다.6, it can be seen that the cycle count is measured lower in the modular multiplication method 90 performed in the computing device according to some embodiments of the present disclosure than the conventional multiplication method and modular multiplication methods 10 to 80. can Accordingly, the modular multiplication method 90 performed in the computing device according to some embodiments of the present disclosure requires less execution time than the conventional multiplication method and the modular multiplication method 10 to 80 , and thus is more efficient.

도 7은 본 개시의 내용의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 일반적인 개략도이다.7 is a general schematic diagram of an example computing environment in which embodiments of the present disclosure may be implemented.

본 개시가 일반적으로 컴퓨팅 장치에 의해 구현될 수 있는 것으로 전술되었지만, 당업자라면 본 개시가 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어 및/또는 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로써 구현될 수 있다는 것을 잘 알 것이다.Although the present disclosure has been described above as being generally capable of being implemented by a computing device, those skilled in the art will appreciate that the present disclosure is a combination of hardware and software and/or in combination with computer-executable instructions and/or other program modules that may be executed on one or more computers. It will be appreciated that it can be implemented as a combination.

일반적으로, 프로그램 모듈은 특정의 태스크를 수행하거나 특정의 추상 데이터 유형을 구현하는 루틴, 프로그램, 컴포넌트, 데이터 구조, 기타 등등을 포함한다. 또한, 당업자라면 본 개시의 방법이 단일-프로세서 또는 멀티프로세서 컴퓨터 시스템, 미니컴퓨터, 메인프레임 컴퓨터는 물론 퍼스널 컴퓨터, 핸드헬드(handheld) 컴퓨팅 장치, 마이크로프로세서-기반 또는 프로그램가능 가전 제품, 기타 등등(이들 각각은 하나 이상의 연관된 장치와 연결되어 동작할 수 있음)을 비롯한 다른 컴퓨터 시스템 구성으로 실시될 수 있다는 것을 잘 알 것이다.Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. In addition, those skilled in the art will appreciate that the methods of the present disclosure can be applied to single-processor or multiprocessor computer systems, minicomputers, mainframe computers as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, and the like. It will be appreciated that each of these may be implemented in other computer system configurations, including those capable of operating in connection with one or more associated devices.

본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘 다에 위치할 수 있다.The described embodiments of the present disclosure may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있고, 이러한 컴퓨터 판독가능 매체는 휘발성 및 비휘발성 매체, 일시적(transitory) 및 비일시적(non-transitory) 매체, 이동식 및 비-이동식 매체를 포함한다. 제한이 아닌 예로서, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비휘발성 매체, 일시적 및 비-일시적 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 판독가능 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computers typically include a variety of computer-readable media. Any medium accessible by a computer can be a computer readable medium, and such computer readable media includes volatile and nonvolatile media, transitory and non-transitory media, removable and non-transitory media. including removable media. By way of example, and not limitation, computer-readable media may include computer-readable storage media and computer-readable transmission media. Computer-readable storage media includes volatile and non-volatile media, temporary and non-transitory media, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. includes media. A computer-readable storage medium may be RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disk (DVD) or other optical disk storage device, magnetic cassette, magnetic tape, magnetic disk storage device, or other magnetic storage device. device, or any other medium that can be accessed by a computer and used to store the desired information.

컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터 등을 구현하고 모든 정보 전달 매체를 포함한다. 피변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer readable transmission media typically embodies computer readable instructions, data structures, program modules or other data, etc. in a modulated data signal such as a carrier wave or other transport mechanism, and Includes any information delivery medium. The term modulated data signal means a signal in which one or more of the characteristics of the signal is set or changed so as to encode information in the signal. By way of example, and not limitation, computer-readable transmission media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also intended to be included within the scope of computer-readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An exemplary environment 1100 implementing various aspects of the disclosure is shown including a computer 1102 , the computer 1102 including a processing unit 1104 , a system memory 1106 , and a system bus 1108 . do. A system bus 1108 couples system components, including but not limited to system memory 1106 , to the processing device 1104 . The processing device 1104 may be any of a variety of commercially available processors. Dual processor and other multiprocessor architectures may also be used as processing unit 1104 .

시스템 버스(1108)는 메모리 버스, 주변장치 버스, 및 다양한 상용 버스 아키텍처 중 임의의 것을 사용하는 로컬 버스에 추가적으로 상호 연결될 수 있는 몇 가지 유형의 버스 구조 중 임의의 것일 수 있다. 시스템 메모리(1106)는 판독 전용 메모리(ROM)(1110) 및 랜덤 액세스 메모리(RAM)(1112)를 포함한다. 기본 입/출력 시스템(BIOS)은 ROM, EPROM, EEPROM 등의 비휘발성 메모리(1110)에 저장되며, 이 BIOS는 시동 중과 같은 때에 컴퓨터(1102) 내의 구성요소들 간에 정보를 전송하는 일을 돕는 기본적인 루틴을 포함한다. RAM(1112)은 또한 데이터를 캐싱하기 위한 정적 RAM 등의 고속 RAM을 포함할 수 있다.The system bus 1108 may be any of several types of bus structures that may be further interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercial bus architectures. System memory 1106 includes read only memory (ROM) 1110 and random access memory (RAM) 1112 . A basic input/output system (BIOS) is stored in non-volatile memory 1110, such as ROM, EPROM, EEPROM, etc., which BIOS is the basic input/output system (BIOS) that helps transfer information between components within computer 1102, such as during startup. contains routines. RAM 1112 may also include high-speed RAM, such as static RAM, for caching data.

컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)-이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음-, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘 다를 포함한다.The computer 1102 may also be configured with an internal hard disk drive (HDD) 1114 (eg, EIDE, SATA) - this internal hard disk drive 1114 may also be configured for external use within a suitable chassis (not shown). Yes-, magnetic floppy disk drive (FDD) 1116 (eg, for reading from or writing to removable diskette 1118), and optical disk drive 1120 (eg, CD-ROM) for reading from, or writing to, disk 1122, or other high capacity optical media such as DVD. The hard disk drive 1114 , the magnetic disk drive 1116 , and the optical disk drive 1120 are connected to the system bus 1108 by the hard disk drive interface 1124 , the magnetic disk drive interface 1126 , and the optical drive interface 1128 , respectively. ) can be connected to The interface 1124 for implementing an external drive includes at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.

이들 드라이브 및 그와 연관된 컴퓨터 판독가능 매체는 데이터, 데이터 구조, 컴퓨터 실행가능 명령어, 기타 등등의 비휘발성 저장을 제공한다. 컴퓨터(1102)의 경우, 드라이브 및 매체는 임의의 데이터를 적당한 디지털 형식으로 저장하는 것에 대응한다. 상기에서의 컴퓨터 판독가능 매체에 대한 설명이 HDD, 이동식 자기 디스크, 및 CD 또는 DVD 등의 이동식 광 매체를 언급하고 있지만, 당업자라면 집 드라이브(zip drive), 자기 카세트, 플래쉬 메모리 카드, 카트리지, 기타 등등의 컴퓨터에 의해 판독가능한 다른 유형의 매체도 역시 예시적인 운영 환경에서 사용될 수 있으며 또 임의의 이러한 매체가 본 개시의 방법들을 수행하기 위한 컴퓨터 실행가능 명령어를 포함할 수 있다는 것을 잘 알 것이다.These drives and their associated computer readable media provide non-volatile storage of data, data structures, computer executable instructions, and the like. For computer 1102, drives and media correspond to storing any data in a suitable digital format. Although the description of computer readable media above refers to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will use zip drives, magnetic cassettes, flash memory cards, cartridges, etc. It will be appreciated that other tangible computer-readable media such as etc. may also be used in the exemplary operating environment and any such media may include computer-executable instructions for performing the methods of the present disclosure.

운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.A number of program modules may be stored in the drive and RAM 1112 , including an operating system 1130 , one or more application programs 1132 , other program modules 1134 , and program data 1136 . All or portions of the operating system, applications, modules, and/or data may also be cached in RAM 1112 . It will be appreciated that the present disclosure may be implemented in various commercially available operating systems or combinations of operating systems.

사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.A user may enter commands and information into the computer 1102 via one or more wired/wireless input devices, for example, a pointing device such as a keyboard 1138 and a mouse 1140 . Other input devices (not shown) may include a microphone, IR remote control, joystick, game pad, stylus pen, touch screen, and the like. Although these and other input devices are often connected to the processing unit 1104 through an input device interface 1142 that is connected to the system bus 1108, parallel ports, IEEE 1394 serial ports, game ports, USB ports, IR interfaces, It may be connected by other interfaces, etc.

모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.A monitor 1144 or other type of display device is also coupled to the system bus 1108 via an interface, such as a video adapter 1146 . In addition to the monitor 1144, the computer typically includes other peripheral output devices (not shown), such as speakers, printers, and the like.

컴퓨터(1102)는 유선 및/또는 무선 통신을 통한 원격 컴퓨터(들)(1148) 등의 하나 이상의 원격 컴퓨터로의 논리적 연결을 사용하여 네트워크화된 환경에서 동작할 수 있다. 원격 컴퓨터(들)(1148)는 워크스테이션, 컴퓨팅 디바이스 컴퓨터, 라우터, 퍼스널 컴퓨터, 휴대용 컴퓨터, 마이크로프로세서-기반 오락 기기, 피어 장치 또는 기타 통상의 네트워크 노드일 수 있으며, 일반적으로 컴퓨터(1102)에 대해 기술된 구성요소들 중 다수 또는 그 전부를 포함하지만, 간략함을 위해, 메모리 저장 장치(1150)만이 도시되어 있다. 도시되어 있는 논리적 연결은 근거리 통신망(LAN)(1152) 및/또는 더 큰 네트워크, 예를 들어, 원거리 통신망(WAN)(1154)에의 유선/무선 연결을 포함한다. 이러한 LAN 및 WAN 네트워킹 환경은 사무실 및 회사에서 일반적인 것이며, 인트라넷 등의 전사적 컴퓨터 네트워크(enterprise-wide computer network)를 용이하게 해주며, 이들 모두는 전세계 컴퓨터 네트워크, 예를 들어, 인터넷에 연결될 수 있다.Computer 1102 may operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 1148 via wired and/or wireless communications. Remote computer(s) 1148 may be workstations, computing device computers, routers, personal computers, portable computers, microprocessor-based entertainment devices, peer devices, or other common network nodes, and are typically connected to computer 1102 . Although it includes many or all of the components described for it, only memory storage device 1150 is shown for simplicity. The logical connections shown include wired/wireless connections to a local area network (LAN) 1152 and/or a larger network, eg, a wide area network (WAN) 1154 . Such LAN and WAN networking environments are common in offices and companies, and facilitate enterprise-wide computer networks, such as intranets, all of which can be connected to a worldwide computer network, for example, the Internet.

LAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 유선 및/또는 무선 통신 네트워크 인터페이스 또는 어댑터(1156)를 통해 로컬 네트워크(1152)에 연결된다. 어댑터(1156)는 LAN(1152)에의 유선 또는 무선 통신을 용이하게 해줄 수 있으며, 이 LAN(1152)은 또한 무선 어댑터(1156)와 통신하기 위해 그에 설치되어 있는 무선 액세스 포인트를 포함하고 있다. WAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 모뎀(1158)을 포함할 수 있거나, WAN(1154) 상의 통신 컴퓨팅 디바이스에 연결되거나, 또는 인터넷을 통하는 등, WAN(1154)을 통해 통신을 설정하는 기타 수단을 갖는다. 내장형 또는 외장형 및 유선 또는 무선 장치일 수 있는 모뎀(1158)은 직렬 포트 인터페이스(1142)를 통해 시스템 버스(1108)에 연결된다. 네트워크화된 환경에서, 컴퓨터(1102)에 대해 설명된 프로그램 모듈들 또는 그의 일부분이 원격 메모리/저장 장치(1150)에 저장될 수 있다. 도시된 네트워크 연결이 예시적인 것이며 컴퓨터들 사이에 통신 링크를 설정하는 기타 수단이 사용될 수 있다는 것을 잘 알 것이다.When used in a LAN networking environment, the computer 1102 is connected to the local network 1152 through a wired and/or wireless communication network interface or adapter 1156 . Adapter 1156 may facilitate wired or wireless communication to LAN 1152 , which also includes a wireless access point installed therein for communicating with wireless adapter 1156 . When used in a WAN networking environment, the computer 1102 may include a modem 1158, be connected to a communication computing device on the WAN 1154, or establish communications over the WAN 1154, such as over the Internet. have other means. A modem 1158 , which may be internal or external and a wired or wireless device, is coupled to the system bus 1108 via a serial port interface 1142 . In a networked environment, program modules described for computer 1102 or portions thereof may be stored in remote memory/storage device 1150 . It will be appreciated that the network connections shown are exemplary and other means of establishing a communication link between the computers may be used.

컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.Computer 1102 may be associated with any wireless device or object that is deployed and operates in wireless communication, for example, printers, scanners, desktop and/or portable computers, portable data assistants (PDAs), communication satellites, wireless detectable tags. It operates to communicate with any device or place, and phone. This includes at least Wi-Fi and Bluetooth wireless technologies. Accordingly, the communication may be a predefined structure as in a conventional network or may simply be an ad hoc communication between at least two devices.

Wi-Fi(Wireless Fidelity)는 유선 없이도 인터넷 등으로의 연결을 가능하게 해준다. Wi-Fi는 이러한 장치, 예를 들어, 컴퓨터가 실내에서 및 실외에서, 즉 기지국의 통화권 내의 아무 곳에서나 데이터를 전송 및 수신할 수 있게 해주는 셀 전화와 같은 무선 기술이다. Wi-Fi 네트워크는 안전하고 신뢰성 있으며 고속인 무선 연결을 제공하기 위해 IEEE 802.11(a, b, g, 기타)이라고 하는 무선 기술을 사용한다. 컴퓨터를 서로에, 인터넷에 및 유선 네트워크(IEEE 802.3 또는 이더넷을 사용함)에 연결시키기 위해 Wi-Fi가 사용될 수 있다. Wi-Fi 네트워크는 비인가 2.4 및 5GHz 무선 대역에서, 예를 들어, 11Mbps(802.11a) 또는 54 Mbps(802.11b) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wi-Fi (Wireless Fidelity) makes it possible to connect to the Internet, etc. without a wire. Wi-Fi is a wireless technology such as cell phones that allows these devices, eg, computers, to transmit and receive data indoors and outdoors, ie anywhere within range of a base station. Wi-Fi networks use a radio technology called IEEE 802.11 (a, b, g, etc) to provide secure, reliable, and high-speed wireless connections. Wi-Fi can be used to connect computers to each other, to the Internet, and to wired networks (using IEEE 802.3 or Ethernet). Wi-Fi networks may operate in unlicensed 2.4 and 5 GHz radio bands, for example, at 11 Mbps (802.11a) or 54 Mbps (802.11b) data rates, or in products that include both bands (dual band). .

본 개시의 기술 분야에서 통상의 지식을 가진 자는 정보 및 신호들이 임의의 다양한 상이한 기술들 및 기법들을 이용하여 표현될 수 있다는 것을 이해할 것이다. 예를 들어, 위의 설명에서 참조될 수 있는 데이터, 지시들, 명령들, 정보, 신호들, 비트들, 심볼들 및 칩들은 전압들, 전류들, 전자기파들, 자기장들 또는 입자들, 광학장들 또는 입자들, 또는 이들의 임의의 결합에 의해 표현될 수 있다.One of ordinary skill in the art of this disclosure will understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, instructions, information, signals, bits, symbols, and chips that may be referenced in the above description are voltages, currents, electromagnetic waves, magnetic fields or particles, optical field particles or particles, or any combination thereof.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 소프트웨어로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.A person of ordinary skill in the art of the present disclosure will recognize that the various illustrative logical blocks, modules, processors, means, circuits and algorithm steps described in connection with the embodiments disclosed herein include electronic hardware, (convenience For this purpose, it will be understood that it may be implemented by various forms of program or design code (referred to herein as software) or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. A person skilled in the art of the present disclosure may implement the described functionality in various ways for each specific application, but such implementation decisions should not be interpreted as a departure from the scope of the present disclosure.

여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 제조 물품은 임의의 컴퓨터-판독가능 저장장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 예를 들어, 컴퓨터-판독가능 저장매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 또한, 여기서 제시되는 다양한 저장 매체는 정보를 저장하기 위한 하나 이상의 장치 및/또는 다른 기계-판독가능한 매체를 포함한다.The various embodiments presented herein may be implemented as methods, apparatus, or articles of manufacture using standard programming and/or engineering techniques. The term article of manufacture includes a computer program, carrier, or media accessible from any computer-readable storage device. For example, computer-readable storage media include magnetic storage devices (eg, hard disks, floppy disks, magnetic strips, etc.), optical disks (eg, CDs, DVDs, etc.), smart cards, and flash drives. memory devices (eg, EEPROMs, cards, sticks, key drives, etc.). Also, various storage media presented herein include one or more devices and/or other machine-readable media for storing information.

제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It is understood that the specific order or hierarchy of steps in the presented processes is an example of exemplary approaches. Based on design priorities, it is to be understood that the specific order or hierarchy of steps in the processes may be rearranged within the scope of the present disclosure. The appended method claims present elements of the various steps in a sample order, but are not meant to be limited to the specific order or hierarchy presented.

제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다.The description of the presented embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure is not intended to be limited to the embodiments presented herein, but is to be construed in the widest scope consistent with the principles and novel features presented herein.

Claims (8)

컴퓨팅 장치의 제어부에 의해 수행되는 모듈러 곱셈 방법에 있어서,
사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하는 단계; 및
상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용하는 단계;
를 포함하는,
모듈러 곱셈 방법.
In the modular multiplication method performed by the control unit of the computing device,
converting the first and second values input by the user into the first expression and the second expression using a preset integer expression method; and
performing an operation by performing modular multiplication on the first expression and the second expression, but storing and utilizing data related to redundant operations during an accumulation process in a storage unit;
containing,
Modular multiplication method.
제 1 항에 있어서,
상기 제 1 표현은,
상기 제 1 값이 상기 기 설정된 정수 표현법과 관련된 수학식
Figure 112021029380403-pat00113
에서 좌측항의 상기 X인 경우, 우측항의 표현이고,
상기 제 2 표현은,
상기 제 2 값이 상기 기 설정된 정수 표현법과 관련된 수학식
Figure 112021029380403-pat00114
에서 좌측항의 상기 Y인 경우, 우측항의 표현이고,
상기
Figure 112021029380403-pat00115
또는 상기
Figure 112021029380403-pat00116
는 0 이상 28 미만인 값 중 어느 하나의 값이고, 상기
Figure 112021029380403-pat00117
는 28 인,
모듈러 곱셈 방법.
The method of claim 1,
The first expression is
The first value is an equation related to the preset integer expression method
Figure 112021029380403-pat00113
In the case of X of the left term, it is the expression of the right term,
The second expression is
The second value is an equation related to the preset integer expression method
Figure 112021029380403-pat00114
In the case of Y of the left term, it is the expression of the right term,
remind
Figure 112021029380403-pat00115
or above
Figure 112021029380403-pat00116
is any value of 0 or more and less than 2 8 , and
Figure 112021029380403-pat00117
is 2 8 people,
Modular multiplication method.
제 2 항에 있어서,
상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하는 단계는,
상기 제 1 표현을 기 설정된 제 1 표현 방식인
Figure 112021029380403-pat00118
형태로 변환하는 단계 -상기 기 설정된 제 1 표현 방식에서, 상기
Figure 112021029380403-pat00119
Figure 112021029380403-pat00120
이고, 상기
Figure 112021029380403-pat00121
Figure 112021029380403-pat00122
임-;
상기 제 2 표현을 기 설정된 제 2 표현 방식인
Figure 112021029380403-pat00123
형태로 변환하는 단계 -상기 기 설정된 제 2 표현 방식에서, 상기
Figure 112021029380403-pat00124
Figure 112021029380403-pat00125
이고, 상기
Figure 112021029380403-pat00126
Figure 112021029380403-pat00127
임-;
표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행하여 산출 값을 생성하는 단계; 및
상기 산출 값에 대한 기 설정된 감산 연산을 수행하여 최종 산출 값을 생성하는 단계;
를 포함하는,
모듈러 곱셈 방법.
3. The method of claim 2,
The step of calculating by performing modular multiplication on the first expression and the second expression comprises:
The first expression is a preset first expression method
Figure 112021029380403-pat00118
Converting to a form - In the preset first expression method, the
Figure 112021029380403-pat00119
Is
Figure 112021029380403-pat00120
and said
Figure 112021029380403-pat00121
Is
Figure 112021029380403-pat00122
lim-;
The second expression is a preset second expression method
Figure 112021029380403-pat00123
Converting to a form - In the preset second expression method, the
Figure 112021029380403-pat00124
Is
Figure 112021029380403-pat00125
and said
Figure 112021029380403-pat00126
Is
Figure 112021029380403-pat00127
lim-;
generating an output value by performing multiplication by using the first expression and the second expression in which the expression method is converted; and
generating a final calculated value by performing a preset subtraction operation on the calculated value;
containing,
Modular multiplication method.
제 3 항에 있어서,
상기 표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행하여 산출 값을 생성하는 단계는,
표현 방식이 변환된 상기 제 1 표현 및 상기 제 2 표현을 이용하여 곱셈을 수행한 산출 결과 값인
Figure 112021029380403-pat00128
에서, 상기
Figure 112021029380403-pat00129
Figure 112021029380403-pat00130
로 치환하고, 상기
Figure 112021029380403-pat00131
Figure 112021029380403-pat00132
로 치환하고, 상기
Figure 112021029380403-pat00133
Figure 112021029380403-pat00134
으로 치환하는 단계;
를 더 포함하고,
상기
Figure 112021029380403-pat00135
Figure 112021029380403-pat00136
이고, 상기
Figure 112021029380403-pat00137
Figure 112021029380403-pat00138
이고, 상기
Figure 112021029380403-pat00139
Figure 112021029380403-pat00140
이고, 상기
Figure 112021029380403-pat00141
Figure 112021029380403-pat00142
이고, 상기
Figure 112021029380403-pat00143
Figure 112021029380403-pat00144
이고, 상기
Figure 112021029380403-pat00145
, 상기
Figure 112021029380403-pat00146
및 상기
Figure 112021029380403-pat00147
는 0 이상 28 미만인 값 중 어느 하나의 값인,
모듈러 곱셈 방법.
4. The method of claim 3,
The step of generating a calculated value by performing multiplication using the first expression and the second expression in which the expression method is converted,
It is a calculated result value obtained by performing multiplication using the first expression and the second expression in which the expression method is converted.
Figure 112021029380403-pat00128
in, said
Figure 112021029380403-pat00129
cast
Figure 112021029380403-pat00130
Substituted with,
Figure 112021029380403-pat00131
cast
Figure 112021029380403-pat00132
Substituted with,
Figure 112021029380403-pat00133
cast
Figure 112021029380403-pat00134
Substituting with;
further comprising,
remind
Figure 112021029380403-pat00135
Is
Figure 112021029380403-pat00136
and said
Figure 112021029380403-pat00137
Is
Figure 112021029380403-pat00138
and said
Figure 112021029380403-pat00139
Is
Figure 112021029380403-pat00140
and said
Figure 112021029380403-pat00141
Is
Figure 112021029380403-pat00142
and said
Figure 112021029380403-pat00143
silver
Figure 112021029380403-pat00144
and said
Figure 112021029380403-pat00145
, remind
Figure 112021029380403-pat00146
and said
Figure 112021029380403-pat00147
is any one of the values between 0 and 2 and less than 8 ,
Modular multiplication method.
제 4 항에 있어서,
상기 기 설정된 감산 연산은,
256 비트의 상기 산출 값을 192 비트의 곱셈 결과로 표현하기 위해 기 설정된 모듈러 프라임을 이용하여 수행되고,
상기 최종 산출 값은,
수학식
Figure 112021029380403-pat00148
로 표현되는,
모듈러 곱셈 방법.
5. The method of claim 4,
The preset subtraction operation is
It is performed using a preset modular prime to express the calculated value of 256 bits as a result of multiplication of 192 bits,
The final calculated value is,
formula
Figure 112021029380403-pat00148
expressed as,
Modular multiplication method.
제 5 항에 있어서,
상기 최종 산출 값에서 상기
Figure 112021029380403-pat00149
의 연산 결과 값을 상기 저장부에 저장하여 활용하는,
모듈러 곱셈 방법.
6. The method of claim 5,
In the final calculated value, the
Figure 112021029380403-pat00149
to store and utilize the operation result value of
Modular multiplication method.
하나 이상의 프로세서를 포함하는 제어부;
데이터를 저장하는 저장부;
를 포함하고,
상기 제어부는,
사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하고, 그리고
상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 상기 저장부에 저장하여 활용하는,
컴퓨팅 장치.
a control unit including one or more processors;
a storage unit for storing data;
including,
The control unit is
Converting the first value and the second value input by the user into the first expression and the second expression using a preset integer expression method, and
The first expression and the second expression are calculated by performing modular multiplication, but data related to the overlapped operation during the accumulation process is stored and utilized in the storage unit,
computing device.
컴퓨터 판독 가능 저장 매체에 저장된 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은 컴퓨팅 장치의 제어부로 하여금 이하의 단계들을 수행하기 위한 명령들을 포함하며, 상기 단계들은:
사용자로부터 입력된 제 1 값 및 제 2 값을 기 설정된 정수 표현법을 이용하여 제 1 표현 및 제 2 표현으로 변환하는 단계; 및
상기 제 1 표현 및 상기 제 2 표현에 대한 모듈러 곱셈을 수행하여 연산하되 누산 과정 중 중복된 연산과 관련된 데이터는 저장부에 저장하여 활용하는 단계;
를 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer-readable storage medium, the computer program comprising instructions for causing a control unit of a computing device to perform the following steps, the steps comprising:
converting the first and second values input by the user into the first expression and the second expression using a preset integer expression method; and
performing an operation by performing modular multiplication on the first expression and the second expression, but storing and utilizing data related to redundant operations during an accumulation process in a storage unit;
containing,
A computer program stored on a computer-readable storage medium.
KR1020210032614A 2020-11-18 2021-03-12 Method for modular multiplication Active KR102425475B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200154818 2020-11-18
KR20200154818 2020-11-18

Publications (2)

Publication Number Publication Date
KR20220068105A KR20220068105A (en) 2022-05-25
KR102425475B1 true KR102425475B1 (en) 2022-07-27

Family

ID=81796900

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210032614A Active KR102425475B1 (en) 2020-11-18 2021-03-12 Method for modular multiplication

Country Status (1)

Country Link
KR (1) KR102425475B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161390A1 (en) 2006-02-09 2011-06-30 Masayuki Yoshino Modular multiplication processing apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050101003A (en) 2004-04-16 2005-10-20 삼성전자주식회사 Modular exponentiation operation method
KR101423947B1 (en) * 2011-08-31 2014-08-01 고려대학교 산학협력단 Modular multiplication and modular exponentiation using extended NIST prime
KR102132261B1 (en) * 2014-03-31 2020-08-06 삼성전자주식회사 Method and apparatus for computing montgomery multiplication performing final reduction wihhout comparator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161390A1 (en) 2006-02-09 2011-06-30 Masayuki Yoshino Modular multiplication processing apparatus

Also Published As

Publication number Publication date
KR20220068105A (en) 2022-05-25

Similar Documents

Publication Publication Date Title
CN105122721A (en) Managed secure computations on encrypted data
Kuang et al. A new quantum-safe multivariate polynomial public key digital signature algorithm
CN101061526B (en) Encryption computing device
US20130108039A1 (en) Lightweight stream cipher cryptosystems
Morales-Sandoval et al. A Compact FPGA‐Based Accelerator for Curve‐Based Cryptography in Wireless Sensor Networks
JP4752313B2 (en) Cryptographic processing operation method, cryptographic processing apparatus, and computer program
Bindel et al. Estimation of the hardness of the learning with errors problem with a restricted number of samples
US10078492B2 (en) Generating pseudo-random numbers using cellular automata
Farzam et al. Implementation of supersingular isogeny-based Diffie-Hellman and key encapsulation using an efficient scheduling
CN104657631B (en) The processing method and processing device of the channel information of application
KR102425475B1 (en) Method for modular multiplication
Vollala et al. Efficient modular exponential algorithms compatible with hardware implementation of public‐key cryptography
Takaki et al. An optimized implementation of aes-gcm for fpga acceleration using high-level synthesis
US7849125B2 (en) Efficient computation of the modulo operation based on divisor (2n-1)
Jahani et al. Efficient big integer multiplication and squaring algorithms for cryptographic applications
Ott et al. Planning for Cryptographic Readiness in an Era of Quantum Computing Advancement.
KR20240071692A (en) Quantum Circuit of Modular Multiplication for Proth Number
CN116720587A (en) A processing method, device, storage medium and electronic device for data modulus operation tasks
Franck et al. Energy-scalable montgomery-curve ECDH key exchange for ARM cortex-M3 microcontrollers
US10678511B1 (en) Generating pseudo-random numbers using cellular automata
KR100974624B1 (en) An Efficient Elliptic Curve Cryptography Algorithm, Sensor Apparatus, and Recording Media
Nava Teja Reddy et al. Mayfly optimistic hyperelliptic curve cryptosystem
Hao et al. Optimization algorithm for scalar multiplication in the elliptic curve cryptography over prime field
KR102630671B1 (en) Communication system for error correction in massive random access, and method of the same
KR101423947B1 (en) Modular multiplication and modular exponentiation using extended NIST prime

Legal Events

Date Code Title Description
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

D14-X000 Search report completed

St.27 status event code: A-1-2-D10-D14-srh-X000

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R14-asn-PN2301