调整一些c函数的导出方式
This commit is contained in:
parent
acb566cb18
commit
ec8a695e7a
@ -48,11 +48,12 @@ extern "C" {
|
|||||||
int fast_crypto_scrypt (const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, size_t saltlen, uint64_t N,
|
int fast_crypto_scrypt (const uint8_t *passwd, size_t passwdlen, const uint8_t *salt, size_t saltlen, uint64_t N,
|
||||||
uint32_t r, uint32_t p, uint8_t *buf, size_t buflen);
|
uint32_t r, uint32_t p, uint8_t *buf, size_t buflen);
|
||||||
|
|
||||||
|
int crypto_scrypt_base64(std::string *password, std::string *salt, uint64_t N,
|
||||||
|
uint32_t r, uint32_t p, size_t size, std::string *value);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int crypto_scrypt_base64(std::string *password, std::string *salt, uint64_t N,
|
|
||||||
uint32_t r, uint32_t p, size_t size, std::string *value);
|
|
||||||
|
|
||||||
#endif // native_crypto_h
|
#endif // native_crypto_h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user