crypto/vmac: don't cast away const-ness in aes_key_setup()

vmac_set_key() passes in a pointer-to-const, which has const-ness removed
despite rijndaelKeySetupEnc() properly taking pointer-to-const.

No functional change.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
This commit is contained in:
Jan Beulich committed 2026-09-22 09:13:47 +02:00
1 parent 40ad6282e2
commit 25055cde91
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ typedef u32 aes_int_key[4*(VMAC_KEY_LEN/32+7)];
(u8 *)(in), (u8 *)(out))
#define aes_key_setup(user_key,int_key) \
rijndaelKeySetupEnc((u32 *)(int_key), \
(u8 *)(user_key), \
(const u8 *)(user_key), \
VMAC_KEY_LEN)
#endif
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.