Thread (4 messages) flat view 4 messages, 3 authors, 2021-12-01

Re: [PATCH] net/tls: Fix authentication failure in CCM mode

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-29 14:13:06
Also in: lkml, stable

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Mon, 29 Nov 2021 17:32:12 +0800 you wrote:
When the TLS cipher suite uses CCM mode, including AES CCM and
SM4 CCM, the first byte of the B0 block is flags, and the real
IV starts from the second byte. The XOR operation of the IV and
rec_seq should be skip this byte, that is, add the iv_offset.

Fixes: f295b3ae9f59 ("net/tls: Add support of AES128-CCM based ciphers")
Signed-off-by: Tianjia Zhang <redacted>
Cc: Vakul Garg <redacted>
Cc: stable@vger.kernel.org # v5.2+

[...]
Here is the summary with links:
  - net/tls: Fix authentication failure in CCM mode
    https://git.kernel.org/netdev/net/c/5961060692f8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help