File
file
shmem__scrypt__gen_8h
[
shmem_scrypt_gen.h
]
[
#include stdint.h
]
[
#include sys/time.h
]
[
#include stdlib.h
]
[
#include stdbool.h
]
[
#include string.h
]
function
(memscrypt)
int scrypt_test
(unsigned char *pdata, const unsigned char *ptarget, uint32_t nonce)
[
shmem_scrypt_gen.h:100
]
Scrypt hash generator.
function
void scrypt_regenhash
(struct scrypt_work *work)
[
shmem_scrypt_gen.h:101
]
[
ref: scrypt_work
]
function
void calc_midstate
(struct scrypt_work *work)
[
shmem_scrypt_gen.h:102
]
[
ref: scrypt_work
]
function
int64_t cpu_scanhash
(struct scrypt_work *work, int64_t max_nonce)
[
shmem_scrypt_gen.h:103
]
[
ref: scrypt_work
]
function
bool scanhash_scrypt
(const unsigned char *pmidstate, unsigned char *pdata, unsigned char *phash, const unsigned char *ptarget, uint32_t max_nonce, uint32_t *last_nonce, uint32_t n, double *last_diff)
[
shmem_scrypt_gen.h:106
]