)]}'
{
  "commit": "86080c336fc9a71d600abc67ba3185390e005061",
  "tree": "b9da3986c21bbeff2203682a9d4e2adbe9511dfc",
  "parents": [
    "8107e92a1aa71cee717450c25dace2a32233a917"
  ],
  "author": {
    "name": "Brian Smith",
    "email": "brian@briansmith.org",
    "time": "Fri Mar 25 12:23:16 2016 -1000"
  },
  "committer": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Wed May 04 22:58:17 2016 +0000"
  },
  "message": "Verify RSA private key operation regardless of whether CRT is used.\n\nPreviously, the verification was only done when using the CRT method,\nas the CRT method has been shown to be extremely sensitive to fault\nattacks. However, there\u0027s no reason to avoid doing the verification\nwhen the non-CRT method is used (performance-sensitive applications\nshould always be using the CRT-capable keys).\n\nPreviously, when we detected a fault (attack) through this verification,\nlibcrypto would fall back to the non-CRT method and assume that the\nnon-CRT method would give a correct result, despite having just\ndetecting corruption that is likely from an attack. Instead, just give\nup, like NSS does.\n\nPreviously, the code tried to handle the case where the input was not\nreduced mod rsa-\u003en. This is (was) not possible, so avoid trying to\nhandle that. This simplifies the equality check and lets us use\n|CRYPTO_memcmp|.\n\nChange-Id: I78d1e55520a1c8c280cae2b7256e12ff6290507d\nReviewed-on: https://boringssl-review.googlesource.com/7582\nReviewed-by: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fce72339f0d8b8fa162661ad7a800e13789d6f16",
      "old_mode": 33188,
      "old_path": "crypto/bn/cmp.c",
      "new_id": "121c894cdd09fc22c812c895545a40c79f0fa3e0",
      "new_mode": 33188,
      "new_path": "crypto/bn/cmp.c"
    },
    {
      "type": "modify",
      "old_id": "3e30d898077deac90815c7d4e91ebfdd06b32ceb",
      "old_mode": 33188,
      "old_path": "crypto/rsa/rsa_impl.c",
      "new_id": "a976eec72befb668c2f47ad2dfe06d95987afffe",
      "new_mode": 33188,
      "new_path": "crypto/rsa/rsa_impl.c"
    },
    {
      "type": "modify",
      "old_id": "1dea3c5d435c91783104b1fc3adca06bb13356d2",
      "old_mode": 33188,
      "old_path": "include/openssl/bn.h",
      "new_id": "c66f88762c97009fa4159bbc7a8d4242e2d7ab35",
      "new_mode": 33188,
      "new_path": "include/openssl/bn.h"
    }
  ]
}
