]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/caam/key_gen.h
crypto: caam - consolidate split key length computation
[karo-tx-linux.git] / drivers / crypto / caam / key_gen.h
index e87483c6057ba8da2c958fef725ae60708875d8a..4628f389eb64d51b88e1dda24b0c42ea90018f9b 100644 (file)
@@ -13,4 +13,5 @@ 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);
+                 struct alginfo * const adata, const u8 *key_in, u32 keylen,
+                 int max_keylen);