initializing
parent
b2607fe181
commit
93688d2b60
|
@ -33,8 +33,8 @@ public:
|
||||||
std::string getSecretKeyBase64String() const noexcept;
|
std::string getSecretKeyBase64String() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<uint8_t, 32> m_secret;
|
std::array<uint8_t, 32> m_secret {0};
|
||||||
std::array<uint8_t, 32> m_public;
|
std::array<uint8_t, 32> m_public {0};
|
||||||
};
|
};
|
||||||
|
|
||||||
class Signature {
|
class Signature {
|
||||||
|
@ -49,7 +49,7 @@ public:
|
||||||
bool operator==(const std::string& base64String) const noexcept;
|
bool operator==(const std::string& base64String) const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<std::array<uint8_t, 64>> m_data;
|
std::shared_ptr<std::array<uint8_t, 64>> m_data {0};
|
||||||
};
|
};
|
||||||
|
|
||||||
//// FUNCTIONS
|
//// FUNCTIONS
|
||||||
|
|
2
x25519.h
2
x25519.h
|
@ -40,7 +40,7 @@ public:
|
||||||
std::string getSecretKeyBase64String() const noexcept;
|
std::string getSecretKeyBase64String() const noexcept;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::array<uint8_t, 32> m_publicKey;
|
std::array<uint8_t, 32> m_publicKey {0};
|
||||||
EVP_PKEY_CTX * m_Ctx;
|
EVP_PKEY_CTX * m_Ctx;
|
||||||
EVP_PKEY * m_Pkey;
|
EVP_PKEY * m_Pkey;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue