{
  "id": "2014/725",
  "url": "https://opencryptology.org/2014/725",
  "original_url": "https://eprint.iacr.org/2014/725",
  "title": "Efficient Software Implementation of Ring-LWE Encryption",
  "authors": [
    "Ruan de Clercq",
    "Sujoy Sinha Roy",
    "Frederik Vercauteren",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "Present-day public-key cryptosystems such as RSA and Elliptic Curve Cryptography (ECC) will become insecure when quantum computers become a reality. This paper presents the new state of the art in efficient software implementations of a post-quantum secure public-key encryption scheme based on the ring-LWE problem. We use a 32-bit ARM Cortex-M4F microcontroller as the target platform. Our contribution includes optimization techniques for fast discrete Gaussian sampling and efficient polynomial multiplication. This implementation beats all known software implementations, on any architecture, by at least one order of magnitude. We further show that our scheme beats all ECC-based public-key encryption schemes by at least one order of magnitude. At 128-bit security we require 121166 cycles per encryption and 43324 cycles per decryption, while at a 256-bit security we require 261939 cycles per encryption and 96520 cycles per decryption. Gaussian sampling is done at an average of 28.5 cycles per sample.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Software Implementation of Ring-LWE Encryption” by Ruan de Clercq, Sujoy Sinha Roy, Frederik Vercauteren, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2014/725, https://eprint.iacr.org/2014/725. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-09-19T21:15:22Z",
    "updated": "2015-01-13T12:48:21Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/725.pdf",
    "sha256": "c74e354df75d7ee63acf7d1ed7b6d4d09d8b02306c7bd58d14f19f568da7b97d",
    "size": 265391,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/725/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/725.pdf",
      "size": 265391,
      "sha256": "c74e354df75d7ee63acf7d1ed7b6d4d09d8b02306c7bd58d14f19f568da7b97d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250502164939id_/https://eprint.iacr.org/2014/725.pdf",
      "captured_at": "2025-05-02T16:49:39Z",
      "size": 266299
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/725.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 265391
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/725,\n      author = {Ruan de Clercq and Sujoy Sinha Roy and Frederik Vercauteren and Ingrid Verbauwhede},\n      title = {Efficient Software Implementation of Ring-LWE Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/725},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/725}\n}"
}
