Eric Biggers
aacd5b4cfb
crypto: skcipher - use crypto_grab_cipher() and simplify error paths
...
Make skcipher_alloc_instance_simple() use the new function
crypto_grab_cipher() to initialize its cipher spawn.
This is needed to make all spawns be initialized in a consistent way.
Also simplify the error handling by taking advantage of crypto_drop_*()
now accepting (as a no-op) spawns that haven't been initialized yet, and
by taking advantage of crypto_grab_*() now handling ERR_PTR() names.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-01-09 11:30:56 +08:00
..
2020-01-09 11:30:56 +08:00
2019-05-30 11:26:32 -07:00
2019-12-11 16:37:00 +08:00
2019-08-09 15:11:43 +10:00
2019-05-30 11:26:32 -07:00
2020-01-09 11:30:55 +08:00
2019-06-20 14:18:33 +08:00
2018-10-26 09:30:46 +01:00
2019-05-30 11:26:32 -07:00
2006-12-06 18:38:55 -08:00
2019-11-17 09:02:42 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-09 11:30:53 +08:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-11-17 09:02:44 +08:00
2019-11-17 09:02:39 +08:00
2019-04-18 22:15:04 +08:00
2019-07-26 14:56:07 +10:00
2019-11-17 09:02:43 +08:00
2019-08-22 14:57:33 +10:00
2019-05-30 11:26:32 -07:00
2019-05-23 14:01:06 +08:00
2019-05-30 11:26:32 -07:00
2019-11-17 09:02:49 +08:00
2019-08-09 15:11:41 +10:00
2017-11-03 21:50:43 +08:00
2019-07-27 21:08:38 +10:00
2019-05-30 11:26:32 -07:00
2019-12-11 16:48:39 +08:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2018-11-20 14:26:56 +08:00
2018-09-28 12:46:08 +08:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2019-08-05 18:40:19 -04:00
2019-11-17 09:02:41 +08:00
2019-05-24 17:27:11 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-12-11 16:36:54 +08:00
2019-08-02 14:44:02 +10:00
2018-01-26 01:10:34 +11:00
2019-09-05 14:54:54 +10:00
2019-08-02 14:44:02 +10:00
2019-09-05 14:54:54 +10:00
2019-12-11 16:37:00 +08:00
2019-08-02 14:44:02 +10:00
2017-09-22 17:43:07 +08:00
2018-05-05 14:52:51 +08:00
2019-04-08 14:42:55 +08:00
2020-01-09 11:30:53 +08:00
2020-01-09 11:30:53 +08:00