Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef780324 authored by Corentin LABBE's avatar Corentin LABBE Committed by Herbert Xu
Browse files

crypto: gcm - add GCM IV size constant



Many GCM users use directly GCM IV size instead of using some constant.

This patch add all IV size constant used by GCM.

Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e4727066
Loading
Loading
Loading
Loading

include/crypto/gcm.h

0 → 100644
+8 −0
Original line number Original line Diff line number Diff line
#ifndef _CRYPTO_GCM_H
#define _CRYPTO_GCM_H

#define GCM_AES_IV_SIZE 12
#define GCM_RFC4106_IV_SIZE 8
#define GCM_RFC4543_IV_SIZE 8

#endif