![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <KeyAgreement.hpp>
Inheritance diagram for cat::KeyAgreementCommon:Public Member Functions | |
| void | GenerateKey (BigTwistedEdwards *math, IRandom *prng, Leg *key) |
Static Public Member Functions | |
| static BigTwistedEdwards * | InstantiateMath (int bits) |
Static Public Attributes | |
| static const int | ECC_REG_OVERHEAD = 21 |
| static const int | EDWARD_C_256 = 435 |
| static const int | EDWARD_C_384 = 2147 |
| static const int | EDWARD_C_512 = 875 |
| static const int | EDWARD_D_256 = 31720 |
| static const int | EDWARD_D_384 = 13036 |
| static const int | EDWARD_D_512 = 32 |
| static const int | MAX_BITS = 512 |
| static const int | MAX_BYTES = MAX_BITS / 8 |
| static const int | MAX_LEGS = MAX_BYTES / sizeof(Leg) |
Protected Member Functions | |
| bool | Initialize (int bits) |
Protected Attributes | |
| int | KeyBits |
| int | KeyBytes |
| int | KeyLegs |
Definition at line 175 of file KeyAgreement.hpp.
| void cat::KeyAgreementCommon::GenerateKey | ( | BigTwistedEdwards * | math, |
| IRandom * | prng, | ||
| Leg * | key | ||
| ) |
| bool cat::KeyAgreementCommon::Initialize | ( | int | bits | ) | [protected] |
| static BigTwistedEdwards* cat::KeyAgreementCommon::InstantiateMath | ( | int | bits | ) | [static] |
const int cat::KeyAgreementCommon::ECC_REG_OVERHEAD = 21 [static] |
Definition at line 181 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_C_256 = 435 [static] |
Definition at line 185 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_C_384 = 2147 [static] |
Definition at line 187 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_C_512 = 875 [static] |
Definition at line 189 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_D_256 = 31720 [static] |
Definition at line 186 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_D_384 = 13036 [static] |
Definition at line 188 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::EDWARD_D_512 = 32 [static] |
Definition at line 190 of file KeyAgreement.hpp.
int cat::KeyAgreementCommon::KeyBits [protected] |
Definition at line 198 of file KeyAgreement.hpp.
int cat::KeyAgreementCommon::KeyBytes [protected] |
Definition at line 198 of file KeyAgreement.hpp.
Referenced by cat::KeyAgreementResponder::KeyEncryption(), and cat::KeyAgreementInitiator::KeyEncryption().
int cat::KeyAgreementCommon::KeyLegs [protected] |
Definition at line 198 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::MAX_BITS = 512 [static] |
Definition at line 193 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::MAX_BYTES = MAX_BITS / 8 [static] |
Definition at line 194 of file KeyAgreement.hpp.
const int cat::KeyAgreementCommon::MAX_LEGS = MAX_BYTES / sizeof(Leg) [static] |
Definition at line 195 of file KeyAgreement.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.