diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-05 23:08:03 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-05 23:08:03 +0900 |
| commit | 2373c6220585b153d09eecc65973cadd50229a72 (patch) | |
| tree | 991fc21c8e362c17f6159f3b3a9c96df6678f7b4 /src/MSEHandshake.h | |
| parent | 8902c2a8399f1f2234e9598697de2f91d6c4295e (diff) | |
Moved some static member variables which are not exposed as public to unnamed namespace.
Diffstat (limited to 'src/MSEHandshake.h')
| -rw-r--r-- | src/MSEHandshake.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/MSEHandshake.h b/src/MSEHandshake.h index b993e09b..65801940 100644 --- a/src/MSEHandshake.h +++ b/src/MSEHandshake.h @@ -70,15 +70,8 @@ public: private: static const size_t PRIME_BITS = 768; - static const size_t KEY_LENGTH = (PRIME_BITS+7)/8; - - static const size_t MAX_PAD_LENGTH = 512; - static const size_t VC_LENGTH = 8; - - static const size_t CRYPTO_BITFIELD_LENGTH = 4; - // The largest buffering occurs when receiver receives step2 // handshake. We believe that IA is less than or equal to // BtHandshakeMessage::MESSAGE_LENGTH @@ -108,12 +101,6 @@ private: unsigned char* ia_; SharedHandle<MessageDigest> sha1_; - static const unsigned char* PRIME; - - static const unsigned char* GENERATOR; - - static const unsigned char VC[VC_LENGTH]; - void encryptAndSendData(const unsigned char* data, size_t length); void createReq1Hash(unsigned char* md) const; |
