From bdadc24c3c163f54c37b8324eba4bcd3d99a8a4b Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 14 Aug 2020 10:27:46 +0100 Subject: [PATCH] Use official name for 'Armv8 Cryptography Extensions' Signed-off-by: Hanno Becker --- include/mbedtls/config.h | 2 +- library/armv8ce_aes.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 264c449cb..07f16f70a 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -2161,7 +2161,7 @@ * * Requires: MBEDTLS_HAVE_ASM * - * This module utilizes ARMv8 Crypto Extensions for AES and GCM + * This module adds support for Armv8 Cryptography Extensions for AES and GCM. */ //#define MBEDTLS_ARMV8CE_AES_C diff --git a/library/armv8ce_aes.c b/library/armv8ce_aes.c index de04d1b64..df686b455 100644 --- a/library/armv8ce_aes.c +++ b/library/armv8ce_aes.c @@ -35,7 +35,7 @@ #endif /* - * [ARMv8 Crypto Extensions] AES-ECB block en(de)cryption + * [Armv8 Cryptography Extensions] AES-ECB block en(de)cryption */ #if defined(MBEDTLS_AES_C) @@ -90,7 +90,7 @@ int mbedtls_armv8ce_aes_crypt_ecb( mbedtls_aes_context *ctx, /* - * [ARMv8 Crypto Extensions] Multiply in GF(2^128) for GCM + * [Armv8 Cryptography Extensions] Multiply in GF(2^128) for GCM */ #if defined(MBEDTLS_GCM_C) @@ -140,4 +140,3 @@ void mbedtls_armv8ce_gcm_mult( unsigned char c[16], #endif /* MBEDTLS_GCM_C */ #endif /* MBEDTLS_ARMV8CE_AES_C */ -