projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3be9a6
)
[CRYPTO] api: Add missing accessors for new crypto_alg fields
author
Michal Ludvig
<
[email protected]
>
Sat, 8 Jul 2006 23:02:24 +0000
(09:02 +1000)
committer
Herbert Xu
<
[email protected]
>
Thu, 21 Sep 2006 01:40:21 +0000
(11:40 +1000)
Add missing accessors for cra_driver_name and cra_priority.
Signed-off-by: Michal Ludvig <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
include/linux/crypto.h
patch
|
blob
|
history
diff --git
a/include/linux/crypto.h
b/include/linux/crypto.h
index 40a6330abc8d772e10b1bd784e6e54655429f0c4..d6e184c876b502b79ad80c8317a95bee73a00a3f 100644
(file)
--- a/
include/linux/crypto.h
+++ b/
include/linux/crypto.h
@@
-297,6
+297,16
@@
static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm)
return tfm->__crt_alg->cra_name;
}
+static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm)
+{
+ return tfm->__crt_alg->cra_driver_name;
+}
+
+static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm)
+{
+ return tfm->__crt_alg->cra_priority;
+}
+
static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm)
{
return module_name(tfm->__crt_alg->cra_module);