Skip to content
Commit 057a3016 authored by Eric Biggers's avatar Eric Biggers Committed by Leon Romanovsky
Browse files

RDMA/irdma: Use crypto_shash_digest() in irdma_ieq_check_mpacrc()



Simplify irdma_ieq_check_mpacrc() by using crypto_shash_digest() instead
of an init+update+final sequence.  This should also improve performance.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20231029045756.153943-1-ebiggers@kernel.org


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 9aac6c05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment