{
  "id": "2011/239",
  "url": "https://opencryptology.org/2011/239",
  "original_url": "https://eprint.iacr.org/2011/239",
  "title": "Efficient Software Implementations of Modular Exponentiation",
  "authors": [
    "Shay Gueron"
  ],
  "affiliations": null,
  "abstract": "RSA computations have a significant effect on the workloads of SSL/TLS servers, and therefore their software implementations on general purpose processors are an important target for optimization. We concentrate here on 512-bit modular exponentiation, used for 1024-bit RSA. We propose optimizations in two directions. At the primitives’ level, we study and improve the performance of an “Almost” Montgomery Multiplication. At the exponentiation level, we propose a method to reduce the cost of protecting the w-ary exponentiation algorithm against cache/timing side channel attacks. Together, these lead to an efficient software implementation of 512-bit modular exponentiation, which outperforms the currently fastest publicly available alternative. When measured on the latest x86-64 architecture, the 2nd Generation Intel® Core™ processor, our implementation is 43% faster than that of the current version of OpenSSL (1.0.0d).",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Software Implementations of Modular Exponentiation” by Shay Gueron, Cryptology ePrint Archive, Paper 2011/239, https://eprint.iacr.org/2011/239. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2011-05-18T02:20:33Z",
    "updated": "2011-06-28T13:14:18Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2011/239.pdf",
    "sha256": "4aae4cde496d284512b32407cf1dab9196f80a486f2fb5b847dcaf4e3e549982",
    "size": 566180,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:30:01Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2011/239/versions/20190225T163001Z.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/239.pdf",
      "size": 566180,
      "sha256": "4aae4cde496d284512b32407cf1dab9196f80a486f2fb5b847dcaf4e3e549982",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260115094558id_/https://eprint.iacr.org/2011/239.pdf",
      "captured_at": "2026-01-15T09:45:58Z",
      "size": 532043
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/239.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "size": 566180
    }
  ],
  "bibtex": "@misc{cryptoeprint:2011/239,\n      author = {Shay Gueron},\n      title = {Efficient Software Implementations of Modular Exponentiation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2011/239},\n      year = {2011},\n      url = {https://eprint.iacr.org/2011/239}\n}"
}
