Vector and scalar based modular exponentiation

US9268564B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9268564-B2
Application numberUS-201213994717-A
CountryUS
Kind codeB2
Filing dateMay 30, 2012
Priority dateMay 30, 2012
Publication dateFeb 23, 2016
Grant dateFeb 23, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

An embodiment includes a method for computing operations, such as modular exponentiation, using a mix of vector and scalar instructions to accelerate various applications such as encryption protocols that rely heavily on large number arithmetic operations. The embodiment requires far fewer instructions to execute the operations than more conventional practices. Other embodiments are described herein.

First claim

Opening claim text (preview).

What is claimed is: 1. At least one non-transitory machine readable medium comprising a plurality of instructions that in response to being executed on a computing device, cause the computing device to carry out a method comprising: converting first and second integers from a first format to a second format; wherein the first and second integers each have more digits in the second format than in the first format and each of the digits in the second format is smaller in bit size than in the first format; performing an arithmetic operation between the first and second converted digits using both scalar and vector instructions; and determining a modular exponentiation (ME) based on the arithmetic operation. 2. The at least one medium of claim 1 , the method comprising determining an encryption value based on the ME. 3. The at least one medium of claim 1 , wherein the digits in the first format are stored in equally sized first containers, the method comprising storing the digits in the second format in equally sized second containers that are equal in size to the first containers. 4. The at least one method of claim 3 , wherein: performing the arithmetic operation using the vector instructions comprises generating a carry value; and the method comprises storing the carry value in an unused portion of one of the second containers. 5. The at least one method of claim 3 , wherein the first format includes a first radix value, the second format includes a second radix value that is unequal to the first radix value, and the second format is redundant. 6. The at least one method of claim 1 , wherein performing the arithmetic operation using the scalar instructions comprises performing arithmetic and logic (ALU) instructions, and performing the arithmetic operation using the vector instructions comprises simultaneously performing single instruction, multiple data (SIMD) instructions. 7. The at least one medium of claim 1 , wherein performing the arithmetic operation using the scalar and vector instructions comprises simultaneously performing the arithmetic operation on multiple digits in the second format and simultaneously performing the scalar and vector instructions. 8. The at least one medium of claim 1 , wherein the first integer in the first format has a first total number of digits extending to and including most significant and least significant digits, the first integer in the second format has a second total number of digits extending to and including most significant and least significant digits, and the second total number of digits exceeds the first total number of digits. 9. The at least one medium of claim 1 , wherein: performing the arithmetic operation using the vector instructions comprises generating first and second sub-products; and the method comprises: determining a first carry value for the first sub-product; and summing the first and second sub-products independently of the first carry value. 10. The at least one medium of claim 1 , wherein: performing the arithmetic operation using the vector instructions comprises generating first and second sub-products; and the method comprises: determining first and second carry values respectively for the first and second sub-products; summing the first and second sub-products to determine a sum of sub-product values; and summing the first and second carry values to determine a sum of carry values. 11. The at least one medium of claim 10 , the method comprising: determining an accumulated valued based on the sum of sub-product values and the sum of carry values; and formatting the accumulated value in the first format. 12. The at least one medium of claim 1 , the method comprising: performing the arithmetic operation on least significant digits of the first and second converted digits using the scalar instructions; and performing the arithmetic operation on most significant digits of the first and second converted digits using the vector instructions. 13. An apparatus comprising: at least one memory; at least one processor, coupled to the memory, to perform operations comprising: converting first and second integers from a first format to a second format; wherein the first and second integers each have more digits in the second format than in the first format and each of the digits in the second format is smaller in bit size than in the first format; performing an arithmetic operation between the first and second converted digits using both scalar and vector instructions; and determining a modular exponentiation (ME) based on the arithmetic operation. 14. The apparatus of claim 13 , wherein the digits in the first format are stored in equally sized first containers and the operations comprise: storing the digits in the second format in equally sized second containers that are equal in size to the first containers; and storing a carry value, generated using the vector instructions, in an unused portion of one of the second containers. 15. The apparatus of claim 13 , wherein performing the arithmetic operation using the vector instructions comprises simultaneously performing the arithmetic operation on multiple digits in the second format. 16. The apparatus of claim 13 , wherein performing the arithmetic operation using the vector instructions comprises generating first and second sub-products; and the operations comprise: determining a first carry value for the first sub-product; and summing the first and second sub-products independently of the first carry value. 17. The apparatus of claim 13 , wherein the operations comprise: performing the arithmetic operation on least significant digits of the first and second converted digits using the scalar instructions; and performing the arithmetic operation on most significant digits of the first and second converted digits using the vector instructions. 18. A method executed by at least one processor comprising: converting first and second integers from a first format to a second format; wherein the first and second integers each have more digits in the second format than in the first format and each of the digits in the second format is smaller in bit size than in the first format; performing an arithmetic operation between the first and second converted digits using both scalar and vector instructions; and determining a modular exponentiation (ME) based on the arithmetic operation. 19. The method of claim 18 , wherein: performing the arithmetic operation using the vector instructions comprises generating first and second sub-products; the method comprises: determining a first carry value for the first sub-product; and summing the first and second sub-products independently of the first carry value. 20. The method of claim 18 , wherein performing the arithmetic operation using the scalar instructions comprises performing arithmetic and logic (ALU) instructions, and performing the arithmetic operation using the vector instructions comprises simultaneously performing single instruction, multiple data (SIMD) instructions.

Assignees

Inventors

Classifications

  • G06F9/3001Primary

    Arithmetic instructions · CPC title

  • G06F7/723Primary

    Modular exponentiation (G06F7/724, G06F7/727, G06F7/728 take precedence) · CPC title

  • Multigauge devices, i.e. capable of handling packed numbers without unpacking them · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9268564B2 cover?
An embodiment includes a method for computing operations, such as modular exponentiation, using a mix of vector and scalar instructions to accelerate various applications such as encryption protocols that rely heavily on large number arithmetic operations. The embodiment requires far fewer instructions to execute the operations than more conventional practices. Other embodiments are described h…
Who is the assignee on this patent?
Gueron Shay, Krasnov Vlad, Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F9/3001. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 23 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).