Browse Source

style, file headers

cl-refactor
subtly 10 years ago
parent
commit
1f0a11401b
  1. 2
      libdevcrypto/EC.cpp
  2. 13
      libdevcrypto/EC.h
  3. 2
      libdevcrypto/ECIES.cpp
  4. 2
      libdevcrypto/ECIES.h
  5. 2
      libdevcrypto/SHA3MAC.cpp
  6. 2
      libdevcrypto/SHA3MAC.h

2
libdevcrypto/EC.cpp

@ -18,7 +18,7 @@
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* Ethereum-specific data structures & algorithms.
* Shared EC classes and functions.
*/
#pragma warning(push)

13
libdevcrypto/EC.h

@ -18,7 +18,7 @@
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* Ethereum-specific data structures & algorithms.
* Shared EC classes and functions.
*/
#pragma once
@ -61,8 +61,11 @@ class ECKeyPair
{
public:
static ECKeyPair create();
CryptoPP::DL_PublicKey_EC<CryptoPP::ECP> pub() { return m_pub; } // deprecate
CryptoPP::DL_PrivateKey_EC<CryptoPP::ECP> sec() { return m_sec; } // deprecate
/// deprecate
CryptoPP::DL_PublicKey_EC<CryptoPP::ECP> pub() { return m_pub; }
/// deprecate
CryptoPP::DL_PrivateKey_EC<CryptoPP::ECP> sec() { return m_sec; }
private:
ECKeyPair() {}
@ -70,9 +73,5 @@ private:
CryptoPP::DL_PrivateKey_EC<CryptoPP::ECP> m_sec;
};
//class ECDHE;
//bytes ECSign(KeyPair, bytesConstRef);
//bool ECVerify(Public, bytesConstRef);
}
}

2
libdevcrypto/ECIES.cpp

@ -18,7 +18,7 @@
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* Ethereum-specific data structures & algorithms.
* ECIES Encrypt/Decrypt
*/
#include "EC.h"

2
libdevcrypto/ECIES.h

@ -18,7 +18,7 @@
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* Ethereum-specific data structures & algorithms.
* ECIES Encrypt/Decrypt
*/
#pragma once

2
libdevcrypto/SHA3MAC.cpp

@ -17,6 +17,8 @@
/** @file SHA3MAC.cpp
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* SHA3 MAC
*/
#pragma GCC diagnostic ignored "-Wunused-function"

2
libdevcrypto/SHA3MAC.h

@ -18,7 +18,7 @@
* @author Alex Leverington <nessence@gmail.com>
* @date 2014
*
* Ethereum-specific data structures & algorithms.
* SHA3 MAC
*/
#pragma once

Loading…
Cancel
Save