diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-13 20:46:25 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-14 12:58:15 +0800 |
commit | 2ca33da1dea3ba53d1425226a6bac073c5e8568c (patch) | |
tree | bb231d9ecdd0c669f6b761fdb501e03621a2d9ae /include/crypto/algapi.h | |
parent | 6b1679f4a006acb5d76f8df686aa44c63d2555b4 (diff) | |
download | lwn-2ca33da1dea3ba53d1425226a6bac073c5e8568c.tar.gz lwn-2ca33da1dea3ba53d1425226a6bac073c5e8568c.zip |
crypto: api - Remove frontend argument from extsize/init_tfm
As the extsize and init_tfm functions belong to the frontend the
frontend argument is superfluous.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r-- | include/crypto/algapi.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 1d15a926041e..7635fde7b1a2 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h @@ -22,11 +22,9 @@ struct seq_file; struct crypto_type { unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); - unsigned int (*extsize)(struct crypto_alg *alg, - const struct crypto_type *frontend); + unsigned int (*extsize)(struct crypto_alg *alg); int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); - int (*init_tfm)(struct crypto_tfm *tfm, - const struct crypto_type *frontend); + int (*init_tfm)(struct crypto_tfm *tfm); void (*show)(struct seq_file *m, struct crypto_alg *alg); struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask); |