diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-02-17 20:27:02 -0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-03-03 20:56:36 -0600 |
| commit | 26bc83b88bbbf054f0980a4a42047a8d1e210e4c (patch) | |
| tree | 44acc0de73a5c17e95a83a5727d5c45ce778628d /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 8098179dc981c361c4ff238bc3935329a93bbdfb (diff) | |
smb: client: Compare MACs in constant time
To prevent timing attacks, MAC comparisons need to be constant-time.
Replace the memcmp() with the correct function, crypto_memneq().
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
