Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
crypto: skcipher - Fix driver name helper
Browse files Browse the repository at this point in the history
The helper crypto_skcipher_driver_name was returning the alg
name and not the driver name.

Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Feb 6, 2016
1 parent 8bc618d commit 92b3cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crypto/skcipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static inline int crypto_has_skcipher(const char *alg_name, u32 type,
static inline const char *crypto_skcipher_driver_name(
struct crypto_skcipher *tfm)
{
return crypto_tfm_alg_name(crypto_skcipher_tfm(tfm));
return crypto_tfm_alg_driver_name(crypto_skcipher_tfm(tfm));
}

/**
Expand Down

0 comments on commit 92b3cad

Please sign in to comment.