aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/aes.c')
-rw-r--r--src/crypto/aes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crypto/aes.c b/src/crypto/aes.c
index 4a7668b6b..aeeaa1d2c 100644
--- a/src/crypto/aes.c
+++ b/src/crypto/aes.c
@@ -38,6 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/crypto.h>
#include <ipxe/ecb.h>
#include <ipxe/cbc.h>
+#include <ipxe/gcm.h>
#include <ipxe/aes.h>
/** AES strides
@@ -798,3 +799,7 @@ ECB_CIPHER ( aes_ecb, aes_ecb_algorithm,
/* AES in Cipher Block Chaining mode */
CBC_CIPHER ( aes_cbc, aes_cbc_algorithm,
aes_algorithm, struct aes_context, AES_BLOCKSIZE );
+
+/* AES in Galois/Counter mode */
+GCM_CIPHER ( aes_gcm, aes_gcm_algorithm,
+ aes_algorithm, struct aes_context, AES_BLOCKSIZE );