commit | d6ef2f198d4c9d95b77ee4918b97fc8a53c8a7b7 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Mon May 11 17:47:39 2015 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 13 10:31:25 2015 +0800 |
tree | 4926330410a3ab29a0e2802120d4be77d7175b9f | |
parent | 6499e8cfaa8f5d041b20af24d8409dec9f3ac3d0 [diff] |
crypto: api - Add crypto_grab_spawn primitive This patch adds a new primitive crypto_grab_spawn which is meant to replace crypto_init_spawn and crypto_init_spawn2. Under the new scheme the user no longer has to worry about reference counting the alg object before it is subsumed by the spawn. It is pretty much an exact copy of crypto_grab_aead. Prior to calling this function spawn->frontend and spawn->inst must have been set. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>