case: roca
subject: {secret_role: long-term, algorithm: RSA, parameters: "2048-bit", context: smart card key}
validity: {status: valid}
findings:
  - class: A2
    objective: rec
    route: structural
    attack:
      subset: "moduli with the ROCA structure"
      algorithm: Coppersmith-based factorization
      cost: "practical for affected sizes; parameter-dependent"
      rho: "large: the structured primes leave a search space far smaller than the class [R20]"
      mass: "every key from the affected library versions"
      sigma: "not quantified here; far above the 16-bit default threshold by the account in [R20] (inferred)"
      feasible: true
    evidence: credible
    note: "Attack published and reproduced [R20]; coverage shown by the fingerprint, a predeclared test. Recovery feasible per parameters but not executed here, so not demonstrated. The fingerprint makes the library credible as the cause; demonstrated needs independent provenance."
    detection: {check: ROCA fingerprint, tool: roca-detect}
    sources: [R20]
  - class: B2
    generation:
      mechanism: "structured prime generation in a known library"
      lambda_required: 112
      shortfall: true
      root_cause: "Infineon RSALib prime construction"
      cause_evidence: credible
    evidence: demonstrated
    sources: [R20]
disposition: {action: treat-as-compromised, rule: 2}
