crypto: caam - remove superfluous alg_op algorithm param

Information carried by alg_op can be deduced from adata->algtype
plus some fixed flags.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Horia Geantă
2016-11-22 15:44:05 +02:00
committed by Herbert Xu
parent db57656b00
commit 488ebc3a41
4 changed files with 13 additions and 81 deletions

View File

@@ -13,5 +13,4 @@ struct split_key_result {
void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
int gen_split_key(struct device *jrdev, u8 *key_out,
struct alginfo * const adata, const u8 *key_in, u32 keylen,
u32 alg_op);
struct alginfo * const adata, const u8 *key_in, u32 keylen);