)]}'
{
  "commit": "378f4f51f9fdd8df80ea875320e2bf1d7c6e6e77",
  "tree": "f38f23fa09ec7971546a0a3aa42a79cc055c455f",
  "parents": [
    "84c911523020a2e39b307a2da26ee1886b7214fe"
  ],
  "author": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Mon Dec 17 20:07:31 2007 +0800"
  },
  "committer": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Fri Jan 11 08:16:42 2008 +1100"
  },
  "message": "[CRYPTO] skcipher: Add crypto_grab_skcipher interface\n\nNote: From now on the collective of ablkcipher/blkcipher/givcipher will\nbe known as skcipher, i.e., symmetric key cipher.  The name blkcipher has\nalways been much of a misnomer since it supports stream ciphers too.\n\nThis patch adds the function crypto_grab_skcipher as a new way of getting\nan ablkcipher spawn.  The problem is that previously we did this in two\nsteps, first getting the algorithm and then calling crypto_init_spawn.\n\nThis meant that each spawn user had to be aware of what type and mask to\nuse for these two steps.  This is difficult and also presents a problem\nwhen the type/mask changes as they\u0027re about to be for IV generators.\n\nThe new interface does both steps together just like crypto_alloc_ablkcipher.\n\nAs a side-effect this also allows us to be stronger on type enforcement\nfor spawns.  For now this is only done for ablkcipher but it\u0027s trivial\nto extend for other types.\n\nThis patch also moves the type/mask logic for skcipher into the helpers\ncrypto_skcipher_type and crypto_skcipher_mask.\n\nFinally this patch introduces the function crypto_require_sync to determine\nwhether the user is specifically requesting a sync algorithm.\n\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2731acb86e7d53755bbfd3d7cdc98926844ca887",
      "old_mode": 33188,
      "old_path": "crypto/ablkcipher.c",
      "new_id": "0083140304d20ab324a00743db06bee06e70ee5b",
      "new_mode": 33188,
      "new_path": "crypto/ablkcipher.c"
    },
    {
      "type": "modify",
      "old_id": "726a765e5ec63995564c627a462f4a49285e86c5",
      "old_mode": 33188,
      "old_path": "include/crypto/algapi.h",
      "new_id": "fda1759ffe2d95e915cdaba3a6298d3b609d0dc6",
      "new_mode": 33188,
      "new_path": "include/crypto/algapi.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "87879e64ff4c1e7129a5989347e4438474f56972",
      "new_mode": 33188,
      "new_path": "include/crypto/internal/skcipher.h"
    },
    {
      "type": "modify",
      "old_id": "ef7642ed3e4240572b2141cb95f43e5d14415cfb",
      "old_mode": 33188,
      "old_path": "include/linux/crypto.h",
      "new_id": "d6962b409489b37bc0152edf0f5e562e6226309b",
      "new_mode": 33188,
      "new_path": "include/linux/crypto.h"
    }
  ]
}
