diff --git a/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptChainingModes.cs b/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptChainingModes.cs deleted file mode 100644 index 4a5b7df46c67d..0000000000000 --- a/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptChainingModes.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class BCrypt - { - internal const string BCRYPT_CHAIN_MODE_CBC = "ChainingModeCBC"; - internal const string BCRYPT_CHAIN_MODE_ECB = "ChainingModeECB"; - internal const string BCRYPT_CHAIN_MODE_CFB = "ChainingModeCFB"; - } -} diff --git a/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptKeyDataBlob.cs b/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptKeyDataBlob.cs deleted file mode 100644 index 10b6b905ee62a..0000000000000 --- a/src/libraries/Common/src/Interop/Windows/BCrypt/Interop.BCryptKeyDataBlob.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System; -using System.Diagnostics; -using System.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class BCrypt - { - internal const int BCRYPT_KEY_DATA_BLOB_MAGIC = 0x4d42444b; // 'KDBM' - internal const int BCRYPT_KEY_DATA_BLOB_VERSION1 = 1; - } -} diff --git a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptAlgorithms.cs b/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptAlgorithms.cs deleted file mode 100644 index 22ca92d254c5d..0000000000000 --- a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptAlgorithms.cs +++ /dev/null @@ -1,13 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System; - -internal static partial class Interop -{ - internal static partial class NCrypt - { - internal const string NCRYPT_3DES_ALGORITHM = "3DES"; - internal const string NCRYPT_AES_ALGORITHM = "AES"; - } -} diff --git a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptCipherKeyBlob.cs b/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptCipherKeyBlob.cs deleted file mode 100644 index 68c1561bae603..0000000000000 --- a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptCipherKeyBlob.cs +++ /dev/null @@ -1,13 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System; - -internal static partial class Interop -{ - internal static partial class NCrypt - { - internal const string NCRYPT_CIPHER_KEY_BLOB = "CipherKeyBlob"; - internal const int NCRYPT_CIPHER_KEY_BLOB_MAGIC = 0x52485043; //'CPHR' - } -} diff --git a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptPropertyNames.cs b/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptPropertyNames.cs deleted file mode 100644 index 1c20f73651307..0000000000000 --- a/src/libraries/Common/src/Interop/Windows/NCrypt/Interop.NCryptPropertyNames.cs +++ /dev/null @@ -1,13 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System; - -internal static partial class Interop -{ - internal static partial class NCrypt - { - internal const string NCRYPT_CHAINING_MODE_PROPERTY = "Chaining Mode"; - internal const string NCRYPT_INITIALIZATION_VECTOR = "IV"; - } -} diff --git a/src/libraries/Common/src/System/Security/Cryptography/ECDiffieHellmanSecurityTransforms.macOS.cs b/src/libraries/Common/src/System/Security/Cryptography/ECDiffieHellmanSecurityTransforms.macOS.cs deleted file mode 100644 index ae92c6b48f6e2..0000000000000 --- a/src/libraries/Common/src/System/Security/Cryptography/ECDiffieHellmanSecurityTransforms.macOS.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Diagnostics; -using System.Security.Cryptography.Apple; - -namespace System.Security.Cryptography -{ - internal static partial class ECDiffieHellmanImplementation - { - public sealed partial class ECDiffieHellmanSecurityTransforms : ECDiffieHellman - { - public override void ImportSubjectPublicKeyInfo( - ReadOnlySpan source, - out int bytesRead) - { - KeySizeValue = _ecc.ImportSubjectPublicKeyInfo(source, out bytesRead); - } - } - } -}