{
  "id": "2013/202",
  "url": "https://opencryptology.org/2013/202",
  "original_url": "https://eprint.iacr.org/2013/202",
  "title": "Breaking NLM-MAC Generator",
  "authors": [
    "Mohammad Ali Orumiehchiha",
    "Josef Pieprzyk",
    "Ron Steinfeld"
  ],
  "affiliations": null,
  "abstract": "NLM generator, designed by HoonJae Lee, SangMin Sung, HyeongRag Kim, is the strengthened version of the LM-type summation generator with two memory bits; which uses non-linear combination of linear feedback shift register and non-linear feedback shift register. Recently, the cipher along with a massage authenticate function have been proposed for a lightweight communication framework in wireless sensor networks. Also, the generator has been used in two different RFID mutual authentication protocols and a protocol to secure access in internet. This paper indicates some critical cryptographic weak points leading to the key recovery and forgery attack. We prove the internal state of NLM-n can be recovered with time complexity about $n^{log7\\times2}$ where the total length of internal state is $2\\cdot n+2$ bits. The attack needs about $n^2$ key-stream bits. We also show attacker is able forge any MAC tag in real time by having only one pair (MAC tag, cipher-text). The proposed attacks are completely practical and break the scheme with negligible error probability.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Breaking NLM-MAC Generator” by Mohammad Ali Orumiehchiha, Josef Pieprzyk, Ron Steinfeld, Cryptology ePrint Archive, Paper 2013/202, https://eprint.iacr.org/2013/202. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2013-04-09T09:32:34Z",
    "updated": "2013-04-09T09:32:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2013/202.pdf",
    "sha256": "7e37403844d528bb478f4b064a4b1d8061c2f903ed380c8b33ea56acc0df4668",
    "size": 271575,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:45:55Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2013/202/versions/20190225T164555Z.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/202.pdf",
      "size": 271575,
      "sha256": "7e37403844d528bb478f4b064a4b1d8061c2f903ed380c8b33ea56acc0df4668",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260115092419id_/https://eprint.iacr.org/2013/202.pdf",
      "captured_at": "2026-01-15T09:24:19Z",
      "size": 261278
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/202.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "size": 271575
    }
  ],
  "bibtex": "@misc{cryptoeprint:2013/202,\n      author = {Mohammad Ali Orumiehchiha and Josef Pieprzyk and Ron Steinfeld},\n      title = {Breaking NLM-MAC Generator},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2013/202},\n      year = {2013},\n      url = {https://eprint.iacr.org/2013/202}\n}"
}
