forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/drivers/crypto/marvell/cesa/cipher.c
....@@ -287,7 +287,7 @@
287287 static int mv_cesa_des3_ede_setkey(struct crypto_skcipher *cipher,
288288 const u8 *key, unsigned int len)
289289 {
290
- struct mv_cesa_des_ctx *ctx = crypto_skcipher_ctx(cipher);
290
+ struct mv_cesa_des3_ctx *ctx = crypto_skcipher_ctx(cipher);
291291 int err;
292292
293293 err = verify_skcipher_des3_key(cipher, key);