node-multi-hashing/scryptn.h

17 lines
387 B
C
Raw Normal View History

2014-03-30 10:12:48 +02:00
#ifndef SCRYPTN_H
#define SCRYPTN_H
2014-03-30 10:30:15 +02:00
#include <stdint.h>
2014-03-30 10:04:48 +02:00
#ifdef __cplusplus
extern "C" {
#endif
void scrypt_N_R_1_256(const char* input, char* output, uint32_t N, uint32_t R, uint32_t len);
void scrypt_N_R_1_256_sp(const char* input, char* output, char* scratchpad, uint32_t N, uint32_t R, uint32_t len);
2014-03-30 10:04:48 +02:00
//const int scrypt_scratchpad_size = 131583;
#ifdef __cplusplus
}
#endif
#endif