VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/GfMul.c
diff options
context:
space:
mode:
authorRoboSchmied <github@roboschmie.de>2024-04-10 23:50:05 +0200
committerGitHub <noreply@github.com>2024-04-10 23:50:05 +0200
commitc446773823e8b8e8a3dd2cebb30af1e96e2627bd (patch)
treef297390b1fd5bad630c148a57f829025d046b7f2 /src/Common/GfMul.c
parentbd4566fe1fa4891542123315be9d1dd96db2e5b2 (diff)
downloadVeraCrypt-c446773823e8b8e8a3dd2cebb30af1e96e2627bd.tar.gz
VeraCrypt-c446773823e8b8e8a3dd2cebb30af1e96e2627bd.zip
Fix: 7 typos (#1324)
Signed-off-by: RoboSchmied <github@roboschmie.de>
Diffstat (limited to 'src/Common/GfMul.c')
-rw-r--r--src/Common/GfMul.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/GfMul.c b/src/Common/GfMul.c
index 970e6318..db51f499 100644
--- a/src/Common/GfMul.c
+++ b/src/Common/GfMul.c
@@ -287,7 +287,7 @@ static mode(32t) gf_poly64[2] = { 0, 0xd8000000 };
/* This function multiples a field element x, in the polynomial */
/* field representation. It uses 32-bit word operations to gain */
-/* speed but compensates for machine endianess and hence works */
+/* speed but compensates for machine endianness and hence works */
/* correctly on both styles of machine */
in_line void mul_x(mode(32t) x[4])
@@ -333,7 +333,7 @@ in_line void mul_x64(mode(32t) x[2])
}
/* Multiply of a GF128 field element by x^8 using 32-bit words */
-/* for speed - machine endianess matters here */
+/* for speed - machine endianness matters here */
#if (PLATFORM_BYTE_ORDER == BRG_LITTLE_ENDIAN)
@@ -380,7 +380,7 @@ in_line void mul_bex8_64(mode(32t) x[2]) /* mutiply with long words */
#endif
-/* hence choose the correct version for the machine endianess */
+/* hence choose the correct version for the machine endianness */
#if PLATFORM_BYTE_ORDER == BRG_BIG_ENDIAN
#define mul_x8 mul_bex8