summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-08-09 10:58:50 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-08-09 10:58:50 +0700
commit4bc5f103e6d19c1cf9afa442f8bb3910830fc86a (patch)
treedcd0c86795bdb492ba76e9457d8e4a94e5ac97ee
parentRemove unnecessary constraint (diff)
downloadBouncyCastle.NET-ed25519-4bc5f103e6d19c1cf9afa442f8bb3910830fc86a.tar.xz
Add note for future Arm implementation
-rw-r--r--crypto/src/crypto/modes/gcm/GcmUtilities.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/crypto/modes/gcm/GcmUtilities.cs b/crypto/src/crypto/modes/gcm/GcmUtilities.cs
index 4528e172a..676d74107 100644
--- a/crypto/src/crypto/modes/gcm/GcmUtilities.cs
+++ b/crypto/src/crypto/modes/gcm/GcmUtilities.cs
@@ -45,6 +45,7 @@ namespace Org.BouncyCastle.Crypto.Modes.Gcm
             if (Ssse3.IsSupported && BitConverter.IsLittleEndian && Unsafe.SizeOf<Vector128<byte>>() == 16)
             {
                 var X = Vector128.Create(x0, x1).AsByte();
+                // TODO[Arm] System.Runtime.Intrinsics.Arm.AdvSimd.Reverse8
                 var Z = Ssse3.Shuffle(X, EndianMask);
                 Unsafe.WriteUnaligned(ref z[0], Z);
                 return;