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/AsconEngine.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/crypto/src/crypto/engines/AsconEngine.cs b/crypto/src/crypto/engines/AsconEngine.cs
index 4bda8a02a..fc38764d1 100644
--- a/crypto/src/crypto/engines/AsconEngine.cs
+++ b/crypto/src/crypto/engines/AsconEngine.cs
@@ -99,15 +99,9 @@ namespace Org.BouncyCastle.Crypto.Engines
             m_buf = new byte[m_bufferSizeDecrypt];
         }
 
-        public int GetKeyBytesSize()
-        {
-            return CRYPTO_KEYBYTES;
-        }
+        public int GetKeyBytesSize() => CRYPTO_KEYBYTES;
 
-        public int GetIVBytesSize()
-        {
-            return CRYPTO_ABYTES;
-        }
+        public int GetIVBytesSize() => CRYPTO_ABYTES;
 
         public string AlgorithmName => algorithmName;
 
@@ -1060,6 +1054,9 @@ namespace Org.BouncyCastle.Crypto.Engines
             }
         }
 
+#if NETSTANDARD1_0_OR_GREATER || NETCOREAPP1_0_OR_GREATER
+        [MethodImpl(MethodImplOptions.AggressiveInlining)]
+#endif
         private static ulong PAD(int i)
         {
             return 0x8000000000000000UL >> (i << 3);