{
  "id": "sm3-256",
  "name": "SM3-256",
  "family_id": "sm3",
  "description": "SM3 with a 256-bit digest, 512-bit blocks, and 64 steps. Best results: practical 23-step collisions, a 30-step padded preimage attack, and a 37-step boomerang distinguisher.",
  "status": "intact",
  "parameters": {
    "digest_bits": 256,
    "block_bits": 512,
    "steps": 64,
    "standard": "GB/T 32905 / ISO/IEC 10118-3"
  },
  "references": [
    {
      "title": "GB/T 32905-2016: SM3 Cryptographic Hash Algorithm (ISO/IEC 10118-3)",
      "url": "https://www.iso.org/standard/67116.html",
      "authors": [
        "State Cryptography Administration of China"
      ],
      "quote_location": "GB/T 32905-2016 / ISO/IEC 10118-3"
    },
    {
      "title": "Practical Collisions for 22- and 23-Step SM3",
      "url": "https://eprint.iacr.org/2026/2700",
      "authors": [
        "Yuan",
        "Cui",
        "Yu"
      ],
      "eprint_id": "2026/2700",
      "quote_location": "ePrint 2026/2700"
    },
    {
      "title": "Improved cryptanalysis of step-reduced SM3",
      "url": "https://doi.org/10.1007/s11432-016-9091-1",
      "authors": [
        "Yanzhao Shen",
        "Dongxia Bai",
        "Hongbo Yu"
      ],
      "doi": "10.1007/s11432-016-9091-1",
      "quote_location": "Science China Information Sciences 2018"
    },
    {
      "title": "Improved Boomerang Attacks on SM3",
      "url": "https://doi.org/10.1007/978-3-642-39077-3_18",
      "authors": [
        "Dongxia Bai",
        "Hongbo Yu",
        "Gaoli Wang",
        "Xiaoyun Wang"
      ],
      "doi": "10.1007/978-3-642-39077-3_18",
      "quote_location": "ACISP 2013"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "sm3-256-yuan-2026-23s-collision",
      "target_id": "sm3-256",
      "title": "Practical 23-step standard collision attack on SM3",
      "goal": "collision",
      "attack_family": "differential",
      "setting": "Practical standard collision attack on 23 of 64 steps of SM3",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2026-11-15",
      "authors": [
        "Yuan",
        "Cui",
        "Yu"
      ],
      "references": [
        {
          "title": "Practical Collisions for 22- and 23-Step SM3",
          "url": "https://eprint.iacr.org/2026/2700",
          "authors": [
            "Yuan",
            "Cui",
            "Yu"
          ],
          "eprint_id": "2026/2700",
          "quote_location": "ePrint 2026/2700"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "preprint",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 23,
        "total_rounds": 64,
        "log2_time": 54.5,
        "time_unit": "23-step SM3 compressions",
        "attack_goal": "collision"
      },
      "notes": "The paper reports a practical 22-step collision at 2^52.4 and a 23-step collision at 2^54.5, plus a 24-step semi-free-start collision."
    },
    {
      "id": "sm3-256-shen-2018-30s-preimage",
      "target_id": "sm3-256",
      "title": "30-step padded preimage attack on SM3",
      "goal": "preimage",
      "attack_family": "meet-in-the-middle",
      "setting": "Preimage attack on 30 of 64 steps of SM3 with valid padding (2-block)",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2018-03-01",
      "authors": [
        "Yanzhao Shen",
        "Dongxia Bai",
        "Hongbo Yu"
      ],
      "references": [
        {
          "title": "Improved cryptanalysis of step-reduced SM3",
          "url": "https://doi.org/10.1007/s11432-016-9091-1",
          "authors": [
            "Yanzhao Shen",
            "Dongxia Bai",
            "Hongbo Yu"
          ],
          "doi": "10.1007/s11432-016-9091-1",
          "quote_location": "Science China Information Sciences 2018"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 30,
        "total_rounds": 64,
        "log2_time": 255.3,
        "time_unit": "30-step SM3 evaluations",
        "attack_goal": "preimage"
      },
      "notes": "A 1-block pseudo-preimage costs 2^252.55; converting it to a valid 2-block padded preimage costs 2^255.3."
    },
    {
      "id": "sm3-256-bai-2013-37s-boomerang",
      "target_id": "sm3-256",
      "title": "37-step boomerang distinguisher on SM3",
      "goal": "distinguisher",
      "attack_family": "boomerang",
      "setting": "Boomerang distinguisher on the 37-step reduced SM3 compression function",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2013-07-01",
      "authors": [
        "Dongxia Bai",
        "Hongbo Yu",
        "Gaoli Wang",
        "Xiaoyun Wang"
      ],
      "references": [
        {
          "title": "Improved Boomerang Attacks on SM3",
          "url": "https://doi.org/10.1007/978-3-642-39077-3_18",
          "authors": [
            "Dongxia Bai",
            "Hongbo Yu",
            "Gaoli Wang",
            "Xiaoyun Wang"
          ],
          "doi": "10.1007/978-3-642-39077-3_18",
          "quote_location": "ACISP 2013"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 37,
        "total_rounds": 64,
        "log2_time": 92,
        "time_unit": "37-step SM3 evaluations",
        "attack_goal": "distinguisher"
      }
    }
  ],
  "frontiers": [
    {
      "id": "sm3-256-collisions-beyond-23-steps",
      "target_id": "sm3-256",
      "title": "Standard collisions beyond 23 steps of SM3",
      "description": "Practical standard collisions on SM3 stand at 23 of 64 steps (2^54.5), with a semi-free-start collision at 24 steps; extending standard collisions to 24 or more steps remains open.",
      "references": [
        {
          "title": "Practical Collisions for 22- and 23-Step SM3",
          "url": "https://eprint.iacr.org/2026/2700",
          "authors": [
            "Yuan",
            "Cui",
            "Yu"
          ],
          "eprint_id": "2026/2700",
          "quote_location": "ePrint 2026/2700"
        }
      ]
    }
  ],
  "dead_ends": []
}
