/dports/net/megacmd/MEGAcmd-1.4.1_Win/sdk/include/mega/crypto/ |
H A D | cryptopp.h | 75 CryptoPP::ECB_Mode<CryptoPP::AES>::Encryption aesecb_e; 76 CryptoPP::ECB_Mode<CryptoPP::AES>::Decryption aesecb_d; 78 CryptoPP::CBC_Mode<CryptoPP::AES>::Encryption aescbc_e; 79 CryptoPP::CBC_Mode<CryptoPP::AES>::Decryption aescbc_d; 81 CryptoPP::CCM<CryptoPP::AES, 16>::Encryption aesccm16_e; 82 CryptoPP::CCM<CryptoPP::AES, 16>::Decryption aesccm16_d; 84 CryptoPP::CCM<CryptoPP::AES, 8>::Encryption aesccm8_e; 85 CryptoPP::CCM<CryptoPP::AES, 8>::Decryption aesccm8_d; 87 CryptoPP::GCM<CryptoPP::AES>::Encryption aesgcm_e; 88 CryptoPP::GCM<CryptoPP::AES>::Decryption aesgcm_d; [all …]
|
/dports/security/cryptopp/cryptopp-8.6.0/ |
H A D | integer.h | 767 inline CryptoPP::Integer operator+(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 769 inline CryptoPP::Integer operator-(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 772 inline CryptoPP::Integer operator*(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 774 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 777 inline CryptoPP::Integer operator%(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 779 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, CryptoPP::word b) {return a.DividedB… 782 inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) {return a.Modulo(b… 796 inline CryptoPP::Integer operator&(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 810 inline CryptoPP::Integer operator|(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 824 inline CryptoPP::Integer operator^(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … [all …]
|
H A D | gf2n.h | 22 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 255 inline bool operator==(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 258 inline bool operator!=(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 273 inline CryptoPP::PolynomialMod2 operator&(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 275 inline CryptoPP::PolynomialMod2 operator^(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 277 inline CryptoPP::PolynomialMod2 operator+(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 279 inline CryptoPP::PolynomialMod2 operator-(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 281 inline CryptoPP::PolynomialMod2 operator*(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 283 inline CryptoPP::PolynomialMod2 operator/(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 285 inline CryptoPP::PolynomialMod2 operator%(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… [all …]
|
H A D | polynomi.h | 17 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 405 inline bool operator==(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 409 inline bool operator!=(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 414 inline bool operator> (const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 431 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator+(const CryptoPP::PolynomialOverFixed… 435 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator-(const CryptoPP::PolynomialOverFixed… 439 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator*(const CryptoPP::PolynomialOverFixed… 443 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator/(const CryptoPP::PolynomialOverFixed… 447 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator%(const CryptoPP::PolynomialOverFixed… 453 template<class T> inline void swap(CryptoPP::PolynomialOver<T> &a, CryptoPP::PolynomialOver<T> &b) in NAMESPACE_BEGIN() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cryptopp/ |
H A D | integer.h | 660 inline CryptoPP::Integer operator+(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 662 inline CryptoPP::Integer operator-(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 665 inline CryptoPP::Integer operator*(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 667 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 670 inline CryptoPP::Integer operator%(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 672 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, CryptoPP::word b) {return a.DividedB… 675 inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) {return a.Modulo(b… 689 inline CryptoPP::Integer operator&(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 703 inline CryptoPP::Integer operator|(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 717 inline CryptoPP::Integer operator^(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … [all …]
|
H A D | gf2n.h | 17 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 249 inline bool operator==(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 252 inline bool operator!=(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 267 inline CryptoPP::PolynomialMod2 operator&(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 269 inline CryptoPP::PolynomialMod2 operator^(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 271 inline CryptoPP::PolynomialMod2 operator+(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 273 inline CryptoPP::PolynomialMod2 operator-(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 275 inline CryptoPP::PolynomialMod2 operator*(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 277 inline CryptoPP::PolynomialMod2 operator/(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 279 inline CryptoPP::PolynomialMod2 operator%(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… [all …]
|
H A D | polynomi.h | 21 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 409 inline bool operator==(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 413 inline bool operator!=(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 418 inline bool operator> (const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 435 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator+(const CryptoPP::PolynomialOverFixed… 439 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator-(const CryptoPP::PolynomialOverFixed… 443 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator*(const CryptoPP::PolynomialOverFixed… 447 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator/(const CryptoPP::PolynomialOverFixed… 451 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator%(const CryptoPP::PolynomialOverFixed… 457 template<class T> inline void swap(CryptoPP::PolynomialOver<T> &a, CryptoPP::PolynomialOver<T> &b) in NAMESPACE_BEGIN() [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/ |
H A D | integer.h | 767 inline CryptoPP::Integer operator+(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 769 inline CryptoPP::Integer operator-(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 772 inline CryptoPP::Integer operator*(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 774 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 777 inline CryptoPP::Integer operator%(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 779 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, CryptoPP::word b) {return a.DividedB… 782 inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) {return a.Modulo(b… 796 inline CryptoPP::Integer operator&(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 810 inline CryptoPP::Integer operator|(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 824 inline CryptoPP::Integer operator^(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … [all …]
|
H A D | gf2n.h | 22 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 255 inline bool operator==(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 258 inline bool operator!=(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 273 inline CryptoPP::PolynomialMod2 operator&(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 275 inline CryptoPP::PolynomialMod2 operator^(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 277 inline CryptoPP::PolynomialMod2 operator+(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 279 inline CryptoPP::PolynomialMod2 operator-(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 281 inline CryptoPP::PolynomialMod2 operator*(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 283 inline CryptoPP::PolynomialMod2 operator/(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 285 inline CryptoPP::PolynomialMod2 operator%(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… [all …]
|
H A D | polynomi.h | 17 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 405 inline bool operator==(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 409 inline bool operator!=(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 414 inline bool operator> (const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 431 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator+(const CryptoPP::PolynomialOverFixed… 435 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator-(const CryptoPP::PolynomialOverFixed… 439 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator*(const CryptoPP::PolynomialOverFixed… 443 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator/(const CryptoPP::PolynomialOverFixed… 447 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator%(const CryptoPP::PolynomialOverFixed… 453 template<class T> inline void swap(CryptoPP::PolynomialOver<T> &a, CryptoPP::PolynomialOver<T> &b) in NAMESPACE_BEGIN() [all …]
|
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/ |
H A D | integer.h | 767 inline CryptoPP::Integer operator+(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 769 inline CryptoPP::Integer operator-(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 772 inline CryptoPP::Integer operator*(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 774 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 777 inline CryptoPP::Integer operator%(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 779 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, CryptoPP::word b) {return a.DividedB… 782 inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) {return a.Modulo(b… 796 inline CryptoPP::Integer operator&(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 810 inline CryptoPP::Integer operator|(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 824 inline CryptoPP::Integer operator^(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … [all …]
|
H A D | gf2n.h | 22 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 255 inline bool operator==(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 258 inline bool operator!=(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 273 inline CryptoPP::PolynomialMod2 operator&(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 275 inline CryptoPP::PolynomialMod2 operator^(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 277 inline CryptoPP::PolynomialMod2 operator+(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 279 inline CryptoPP::PolynomialMod2 operator-(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 281 inline CryptoPP::PolynomialMod2 operator*(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 283 inline CryptoPP::PolynomialMod2 operator/(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 285 inline CryptoPP::PolynomialMod2 operator%(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… [all …]
|
H A D | polynomi.h | 17 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 405 inline bool operator==(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 409 inline bool operator!=(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 414 inline bool operator> (const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 431 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator+(const CryptoPP::PolynomialOverFixed… 435 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator-(const CryptoPP::PolynomialOverFixed… 439 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator*(const CryptoPP::PolynomialOverFixed… 443 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator/(const CryptoPP::PolynomialOverFixed… 447 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator%(const CryptoPP::PolynomialOverFixed… 453 template<class T> inline void swap(CryptoPP::PolynomialOver<T> &a, CryptoPP::PolynomialOver<T> &b) in NAMESPACE_BEGIN() [all …]
|
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/ |
H A D | integer.h | 767 inline CryptoPP::Integer operator+(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 769 inline CryptoPP::Integer operator-(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 772 inline CryptoPP::Integer operator*(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 774 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 777 inline CryptoPP::Integer operator%(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 779 inline CryptoPP::Integer operator/(const CryptoPP::Integer &a, CryptoPP::word b) {return a.DividedB… 782 inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) {return a.Modulo(b… 796 inline CryptoPP::Integer operator&(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 810 inline CryptoPP::Integer operator|(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … 824 inline CryptoPP::Integer operator^(const CryptoPP::Integer &a, const CryptoPP::Integer &b) {return … [all …]
|
H A D | gf2n.h | 22 NAMESPACE_BEGIN(CryptoPP) 255 inline bool operator==(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 258 inline bool operator!=(const CryptoPP::PolynomialMod2 &a, const CryptoPP::PolynomialMod2 &b) 273 inline CryptoPP::PolynomialMod2 operator&(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 275 inline CryptoPP::PolynomialMod2 operator^(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 277 inline CryptoPP::PolynomialMod2 operator+(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 279 inline CryptoPP::PolynomialMod2 operator-(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 281 inline CryptoPP::PolynomialMod2 operator*(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 283 inline CryptoPP::PolynomialMod2 operator/(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… 285 inline CryptoPP::PolynomialMod2 operator%(const CryptoPP::PolynomialMod2 &a, const CryptoPP::Polyno… [all …]
|
H A D | polynomi.h | 17 NAMESPACE_BEGIN(CryptoPP) in NAMESPACE_BEGIN() argument 405 inline bool operator==(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 409 inline bool operator!=(const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 414 inline bool operator> (const CryptoPP::PolynomialOverFixedRing<T, instance> &a, const CryptoPP::Pol… 431 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator+(const CryptoPP::PolynomialOverFixed… 435 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator-(const CryptoPP::PolynomialOverFixed… 439 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator*(const CryptoPP::PolynomialOverFixed… 443 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator/(const CryptoPP::PolynomialOverFixed… 447 inline CryptoPP::PolynomialOverFixedRing<T, instance> operator%(const CryptoPP::PolynomialOverFixed… 453 template<class T> inline void swap(CryptoPP::PolynomialOver<T> &a, CryptoPP::PolynomialOver<T> &b) in NAMESPACE_BEGIN() [all …]
|
/dports/net-p2p/amule/aMule-2.3.3/src/ |
H A D | ClientCreditsList.cpp | 252 CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng; in CreateKeyPair() 253 CryptoPP::InvertibleRSAFunction privkey; in CreateKeyPair() 258 CryptoPP::FileSink *fileSink = new CryptoPP::FileSink(filename); in CreateKeyPair() 259 CryptoPP::Base64Encoder *privkeysink = new CryptoPP::Base64Encoder(fileSink); in CreateKeyPair() 270 } catch(const CryptoPP::Exception& e) { in CreateKeyPair() 313 …CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>… in InitalizeCrypting() 318 } catch (const CryptoPP::Exception& e) { in InitalizeCrypting() 347 CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng; in CreateSignature() 367 } catch (const CryptoPP::Exception& e) { in CreateSignature() 428 } catch (const CryptoPP::Exception& e) { in VerifyIdent() [all …]
|
/dports/net-p2p/amule-devel/aMule-SVN-r11065/src/ |
H A D | ClientCreditsList.cpp | 252 CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng; in CreateKeyPair() 253 CryptoPP::InvertibleRSAFunction privkey; in CreateKeyPair() 258 CryptoPP::FileSink *fileSink = new CryptoPP::FileSink(filename); in CreateKeyPair() 259 CryptoPP::Base64Encoder *privkeysink = new CryptoPP::Base64Encoder(fileSink); in CreateKeyPair() 270 } catch(const CryptoPP::Exception& e) { in CreateKeyPair() 313 …CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>… in InitalizeCrypting() 318 } catch (const CryptoPP::Exception& e) { in InitalizeCrypting() 347 CryptoPP::AutoSeededX917RNG<CryptoPP::DES_EDE3> rng; in CreateSignature() 367 } catch (const CryptoPP::Exception& e) { in CreateSignature() 428 } catch (const CryptoPP::Exception& e) { in VerifyIdent() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/libdevcrypto/ |
H A D | CryptoPP.cpp | 29 CryptoPP::OID m_oid; 35 CryptoPP::DL_GroupParameters_EC<CryptoPP::ECP> m_params; 37 CryptoPP::DL_GroupParameters_EC<CryptoPP::ECP>::EllipticCurve m_curve; 39 CryptoPP::Integer m_q; 40 CryptoPP::Integer m_qs; 55 …ne CryptoPP::ECP::Point publicToPoint(Public const& _p) { CryptoPP::Integer x(_p.data(), 32); Cryp… in publicToPoint() 81 CryptoPP::SHA256 ctx; in encryptECIES() 99 CryptoPP::HMAC<CryptoPP::SHA256> hmacctx(mKey.data(), mKey.size()); in encryptECIES() 148 CryptoPP::HMAC<CryptoPP::SHA256> hmacctx(mKey.data(), mKey.size()); in decryptECIES() 172 CryptoPP::ECIES<CryptoPP::ECP>::Encryptor e; in encrypt() [all …]
|
/dports/emulators/citra/citra-ac98458e0/src/core/hw/aes/ |
H A D | ccm.cpp | 21 using CryptoPP::AES; 22 using CryptoPP::CCM_Base; 23 using CryptoPP::CCM_Final; 24 using CryptoPP::lword; 57 CryptoPP::ArraySource as(pdata.data(), pdata.size(), true, in EncryptSignCCM() 58 new CryptoPP::AuthenticatedEncryptionFilter( in EncryptSignCCM() 60 } catch (const CryptoPP::Exception& e) { in EncryptSignCCM() 79 CryptoPP::AuthenticatedDecryptionFilter df( in DecryptVerifyCCM() 80 d, new CryptoPP::ArraySink(pdata.data(), pdata_size)); in DecryptVerifyCCM() 81 CryptoPP::ArraySource as(cipher.data(), cipher.size(), true, new CryptoPP::Redirector(df)); in DecryptVerifyCCM() [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/hw/aes/ |
H A D | ccm.cpp | 21 using CryptoPP::AES; 22 using CryptoPP::CCM_Base; 23 using CryptoPP::CCM_Final; 24 using CryptoPP::lword; 57 CryptoPP::ArraySource as(pdata.data(), pdata.size(), true, in EncryptSignCCM() 58 new CryptoPP::AuthenticatedEncryptionFilter( in EncryptSignCCM() 60 } catch (const CryptoPP::Exception& e) { in EncryptSignCCM() 79 CryptoPP::AuthenticatedDecryptionFilter df( in DecryptVerifyCCM() 80 d, new CryptoPP::ArraySink(pdata.data(), pdata_size)); in DecryptVerifyCCM() 81 CryptoPP::ArraySource as(cipher.data(), cipher.size(), true, new CryptoPP::Redirector(df)); in DecryptVerifyCCM() [all …]
|
/dports/emulators/citra/citra-ac98458e0/src/core/hle/service/nwm/ |
H A D | uds_data.cpp | 92 std::array<u8, CryptoPP::AES::BLOCKSIZE> ccmp_key; in GenerateDataCCMPKey() 96 using CryptoPP::AES; in GenerateDataCCMPKey() 99 CryptoPP::CTR_Mode<AES>::Encryption aes; in GenerateDataCCMPKey() 184 CryptoPP::CCM<CryptoPP::AES, 8>::Decryption d; in DecryptDataFrame() 188 CryptoPP::AuthenticatedDecryptionFilter df( in DecryptDataFrame() 198 df.ChannelPut(CryptoPP::DEFAULT_CHANNEL, in DecryptDataFrame() 201 df.ChannelMessageEnd(CryptoPP::AAD_CHANNEL); in DecryptDataFrame() 210 } catch (CryptoPP::Exception&) { in DecryptDataFrame() 244 CryptoPP::CCM<CryptoPP::AES, 8>::Encryption d; in EncryptDataFrame() 251 df.ChannelMessageEnd(CryptoPP::AAD_CHANNEL); in EncryptDataFrame() [all …]
|
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/hle/service/nwm/ |
H A D | uds_data.cpp | 92 std::array<u8, CryptoPP::AES::BLOCKSIZE> ccmp_key; in GenerateDataCCMPKey() 96 using CryptoPP::AES; in GenerateDataCCMPKey() 99 CryptoPP::CTR_Mode<AES>::Encryption aes; in GenerateDataCCMPKey() 184 CryptoPP::CCM<CryptoPP::AES, 8>::Decryption d; in DecryptDataFrame() 188 CryptoPP::AuthenticatedDecryptionFilter df( in DecryptDataFrame() 198 df.ChannelPut(CryptoPP::DEFAULT_CHANNEL, in DecryptDataFrame() 201 df.ChannelMessageEnd(CryptoPP::AAD_CHANNEL); in DecryptDataFrame() 210 } catch (CryptoPP::Exception&) { in DecryptDataFrame() 244 CryptoPP::CCM<CryptoPP::AES, 8>::Encryption d; in EncryptDataFrame() 251 df.ChannelMessageEnd(CryptoPP::AAD_CHANNEL); in EncryptDataFrame() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/test/unittests/libdevcrypto/ |
H A D | crypto.cpp | 51 static CryptoPP::OID& curveOID() in curveOID() 53 static CryptoPP::OID s_curveOID(CryptoPP::ASN1::secp256k1()); in curveOID() 57 static CryptoPP::DL_GroupParameters_EC<CryptoPP::ECP>& params() in params() 59 static CryptoPP::DL_GroupParameters_EC<CryptoPP::ECP> s_params(curveOID()); in params() 354 CryptoPP::ECDH<CryptoPP::ECP>::Domain dhLocal(curveOID()); in BOOST_AUTO_TEST_CASE() 359 CryptoPP::ECDH<CryptoPP::ECP>::Domain dhRemote(curveOID()); in BOOST_AUTO_TEST_CASE() 394 CryptoPP::ECDH<CryptoPP::ECP>::Domain dhA(curveOID()); in BOOST_AUTO_TEST_CASE() 685 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption e; in BOOST_AUTO_TEST_CASE() 702 CryptoPP::CTR_Mode<CryptoPP::AES>::Decryption d; in BOOST_AUTO_TEST_CASE() 720 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption e; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/test/unittests/libp2p/ |
H A D | rlpx.cpp | 42 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption m_frameEnc; in TEST_F() 43 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption m_frameDec; in TEST_F() 44 CryptoPP::ECB_Mode<CryptoPP::AES>::Encryption m_macEnc; in TEST_F() 76 CryptoPP::Keccak_256 ctx; in TEST_F() 99 CryptoPP::Keccak_256 ctx; in TEST_F() 212 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption m_frameEnc; in TEST_F() 213 CryptoPP::CTR_Mode<CryptoPP::AES>::Encryption m_frameDec; in TEST_F() 214 CryptoPP::ECB_Mode<CryptoPP::AES>::Encryption m_macEnc; in TEST_F() 388 CryptoPP::SHA256 sha256ctx; in TEST_F() 406 CryptoPP::HMAC<CryptoPP::SHA256> hmacctx(hmack.data(), h128::size); in TEST_F() [all …]
|