ECP-VELOC Components
User documentation for all components
Functions
redset_reedsolomon_common.h File Reference

Go to the source code of this file.

Functions

int redset_rs_gf_alloc (redset_reedsolomon *state, int ranks, int encoding, int bits)
 
void redset_rs_gf_delete (redset_reedsolomon *state)
 
void redset_rs_gaussian_solve_identify_rows (redset_reedsolomon *state, unsigned int *mat, int n, int k, int missing, int *unknowns, unsigned int **coeffs, int **selected)
 
void redset_rs_gaussian_solve (redset_reedsolomon *state, unsigned int *m, int missing, int count, unsigned char **bufs)
 
int redset_rs_get_encoding_id (int ranks, int encoding, int rank, int chunk_id)
 
int redset_rs_get_data_id (int ranks, int encoding, int rank, int chunk_id)
 
void redset_rs_reduce_buffer_multadd (redset_reedsolomon *state, int count, unsigned char *buf, unsigned int coeff, unsigned char *data)
 
void redset_rs_reduce_decode (int ranks, redset_reedsolomon *state, int chunk_id, int received_rank, int missing, int *rows, int count, unsigned char *recv_buf, unsigned char **data_bufs)
 

Function Documentation

◆ redset_rs_gaussian_solve()

void redset_rs_gaussian_solve ( redset_reedsolomon *  state,
unsigned int *  m,
int  missing,
int  count,
unsigned char **  bufs 
)

◆ redset_rs_gaussian_solve_identify_rows()

void redset_rs_gaussian_solve_identify_rows ( redset_reedsolomon *  state,
unsigned int *  mat,
int  n,
int  k,
int  missing,
int *  unknowns,
unsigned int **  coeffs,
int **  selected 
)

◆ redset_rs_get_data_id()

int redset_rs_get_data_id ( int  ranks,
int  encoding,
int  rank,
int  chunk_id 
)

◆ redset_rs_get_encoding_id()

int redset_rs_get_encoding_id ( int  ranks,
int  encoding,
int  rank,
int  chunk_id 
)

◆ redset_rs_gf_alloc()

int redset_rs_gf_alloc ( redset_reedsolomon *  state,
int  ranks,
int  encoding,
int  bits 
)

◆ redset_rs_gf_delete()

void redset_rs_gf_delete ( redset_reedsolomon *  state)

◆ redset_rs_reduce_buffer_multadd()

void redset_rs_reduce_buffer_multadd ( redset_reedsolomon *  state,
int  count,
unsigned char *  buf,
unsigned int  coeff,
unsigned char *  data 
)

◆ redset_rs_reduce_decode()

void redset_rs_reduce_decode ( int  ranks,
redset_reedsolomon *  state,
int  chunk_id,
int  received_rank,
int  missing,
int *  rows,
int  count,
unsigned char *  recv_buf,
unsigned char **  data_bufs 
)