Skip to content
Commit 15a8b93f authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Anna Schumaker
Browse files

sunrpc: use constant time memory comparison for mac



Otherwise, we enable a MAC forgery via timing attack.

Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Jeff Layton <jlayton@poochiereds.net>
Cc: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: linux-nfs@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 1ee48bdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment