Home
last modified time | relevance | path

Searched refs:IsWeakKey (Results 1 – 25 of 38) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DES/
H A DDesTests.cs33 Assert.True(DES.IsWeakKey(KnownWeakKey)); in DesKeysValidation()
34 Assert.False(DES.IsWeakKey(KnownGoodKey)); in DesKeysValidation()
35 Assert.Throws<CryptographicException>(() => DES.IsWeakKey(null)); in DesKeysValidation()
36 Assert.Throws<CryptographicException>(() => DES.IsWeakKey(KnownShortKey)); in DesKeysValidation()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/
H A DTripleDES.cs38 while (IsWeakKey(key))
54 if (IsWeakKey(value))
61 public static bool IsWeakKey(byte[] rgbKey) in IsWeakKey() method in System.Security.Cryptography.TripleDES
H A DDES.cs37 while (IsWeakKey(key) || IsSemiWeakKey(key))
52 if (IsWeakKey(value))
62 public static bool IsWeakKey(byte[] rgbKey) in IsWeakKey() method in System.Security.Cryptography.DES
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/security/cryptography/
H A Dtripledes.cs48 } while (IsWeakKey(KeyValue));
58 if (IsWeakKey(value)) {
82 public static bool IsWeakKey(byte[] rgbKey) { in IsWeakKey() method in System.Security.Cryptography.TripleDES
H A Ddes.cs49 } while (IsWeakKey(KeyValue) || IsSemiWeakKey(KeyValue));
59 if (IsWeakKey(value)) {
86 public static bool IsWeakKey(byte[] rgbKey) { in IsWeakKey() method in System.Security.Cryptography.DES
H A Dtripledescryptoserviceprovider.cs34 if (IsWeakKey(rgbKey)) in CreateEncryptor()
45 if (IsWeakKey(rgbKey)) in CreateDecryptor()
58 while (TripleDES.IsWeakKey(KeyValue)) { in GenerateKey()
H A Ddescryptoserviceprovider.cs34 if (IsWeakKey(rgbKey)) in CreateEncryptor()
47 if (IsWeakKey(rgbKey)) in CreateDecryptor()
63 while (DES.IsWeakKey(KeyValue) || DES.IsSemiWeakKey(KeyValue)) { in GenerateKey()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/
H A DDesImplementation.cs48 while (IsWeakKey(key) || IsSemiWeakKey(key)) in GenerateKey()
66 if (IsWeakKey(rgbKey)) in CreateTransform()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Cng/src/System/Security/Cryptography/
H A DTripleDESCng.cs105 bool ICngSymmetricAlgorithm.IsWeakKey(byte[] key) in ICngSymmetricAlgorithm.IsWeakKey()
107 return TripleDES.IsWeakKey(key); in ICngSymmetricAlgorithm.IsWeakKey()
H A DAesCng.cs104 bool ICngSymmetricAlgorithm.IsWeakKey(byte[] key) in ICngSymmetricAlgorithm.IsWeakKey()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Csp/src/System/Security/Cryptography/
H A DDESCryptoServiceProvider.Windows.cs28 while (IsWeakKey(key) || IsSemiWeakKey(key)) in GenerateKey()
78 if (IsWeakKey(rgbKey)) in CreateTransform()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Security.Cryptography/
H A DTripleDESCryptoServiceProvider.cs61 if (TripleDES.IsWeakKey (key)) { in TripleDESTransform()
112 while (TripleDES.IsWeakKey (key)) in GetStrongKey()
H A DDESCryptoServiceProvider.cs428 if (DES.IsWeakKey (key) || DES.IsSemiWeakKey (key)) { in DESTransform()
654 while (DES.IsWeakKey (key) || DES.IsSemiWeakKey (key)) in GetStrongKey()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/
H A DDESTest.cs1076 Assert.IsTrue (DES.IsWeakKey (key), i.ToString ()); in WeakKeys()
1085 DES.IsWeakKey (key); in IsWeakKey_WrongKeyLength()
1092 DES.IsWeakKey (null); in IsWeakKey_Null()
H A DTripleDESTest.cs134 TripleDES.IsWeakKey (null); in IsSemiWeakKey_Null()
H A DDESCryptoServiceProviderTest.cs50 Assert.IsFalse (DES.IsWeakKey (key), "IsWeakKey"); in KeyChecks()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Cng/src/Internal/Cryptography/
H A DICngSymmetricAlgorithm.cs30 bool IsWeakKey(byte[] key); in IsWeakKey() method
H A DCngSymmetricAlgorithmCore.cs144 if (_outer.IsWeakKey(key)) in CreateCryptoTransform()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/tests/
H A DTripleDesTests.cs33 bool isWeak = TripleDES.IsWeakKey(key); in TripleDesIsWeakPositive()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/cert/
H A Dcert_verify_proc.cc140 bool IsWeakKey(X509Certificate::PublicKeyType type, size_t size_bits) { in IsWeakKey() function
176 if (IsWeakKey(type, size_bits)) in ExaminePublicKeys()
191 if (!weak_key && IsWeakKey(type, size_bits)) in ExaminePublicKeys()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cert/
H A Dcert_verify_proc.cc137 bool IsWeakKey(X509Certificate::PublicKeyType type, size_t size_bits) { in IsWeakKey() function
173 if (IsWeakKey(type, size_bits)) in ExaminePublicKeys()
188 if (!weak_key && IsWeakKey(type, size_bits)) in ExaminePublicKeys()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/
H A DCryptoHelper.cs236 } while ( TripleDES.IsWeakKey( key ) ); in GenerateDESKey()
269 } while ( TripleDES.IsWeakKey( key ) ); in GenerateDESKey()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/ref/
H A DSystem.Security.Cryptography.Algorithms.cs95 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.DES
620 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.TripleDES
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v2.0/
H A Dmscorlib.cs17222 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.DES
17902 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.TripleDES
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/v4.0/
H A Dmscorlib.cs18630 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.DES
19315 public static bool IsWeakKey(byte[] rgbKey) { throw null; } in IsWeakKey() method in System.Security.Cryptography.TripleDES

12