Skip to content

Commit

Permalink
priv key: Remove comment
Browse files Browse the repository at this point in the history
Signed-off-by: Zhao Pengfei <pengfei.zhao@intel.com>
  • Loading branch information
justalittlenoob committed Nov 23, 2022
1 parent d934922 commit ae12eed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions ipcl/include/ipcl/pri_key.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ class PrivateKey {
*/
BigNumber* getQ() const { return m_q.get(); }

/**
* Get bits of key
*/
// int* getBits() const { return m_bits; }

/**
* @brief Support function for ISO/IEC 18033-6 compliance check
*
Expand All @@ -81,8 +76,6 @@ class PrivateKey {
std::unique_ptr<BigNumber> m_q;
BigNumber* m_nsquare;
BigNumber* m_g;
// int* m_bits;
// int* m_dwords;
BigNumber m_pminusone;
BigNumber m_qminusone;
BigNumber m_psquare;
Expand Down
2 changes: 0 additions & 2 deletions ipcl/pri_key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ PrivateKey::PrivateKey(const PublicKey* public_key,
: m_n(public_key->getN()),
m_nsquare(public_key->getNSQ()),
m_g(public_key->getG()),
// m_bits(public_key->getBits()),
// m_dwords(public_key->getDwords()),
m_enable_crt(true) {
ERROR_CHECK((*p) * (*q) == *m_n,
"PrivateKey ctor: Public key does not match p * q.");
Expand Down

0 comments on commit ae12eed

Please sign in to comment.