)]}'
{
  "commit": "da8caf5b1029b93d482702759058ac993a39bcc5",
  "tree": "1f630e29971bca75f72102eb76f2b2e732832a57",
  "parents": [
    "20ae5e6f6cc8925dd9185f23e7835cfe85ed5f6e"
  ],
  "author": {
    "name": "Adam Langley",
    "email": "agl@google.com",
    "time": "Fri Oct 18 08:52:38 2019 -0700"
  },
  "committer": {
    "name": "Adam Langley",
    "email": "agl@google.com",
    "time": "Fri Oct 18 20:37:54 2019 +0000"
  },
  "message": "Add sanity checks to FIPS module construction.\n\nIf -ffunction-sections or -fdata-sections is enabled when doing a FIPS\nshared build, the linker script won\u0027t do what\u0027s expected and will\nsilently end up including very little (or nothing) in the integrity\ncheck.\n\nThis changes alters the linker script to discard any text or data\nsections other than the main one, which should make this failure much\nmore obvious.\n\nAlso, add assertions (that are always enabled) in the module to check\nthat a few obvious things that should be inside the module boundaries\nactually are.\n\nChange-Id: I91178e213a28a7c0c4a38155974e452cd9d558d1\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/38324\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f3f66f4b2744ffbc0cb5752268db2f5d86a20102",
      "old_mode": 33188,
      "old_path": "crypto/fipsmodule/bcm.c",
      "new_id": "91b91701f7635d52b9fe20df19a9e7777078ad09",
      "new_mode": 33188,
      "new_path": "crypto/fipsmodule/bcm.c"
    },
    {
      "type": "modify",
      "old_id": "6d44abc4cf620e4352bf243d8c78e9736bb4cc91",
      "old_mode": 33188,
      "old_path": "crypto/fipsmodule/fips_shared.lds",
      "new_id": "c3db1013bd17f4c250dbb64fef7fc08b51e8c39d",
      "new_mode": 33188,
      "new_path": "crypto/fipsmodule/fips_shared.lds"
    },
    {
      "type": "modify",
      "old_id": "a43b42861b45abb9937af134a091ec33ad1559f9",
      "old_mode": 33188,
      "old_path": "util/fipstools/delocate/delocate.go",
      "new_id": "92b4c31d8bd815fa32b6356f112ebc520efad66f",
      "new_mode": 33188,
      "new_path": "util/fipstools/delocate/delocate.go"
    },
    {
      "type": "modify",
      "old_id": "ccbc0bf3a584dac1b62421840052a35bd7641784",
      "old_mode": 33188,
      "old_path": "util/fipstools/delocate/testdata/x86_64-GOTRewrite/in.s",
      "new_id": "398032f846c45274d0e14468df77a79790453cbc",
      "new_mode": 33188,
      "new_path": "util/fipstools/delocate/testdata/x86_64-GOTRewrite/in.s"
    },
    {
      "type": "modify",
      "old_id": "273cfe940e6703a0dcdf42a8711f87c1e8f86b74",
      "old_mode": 33188,
      "old_path": "util/fipstools/delocate/testdata/x86_64-GOTRewrite/out.s",
      "new_id": "e14a71e60fab3765f8d5d545b1d81e9c176981fe",
      "new_mode": 33188,
      "new_path": "util/fipstools/delocate/testdata/x86_64-GOTRewrite/out.s"
    }
  ]
}
