mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ah: update maximum truncated ICV length
For SHA256, RFC4868 requires to truncate ICV length to 128 bits, hence MAX_AH_AUTH_LEN should be updated to 16. Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fa6dd8a2c8
commit
e44f391187
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <linux/skbuff.h>
|
||||
|
||||
/* This is the maximum truncated ICV length that we know of. */
|
||||
#define MAX_AH_AUTH_LEN 12
|
||||
#define MAX_AH_AUTH_LEN 16
|
||||
|
||||
struct crypto_ahash;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue