Modular inverse operating method and operational unit
A modulo inverse operation and operator technology, applied in the field of modulo inverse operation methods and operators, can solve the problems of complex implementation, inability to obtain the modulo of any non-zero integer, complex calculation process, etc., so as to reduce hardware power consumption and improve operation speed. , the effect of improving computing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0035] The existing binary extended Euclidean algorithm converts division into shift and addition and subtraction. However, in the process of shifting, the weight of operands has changed, and the final operation result contains 2 n (n is the bit length of the operand) item weight factor, the operation of dividing by 2 needs to be performed multiple times to remove the weight factor, therefore, the modulus must be an odd number. However, the existing binary extended Euclidean algorithm method still has certain limitations when performing modular inversion operations, and cannot perform modulo calculations for any non-zero integers, and the calculation process is relatively complicated.
[0036] The present invention proposes a modular inverse operation,
[0037] Given the positive integers u and m, find u -1 mod m, characterized in that it comprises the steps of:
[0038] S1, if m is an odd number, then n1=u, n2=m, flag bit flag=0; otherwise m is not an odd number: if u is an...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com