summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/engines/AesX86Engine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/crypto/engines/AesX86Engine.cs b/crypto/src/crypto/engines/AesX86Engine.cs
index 6d856a765..a7dcfc686 100644
--- a/crypto/src/crypto/engines/AesX86Engine.cs
+++ b/crypto/src/crypto/engines/AesX86Engine.cs
@@ -332,7 +332,7 @@ namespace Org.BouncyCastle.Crypto.Engines
         private static Vector128<byte> Load128(Span<byte> t)
         {
 #if NET7_0_OR_GREATER
-            return Vector128.Create(t);
+            return Vector128.Create<byte>(t);
 #else
             if (BitConverter.IsLittleEndian && Unsafe.SizeOf<Vector128<byte>>() == 16)
                 return Unsafe.ReadUnaligned<Vector128<byte>>(ref t[0]);
@@ -346,7 +346,7 @@ namespace Org.BouncyCastle.Crypto.Engines
         private static Vector64<byte> Load64(Span<byte> t)
         {
 #if NET7_0_OR_GREATER
-            return Vector64.Create(t);
+            return Vector64.Create<byte>(t);
 #else
             if (BitConverter.IsLittleEndian && Unsafe.SizeOf<Vector64<byte>>() == 8)
                 return Unsafe.ReadUnaligned<Vector64<byte>>(ref t[0]);