diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-11-25 23:48:28 +0600 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-11-27 21:22:18 +0800 |
commit | c012a79d0ce95bd8488a5a44cd8c00c275774518 (patch) | |
tree | 6ac2345732134439404f39fdcc28e0cd6355930c /drivers/char/hw_random | |
parent | 433cd2c617bfbac27a02e40fbcce1713c84ce441 (diff) | |
download | lwn-c012a79d0ce95bd8488a5a44cd8c00c275774518.tar.gz lwn-c012a79d0ce95bd8488a5a44cd8c00c275774518.zip |
crypto: cryptod - use crypto_skcipher_type() for getting skcipher type
The <linux/crypto.h> provides inline function - crypto_skcipher_type().
Let's use it in the cryptd_alloc_ablkcipher() instead of direct calculation.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
0 files changed, 0 insertions, 0 deletions