)]}'
{
  "commit": "67412f0e78dfbbbcb36e631d9df70c6c559d60d4",
  "tree": "92975160306147eeee8ecd09b0fa13f6ab5dd6ef",
  "parents": [
    "c0a18111e571138747a98af18b3a2124df56a0d1"
  ],
  "author": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Tue May 06 20:46:49 2008 +0800"
  },
  "committer": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Wed May 07 21:08:56 2008 +0800"
  },
  "message": "[CRYPTO] hmac: Avoid calling virt_to_page on key\n\nWhen HMAC gets a key longer than the block size of the hash, it needs\nto feed it as input to the hash to reduce it to a fixed length.  As\nit is HMAC converts the key to a scatter and gather list.  However,\nthis doesn\u0027t work on certain platforms if the key is not allocated\nvia kmalloc.  For example, the keys from tcrypt are stored in the\nrodata section and this causes it to fail with HMAC on x86-64.\n\nThis patch fixes this by copying the key to memory obtained via\nkmalloc before hashing it.\n\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b60c3c7aa320ba08548c050f4fc05d231321de61",
      "old_mode": 33188,
      "old_path": "crypto/hmac.c",
      "new_id": "14c6351e639d9484aa093fac191c7919a99127b4",
      "new_mode": 33188,
      "new_path": "crypto/hmac.c"
    }
  ]
}
