hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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);