{
  "id": "2016/710",
  "url": "https://opencryptology.org/2016/710",
  "original_url": "https://eprint.iacr.org/2016/710",
  "title": "Keymill: Side-Channel Resilient Key Generator",
  "authors": [
    "Mostafa Taha",
    "Arash Reyhani-Masoleh",
    "Patrick Schaumont"
  ],
  "affiliations": null,
  "abstract": "In the crypto community, it is widely acknowledged that any cryptographic scheme that is built with no countermeasure against side-channel analysis (SCA) can be easily broken. In this paper, we challenge this intuition. We investigate a novel approach in the design of cryptographic primitives that promotes inherent security against side-channel analysis without using redundant circuits. We propose Keymill, a new keystream generator that is immune against SCA attacks. Security of the proposed scheme depends on mixing key bits in a special way that expands the size of any useful key hypothesis to the full entropy, which enables SCA-security that is equivalent to the brute force. Doing so, we do not propose a better SCA countermeasure, but rather a new one. The current solution focuses exclusively on side-channel analysis and works on top of any unprotected block cipher for mathematical security. The proposed primitive is generic and can turn any block cipher into a protected mode using only 775 equivalent NAND gates, which is almost half the area of the best countermeasure available in the literature.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Keymill: Side-Channel Resilient Key Generator” by Mostafa Taha, Arash Reyhani-Masoleh, Patrick Schaumont, Cryptology ePrint Archive, Paper 2016/710, https://eprint.iacr.org/2016/710. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-07-18T14:37:45Z",
    "updated": "2016-07-18T14:37:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/710.pdf",
    "sha256": "89f628c068fafecaf483b8a5ceff276b62a779b62860f59d01b34f5ff57fe636",
    "size": 603635,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/710/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/710.pdf",
      "size": 603635,
      "sha256": "89f628c068fafecaf483b8a5ceff276b62a779b62860f59d01b34f5ff57fe636",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260108050005id_/https://eprint.iacr.org/2016/710.pdf",
      "captured_at": "2026-01-08T05:00:05Z",
      "size": 551028
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/710.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 603635
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/710,\n      author = {Mostafa Taha and Arash Reyhani-Masoleh and Patrick Schaumont},\n      title = {Keymill: Side-Channel Resilient Key Generator},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/710},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/710}\n}"
}
