{
  "id": "2003/140",
  "url": "https://opencryptology.org/2003/140",
  "original_url": "https://eprint.iacr.org/2003/140",
  "title": "Trading-Off Type-Inference Memory Complexity Against Communication",
  "authors": [
    "Konstantin Hyppönen",
    "David Naccache",
    "Elena Trichina",
    "Alexei Tchoulkine"
  ],
  "affiliations": null,
  "abstract": "While bringing considerable flexibility and extending the horizons\nof mobile computing, mobile code raises major security issues.\nHence, mobile code, such as Java applets, needs to be analyzed\nbefore execution. The byte-code verifier checks low-level security\nproperties that ensure that the downloaded code cannot bypass the\nvirtual machine's security mechanisms. One of the statically\nensured properties is {\\sl type safety}. The type-inference phase\nis the overwhelming resource-consuming part of the verification\nprocess.\n\nThis paper addresses the RAM bottleneck met while verifying mobile\ncode in memory-constrained environments such as smart-cards. We\npropose to modify classic type-inference in a way that\nsignificantly reduces the memory consumption in the\nmemory-constrained device at the detriment of its distrusted\nmemory-rich environment.\n\nThe outline of our idea is the following, throughout execution,\nthe memory frames used by the verifier are MAC-ed and exported to\nthe terminal and then retrieved upon request. Hence a distrusted\nmemory-rich terminal can be safely used for convincing the\nembedded device that the downloaded code is secure.\n\nThe proposed protocol was implemented on JCOP20 and JCOP30\nJava cards using IBM's JCOP development tool.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Trading-Off Type-Inference Memory Complexity Against Communication” by Konstantin Hyppönen, David Naccache, Elena Trichina, Alexei Tchoulkine, Cryptology ePrint Archive, Paper 2003/140, https://eprint.iacr.org/2003/140. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2003-07-20T19:48:13Z",
    "updated": "2003-07-20T19:48:13Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2003/140.pdf",
    "sha256": "e6c65d9027cffc9b3a67bf82d2fe25ec819b1c9ab4858899e4c223ca331721be",
    "size": 231439,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:04:03Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2003/140/versions/20190225T160403Z.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2003/140.pdf",
      "size": 231439,
      "sha256": "e6c65d9027cffc9b3a67bf82d2fe25ec819b1c9ab4858899e4c223ca331721be",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260404151846id_/https://eprint.iacr.org/2003/140.pdf",
      "captured_at": "2026-04-04T15:18:46Z",
      "size": 202112
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2003/140.pdf",
      "captured_at": "2019-02-25T16:04:03Z",
      "size": 231439
    }
  ],
  "bibtex": "@misc{cryptoeprint:2003/140,\n      author = {Konstantin Hyppönen and David Naccache and Elena Trichina and Alexei Tchoulkine},\n      title = {Trading-Off Type-Inference Memory Complexity Against Communication},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2003/140},\n      year = {2003},\n      url = {https://eprint.iacr.org/2003/140}\n}"
}
