Removed openssl dependancy for MD5 digests.
This commit is contained in:
parent
2283cf26e3
commit
353bb301ca
2 changed files with 94 additions and 54 deletions
13
lib/auth.h
13
lib/auth.h
|
@ -2,14 +2,7 @@
|
|||
#include <string>
|
||||
|
||||
namespace Secure {
|
||||
class Auth {
|
||||
private:
|
||||
void * pubkey; ///< Holds the public key.
|
||||
public:
|
||||
Auth(); ///< Attempts to load the GBv2 public key.
|
||||
bool PubKey_Check(std::string & data, std::string basesign); ///< Attempts to verify RSA signature using the public key.
|
||||
};
|
||||
|
||||
std::string md5(std::string input); ///< Wrapper function for openssl MD5 implementation
|
||||
|
||||
std::string md5(std::string input);
|
||||
std::string md5(const char * input, const unsigned int in_len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue