Home
last modified time | relevance | path

Searched refs:AlgorithmName (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/Security/Cryptography/
H A DCngAlgorithm.cs109 s_rsa = new CngAlgorithm(BCryptNative.AlgorithmName.Rsa);
120 s_ecdh = new CngAlgorithm(BCryptNative.AlgorithmName.ECDH);
132 s_ecdhp256 = new CngAlgorithm(BCryptNative.AlgorithmName.ECDHP256);
144 s_ecdhp384 = new CngAlgorithm(BCryptNative.AlgorithmName.ECDHP384);
156 s_ecdhp521 = new CngAlgorithm(BCryptNative.AlgorithmName.ECDHP521);
168 s_ecdsa = new CngAlgorithm(BCryptNative.AlgorithmName.ECDsa);
216 s_md5 = new CngAlgorithm(BCryptNative.AlgorithmName.MD5);
228 s_sha1 = new CngAlgorithm(BCryptNative.AlgorithmName.Sha1);
240 s_sha256 = new CngAlgorithm(BCryptNative.AlgorithmName.Sha256);
252 s_sha384 = new CngAlgorithm(BCryptNative.AlgorithmName.Sha384);
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Security/Cryptography/
H A DECDsaCng.cs98 return (algorithm == AlgorithmName.ECDH || in IsECNamedCurve()
99 algorithm == AlgorithmName.ECDsa); in IsECNamedCurve()
107 if (algorithm == AlgorithmName.ECDHP256 || in SpecialNistAlgorithmToCurveName()
108 algorithm == AlgorithmName.ECDsaP256) in SpecialNistAlgorithmToCurveName()
113 if (algorithm == AlgorithmName.ECDHP384 || in SpecialNistAlgorithmToCurveName()
114 algorithm == AlgorithmName.ECDsaP384) in SpecialNistAlgorithmToCurveName()
119 if (algorithm == AlgorithmName.ECDHP521 || in SpecialNistAlgorithmToCurveName()
120 algorithm == AlgorithmName.ECDsaP521) in SpecialNistAlgorithmToCurveName()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cryptopp/
H A Dauthenc.cpp65 throw BadState(AlgorithmName(), "Resynchronize", "key is set"); in Resynchronize()
84 throw BadState(AlgorithmName(), "Update", "setting key and IV"); in Update()
108 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum"); in ProcessData()
115 throw BadState(AlgorithmName(), "ProcessData", "setting key and IV"); in ProcessData()
117 throw BadState(AlgorithmName(), "ProcessData was called after footer input has started"); in ProcessData()
139 …throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) +… in TruncatedFinal()
144 …throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input aft… in TruncatedFinal()
146 …throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) +… in TruncatedFinal()
153 throw BadState(AlgorithmName(), "TruncatedFinal", "setting key and IV"); in TruncatedFinal()
H A Dccm.cpp18 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16"); in NAMESPACE_BEGIN()
22 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16"); in NAMESPACE_BEGIN()
54 throw BadState(AlgorithmName(), "SpecifyDataLengths", "or after State_IVSet"); in UncheckedSpecifyDataLengths()
106 …throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLe… in AuthenticateLastHeaderBlock()
122 …throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataL… in AuthenticateLastConfidentialBlock()
H A Dcryptlib.cpp116 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidKeyLength()
122 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV"); in ThrowIfResynchronizable()
128 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); in ThrowIfInvalidIV()
138 …throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": IV length " + IntToString(size) + " exce… in ThrowIfInvalidIVLength()
251 throw NotImplemented(AlgorithmName() + ": this object doesn't support a special last block"); in ProcessLastBlock()
367 std::string AlgorithmName() const {return "NullRNG";} in AlgorithmName() function in ClassNullRNG
461 throw NoChannelSupport(AlgorithmName()); in ChannelCreatePutSpace()
469 throw NoChannelSupport(AlgorithmName()); in ChannelPut2()
485 throw NoChannelSupport(AlgorithmName()); in ChannelFlush()
493 throw NoChannelSupport(AlgorithmName()); in ChannelMessageSeriesEnd()
[all …]
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dauthenc.cpp70 throw BadState(AlgorithmName(), "Resynchronize", "key is set"); in Resynchronize()
89 throw BadState(AlgorithmName(), "Update", "setting key and IV"); in Update()
112 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum"); in ProcessData()
120 throw BadState(AlgorithmName(), "ProcessData", "setting key and IV"); in ProcessData()
122 throw BadState(AlgorithmName(), "ProcessData was called after footer input has started"); in ProcessData()
147 …throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) +… in TruncatedFinal()
152 …throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input aft… in TruncatedFinal()
154 …throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) +… in TruncatedFinal()
161 throw BadState(AlgorithmName(), "TruncatedFinal", "setting key and IV"); in TruncatedFinal()
H A Dlsh.h99 std::string AlgorithmName() const { return StaticAlgorithmName(); } in AlgorithmName() function
128 std::string AlgorithmName() const { return StaticAlgorithmName(); } in AlgorithmName() function
199 std::string AlgorithmName() const { return StaticAlgorithmName(); } in AlgorithmName() function
228 std::string AlgorithmName() const { return StaticAlgorithmName(); } in AlgorithmName() function
257 std::string AlgorithmName() const { return StaticAlgorithmName(); } in AlgorithmName() function
H A Dccm.cpp17 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16"); in NAMESPACE_BEGIN()
21 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16"); in NAMESPACE_BEGIN()
53 throw BadState(AlgorithmName(), "SpecifyDataLengths", "or after State_IVSet"); in UncheckedSpecifyDataLengths()
105 …throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLe… in AuthenticateLastHeaderBlock()
121 …throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataL… in AuthenticateLastConfidentialBlock()
H A Dcryptlib.cpp77 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidKeyLength()
83 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV"); in ThrowIfResynchronizable()
89 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); in ThrowIfInvalidIV()
265 std::string AuthenticatedSymmetricCipher::AlgorithmName() const in AlgorithmName() function in AuthenticatedSymmetricCipher
349 throw InvalidDerivedKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidDerivedKeyLength()
365 std::string AlgorithmName() const {return "NullRNG";} in AlgorithmName() function in ClassNullRNG
461 throw NoChannelSupport(AlgorithmName()); in ChannelCreatePutSpace()
471 throw NoChannelSupport(AlgorithmName()); in ChannelPut2()
491 throw NoChannelSupport(AlgorithmName()); in ChannelFlush()
501 throw NoChannelSupport(AlgorithmName()); in ChannelMessageSeriesEnd()
[all …]
H A Dchacha.h72 std::string AlgorithmName() const;
129 std::string AlgorithmName() const;
195 std::string AlgorithmName() const;
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dauthenc.cpp70 throw BadState(AlgorithmName(), "Resynchronize", "key is set"); in Resynchronize()
89 throw BadState(AlgorithmName(), "Update", "setting key and IV"); in Update()
112 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum"); in ProcessData()
120 throw BadState(AlgorithmName(), "ProcessData", "setting key and IV"); in ProcessData()
122 throw BadState(AlgorithmName(), "ProcessData was called after footer input has started"); in ProcessData()
147 …throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) +… in TruncatedFinal()
152 …throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input aft… in TruncatedFinal()
154 …throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) +… in TruncatedFinal()
161 throw BadState(AlgorithmName(), "TruncatedFinal", "setting key and IV"); in TruncatedFinal()
H A Dccm.cpp17 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16"); in NAMESPACE_BEGIN()
21 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16"); in NAMESPACE_BEGIN()
53 throw BadState(AlgorithmName(), "SpecifyDataLengths", "or after State_IVSet"); in UncheckedSpecifyDataLengths()
105 …throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLe… in AuthenticateLastHeaderBlock()
121 …throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataL… in AuthenticateLastConfidentialBlock()
H A Dcryptlib.cpp77 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidKeyLength()
83 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV"); in ThrowIfResynchronizable()
89 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); in ThrowIfInvalidIV()
265 std::string AuthenticatedSymmetricCipher::AlgorithmName() const in AlgorithmName() function in AuthenticatedSymmetricCipher
349 throw InvalidDerivedKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidDerivedKeyLength()
365 std::string AlgorithmName() const {return "NullRNG";} in AlgorithmName() function in ClassNullRNG
461 throw NoChannelSupport(AlgorithmName()); in ChannelCreatePutSpace()
471 throw NoChannelSupport(AlgorithmName()); in ChannelPut2()
491 throw NoChannelSupport(AlgorithmName()); in ChannelFlush()
501 throw NoChannelSupport(AlgorithmName()); in ChannelMessageSeriesEnd()
[all …]
H A Dchacha.h72 std::string AlgorithmName() const;
129 std::string AlgorithmName() const;
195 std::string AlgorithmName() const;
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dauthenc.cpp70 throw BadState(AlgorithmName(), "Resynchronize", "key is set"); in Resynchronize()
89 throw BadState(AlgorithmName(), "Update", "setting key and IV"); in Update()
112 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum"); in ProcessData()
120 throw BadState(AlgorithmName(), "ProcessData", "setting key and IV"); in ProcessData()
122 throw BadState(AlgorithmName(), "ProcessData was called after footer input has started"); in ProcessData()
147 …throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) +… in TruncatedFinal()
152 …throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input aft… in TruncatedFinal()
154 …throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) +… in TruncatedFinal()
161 throw BadState(AlgorithmName(), "TruncatedFinal", "setting key and IV"); in TruncatedFinal()
H A Dccm.cpp17 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16"); in NAMESPACE_BEGIN()
21 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16"); in NAMESPACE_BEGIN()
53 throw BadState(AlgorithmName(), "SpecifyDataLengths", "or after State_IVSet"); in UncheckedSpecifyDataLengths()
105 …throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLe… in AuthenticateLastHeaderBlock()
121 …throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataL… in AuthenticateLastConfidentialBlock()
H A Dcryptlib.cpp77 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidKeyLength()
83 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV"); in ThrowIfResynchronizable()
89 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); in ThrowIfInvalidIV()
265 std::string AuthenticatedSymmetricCipher::AlgorithmName() const in AlgorithmName() function in AuthenticatedSymmetricCipher
349 throw InvalidDerivedKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidDerivedKeyLength()
365 std::string AlgorithmName() const {return "NullRNG";} in AlgorithmName() function in ClassNullRNG
461 throw NoChannelSupport(AlgorithmName()); in ChannelCreatePutSpace()
471 throw NoChannelSupport(AlgorithmName()); in ChannelPut2()
491 throw NoChannelSupport(AlgorithmName()); in ChannelFlush()
501 throw NoChannelSupport(AlgorithmName()); in ChannelMessageSeriesEnd()
[all …]
H A Dchacha.h72 std::string AlgorithmName() const;
129 std::string AlgorithmName() const;
195 std::string AlgorithmName() const;
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dauthenc.cpp70 throw BadState(AlgorithmName(), "Resynchronize", "key is set");
89 throw BadState(AlgorithmName(), "Update", "setting key and IV");
112 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum");
120 throw BadState(AlgorithmName(), "ProcessData", "setting key and IV");
122 throw BadState(AlgorithmName(), "ProcessData was called after footer input has started");
147 …throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) +…
152 …throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input aft…
154 …throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) +…
161 throw BadState(AlgorithmName(), "TruncatedFinal", "setting key and IV");
H A Dccm.cpp17 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16"); in NAMESPACE_BEGIN()
21 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16"); in NAMESPACE_BEGIN()
53 throw BadState(AlgorithmName(), "SpecifyDataLengths", "or after State_IVSet"); in UncheckedSpecifyDataLengths()
105 …throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLe… in AuthenticateLastHeaderBlock()
121 …throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataL… in AuthenticateLastConfidentialBlock()
H A Dcryptlib.cpp77 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidKeyLength()
83 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV"); in ThrowIfResynchronizable()
89 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV"); in ThrowIfInvalidIV()
265 std::string AuthenticatedSymmetricCipher::AlgorithmName() const in AlgorithmName() function in AuthenticatedSymmetricCipher
349 throw InvalidDerivedKeyLength(GetAlgorithm().AlgorithmName(), length); in ThrowIfInvalidDerivedKeyLength()
365 std::string AlgorithmName() const {return "NullRNG";} in AlgorithmName() function in ClassNullRNG
461 throw NoChannelSupport(AlgorithmName()); in ChannelCreatePutSpace()
471 throw NoChannelSupport(AlgorithmName()); in ChannelPut2()
491 throw NoChannelSupport(AlgorithmName()); in ChannelFlush()
501 throw NoChannelSupport(AlgorithmName()); in ChannelMessageSeriesEnd()
[all …]
H A Dchacha.h72 std::string AlgorithmName() const;
129 std::string AlgorithmName() const;
195 std::string AlgorithmName() const;
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/
H A DECDsaCng.Key.cs51 case 256: algorithm = AlgorithmName.ECDsaP256; break; in GetDuplicatedKeyHandle()
52 case 384: algorithm = AlgorithmName.ECDsaP384; break; in GetDuplicatedKeyHandle()
53 case 521: algorithm = AlgorithmName.ECDsaP521; break; in GetDuplicatedKeyHandle()
113 if (algorithm == AlgorithmName.ECDsaP256) in GenerateKey()
115 else if (algorithm == AlgorithmName.ECDsaP384) in GenerateKey()
117 else if (algorithm == AlgorithmName.ECDsaP521) in GenerateKey()
129 algorithm = AlgorithmName.ECDsa; in GenerateKey()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data/System/Data/SqlClient/
H A DSqlAes256CbcFactory.cs38 …Debug.Assert(string.Equals(encryptionAlgorithm, SqlAes256CbcAlgorithm.AlgorithmName, StringCompari… in Create()
43 throw SQL.InvalidEncryptionType(SqlAes256CbcAlgorithm.AlgorithmName, in Create()
74 …w SqlAeadAes256CbcHmac256EncryptionKey(encryptionKey.RootKey, SqlAes256CbcAlgorithm.AlgorithmName); in Create()
H A DSqlAeadAes256CbcHmac256Factory.cs35 …t(string.Equals(encryptionAlgorithm, SqlAeadAes256CbcHmac256Algorithm.AlgorithmName, StringCompari… in Create()
39 throw SQL.InvalidEncryptionType(SqlAeadAes256CbcHmac256Algorithm.AlgorithmName, in Create()
69 …s256CbcHmac256EncryptionKey(encryptionKey.RootKey, SqlAeadAes256CbcHmac256Algorithm.AlgorithmName); in Create()

12345678910>>...15