Raven Core  3.0.0
P2P Digital Currency
Classes | Macros | Functions
whirlpool.c File Reference
#include "miner.h"
#include "algo-gate-api.h"
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include "sph_whirlpool.h"
Include dependency graph for whirlpool.c:

Go to the source code of this file.

Classes

struct  whirlpool_ctx_holder
 

Macros

#define hashB   hash+64
 

Functions

void init_whirlpool_ctx ()
 
void whirlpool_hash (void *state, const void *input)
 
void whirlpool_midstate (const void *input)
 
int scanhash_whirlpool (int thr_id, struct work *work, uint32_t max_nonce, unsigned long *hashes_done)
 
bool register_whirlpool_algo (algo_gate_t *gate)
 

Macro Definition Documentation

◆ hashB

#define hashB   hash+64

Function Documentation

◆ init_whirlpool_ctx()

void init_whirlpool_ctx ( )

Definition at line 20 of file whirlpool.c.

Here is the caller graph for this function:

◆ register_whirlpool_algo()

bool register_whirlpool_algo ( algo_gate_t *  gate)

Definition at line 98 of file whirlpool.c.

Here is the call graph for this function:

◆ scanhash_whirlpool()

int scanhash_whirlpool ( int  thr_id,
struct work *  work,
uint32_t  max_nonce,
unsigned long *  hashes_done 
)

Definition at line 62 of file whirlpool.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whirlpool_hash()

void whirlpool_hash ( void *  state,
const void *  input 
)

Definition at line 28 of file whirlpool.c.

Here is the caller graph for this function:

◆ whirlpool_midstate()

void whirlpool_midstate ( const void *  input)

Definition at line 55 of file whirlpool.c.

Here is the call graph for this function:
Here is the caller graph for this function: