crypto: bcm - Use GCM IV size constant
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Herbert Xu

vecāks
219d51c759
revīzija
a59851d2f2
@@ -23,6 +23,7 @@
|
||||
#include <crypto/aes.h>
|
||||
#include <crypto/internal/hash.h>
|
||||
#include <crypto/aead.h>
|
||||
#include <crypto/gcm.h>
|
||||
#include <crypto/sha.h>
|
||||
#include <crypto/sha3.h>
|
||||
|
||||
@@ -39,8 +40,6 @@
|
||||
#define ARC4_STATE_SIZE 4
|
||||
|
||||
#define CCM_AES_IV_SIZE 16
|
||||
#define GCM_AES_IV_SIZE 12
|
||||
#define GCM_ESP_IV_SIZE 8
|
||||
#define CCM_ESP_IV_SIZE 8
|
||||
#define RFC4543_ICV_SIZE 16
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user