)]}'
{
  "commit": "89cfb681a45fefb68ce63ea240c88a6e2ad81728",
  "tree": "bbe23b0c0c9fae690b826083af42e561283caaca",
  "parents": [
    "1135b796609a7713916d8b1e26bbd2312bd9404d"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Fri Sep 18 13:51:49 2026 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Fri Sep 18 15:01:14 2026 +0100"
  },
  "message": "[tls] Add a standalone TLS data structure parser\n\niPXE originally supported only TLS version 1.0, which uses mostly\nfixed-size data structures and required only a few mostly simple\nbounds checks.\n\nOver the years, the amount of open-coded parsing and bounds checking\ncode has grown gradually to the point that it comprises a substantial\nportion of the overall TLS implementation.  This makes the code\ndifficult to read, and requires careful review to ensure that all of\nthe different parsing and bounds checking code is correct.\n\nDefine an abstraction for decomposing the component parts of a TLS\ndata structure into a descriptor structure comprising a sequence of\nfield data pointers and lengths, along with an efficient binary\nencoding that can describe the mapping between the decomposition and\nthe raw data structure.\n\nProvide a generic parser that can interpret the binary-encoded mapping\nand populate the descriptor structure, along with mappings for every\ndata structure currently interpreted by the TLS protocol engine.\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3793ba96333da64294cd3ba0be8a9a07d9257d4e",
      "new_mode": 33188,
      "new_path": "src/crypto/tlsfmt.c"
    },
    {
      "type": "modify",
      "old_id": "31175d33c92b4639eb969f32350f36967feeb17d",
      "old_mode": 33188,
      "old_path": "src/include/ipxe/errfile.h",
      "new_id": "18367f464758201fabe07de80904d847c86fb788",
      "new_mode": 33188,
      "new_path": "src/include/ipxe/errfile.h"
    },
    {
      "type": "modify",
      "old_id": "930deaef63bbd4b94773103d1305c5b489265baf",
      "old_mode": 33188,
      "old_path": "src/include/ipxe/tls.h",
      "new_id": "5b2fdf09531b7ca836a0e60f4186a416d12e22af",
      "new_mode": 33188,
      "new_path": "src/include/ipxe/tls.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c8e32ab547994f33445d293bfbcaf13ef20a99e2",
      "new_mode": 33188,
      "new_path": "src/include/ipxe/tlsfmt.h"
    },
    {
      "type": "modify",
      "old_id": "8a048e54e85b194c90c0ab6b618ad0469134a2bb",
      "old_mode": 33188,
      "old_path": "src/tests/tests.c",
      "new_id": "11c37151bd9517086a99f73c0f1adc16604dd7bb",
      "new_mode": 33188,
      "new_path": "src/tests/tests.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "65556d51765f3261150c55ec1b215734e6933d25",
      "new_mode": 33188,
      "new_path": "src/tests/tlsfmt_test.c"
    }
  ]
}
