Home
last modified time | relevance | path

Searched refs:old_cofactor_mode (Results 1 – 8 of 8) sorted by relevance

/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dtest_ecies.cpp40 Flags ecies_flags(bool cofactor_mode, bool old_cofactor_mode, bool check_mode, bool single_hash_mod… in ecies_flags() argument
44 | (old_cofactor_mode ? Flags::OLD_COFACTOR_MODE : Flags::NONE) in ecies_flags()
158 for(bool old_cofactor_mode : { true, false }) in run_one_test()
162 … Flags flags = ecies_flags(cofactor_mode, old_cofactor_mode, check_mode, single_hash_mode); in run_one_test()
164 … if(size_t(cofactor_mode) + size_t(check_mode) + size_t(old_cofactor_mode) > 1) in run_one_test()
218 const bool old_cofactor_mode = vars.get_req_sz("OldCofactorMode") != 0; in run_one_test() local
225 … const Flags flags = ecies_flags(cofactor_mode, old_cofactor_mode, check_mode, single_hash_mode); in run_one_test()
/dports/security/botan2/Botan-2.18.2/src/tests/
H A Dtest_ecies.cpp40 Flags ecies_flags(bool cofactor_mode, bool old_cofactor_mode, bool check_mode, bool single_hash_mod… in ecies_flags() argument
44 | (old_cofactor_mode ? Flags::OLD_COFACTOR_MODE : Flags::NONE) in ecies_flags()
158 for(bool old_cofactor_mode : { true, false }) in run_one_test()
162 … Flags flags = ecies_flags(cofactor_mode, old_cofactor_mode, check_mode, single_hash_mode); in run_one_test()
164 … if(size_t(cofactor_mode) + size_t(check_mode) + size_t(old_cofactor_mode) > 1) in run_one_test()
218 const bool old_cofactor_mode = vars.get_req_sz("OldCofactorMode") != 0; in run_one_test() local
225 … const Flags flags = ecies_flags(cofactor_mode, old_cofactor_mode, check_mode, single_hash_mode); in run_one_test()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/pubkey/ecies/
H A Decies.cpp112 if(ecdh_key == nullptr && (ecies_params.cofactor_mode() || ecies_params.old_cofactor_mode() in create_key_agreement()
157 if(m_params.old_cofactor_mode()) in derive_secret()
203 if(size_t(cofactor_mode()) + size_t(old_cofactor_mode()) + size_t(check_mode()) > 1) in ECIES_System_Params()
H A Decies.h95 inline bool old_cofactor_mode() const in old_cofactor_mode() function
/dports/security/botan2/Botan-2.18.2/src/lib/pubkey/ecies/
H A Decies.cpp112 if(ecdh_key == nullptr && (ecies_params.cofactor_mode() || ecies_params.old_cofactor_mode() in create_key_agreement()
157 if(m_params.old_cofactor_mode()) in derive_secret()
203 if(size_t(cofactor_mode()) + size_t(old_cofactor_mode()) + size_t(check_mode()) > 1) in ECIES_System_Params()
H A Decies.h95 inline bool old_cofactor_mode() const in old_cofactor_mode() function
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/pubkey/ecies/
H A Decies.cpp112 if(ecdh_key == nullptr && (ecies_params.cofactor_mode() || ecies_params.old_cofactor_mode() in create_key_agreement()
157 if(m_params.old_cofactor_mode()) in derive_secret()
203 if(size_t(cofactor_mode()) + size_t(old_cofactor_mode()) + size_t(check_mode()) > 1) in ECIES_System_Params()
H A Decies.h95 inline bool old_cofactor_mode() const in old_cofactor_mode() function