)]}'
{
  "commit": "c1e156ae16fa8b61af9b5d2b74e59d3f86e141be",
  "tree": "1845622d517abcab447fea7259abeb46d98c5e73",
  "parents": [
    "a9319d9b0f5d9cfe01ffd00ac926af86485dc981"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Fri Jan 08 18:15:40 2021 -0500"
  },
  "committer": {
    "name": "CQ bot account: commit-bot@chromium.org",
    "email": "commit-bot@chromium.org",
    "time": "Tue Jan 19 23:23:20 2021 +0000"
  },
  "message": "Add DH_compute_key_padded.\n\nOpenSSL has a fixed-width version of DH_compute_key nowadays. Searching\naround callers of DH_compute_key, many of them go back and re-pad the\nsecret anyway. Uses of DH should migrate to modern primitives but, in\nthe meantime, DH_compute_key_padded seems worthwhile for OpenSSL\ncompatibility and giving fixed-width users a function to avoid the\ntiming leak.\n\nBump BORINGSSL_API_VERSION since one of the uses is in wpa_supplicant\nand they like to compile against a wide range of Android revisions.\n\nUpdate-Note: No compatibility impact, but callers that use\nDH_compute_key and then fix up the removed leading zeros can switch to\nthis function. Then they should migrate to something else.\n\nChange-Id: Icf8b2ace3972fa174a0f08ece39710f7599f96f2\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/45004\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c77e7e4f16bc1e6ff9fa96db460fec87d65c1029",
      "old_mode": 33188,
      "old_path": "crypto/dh_extra/dh_test.cc",
      "new_id": "7933a8cc5aff76c3f82d674c0465ed3b6f3838a7",
      "new_mode": 33188,
      "new_path": "crypto/dh_extra/dh_test.cc"
    },
    {
      "type": "modify",
      "old_id": "05acbe23a6710ebdccda931393f766dcaaae4b77",
      "old_mode": 33188,
      "old_path": "crypto/fipsmodule/dh/dh.c",
      "new_id": "0d437eee4c291c11a923697f77f9b88817c1e36a",
      "new_mode": 33188,
      "new_path": "crypto/fipsmodule/dh/dh.c"
    },
    {
      "type": "modify",
      "old_id": "6ecb3d34586a70377bfa40b7005b69febeec1bb5",
      "old_mode": 33188,
      "old_path": "include/openssl/base.h",
      "new_id": "b6783062a61a0d9d98e8408101fdc0182c8402db",
      "new_mode": 33188,
      "new_path": "include/openssl/base.h"
    },
    {
      "type": "modify",
      "old_id": "52d831dbc9a330e14e0ad9cb9ee0e3db4a2838e4",
      "old_mode": 33188,
      "old_path": "include/openssl/dh.h",
      "new_id": "a4e2e715e2684cbdd8aed41cef4cbe67eaa27b50",
      "new_mode": 33188,
      "new_path": "include/openssl/dh.h"
    }
  ]
}
