workfactor.c File Reference

#include <stdlib.h>
#include <math.h>

Include dependency graph for workfactor.c:

Go to the source code of this file.

Functions

double binomial (int n, int k)
double log_binomial (int n, int k)
double nb_iter (int n, int k, int w, int p, int l)
double cout_iter (int n, int k, int p, int l)
double memory_compl (int n, int k, int p, int l)
double cout_total (int n, int k, int w, int p, int l)
double best_wf (int n, int k, int w, int p, int *lmin, double *mem)
double workfactor (int n, int k, int t)


Function Documentation

double best_wf ( int  n,
int  k,
int  w,
int  p,
int *  lmin,
double *  mem 
)

Definition at line 96 of file workfactor.c.

References cout_total(), memory_compl(), and min.

Referenced by workfactor().

Here is the call graph for this function:

double binomial ( int  n,
int  k 
)

Definition at line 24 of file workfactor.c.

Referenced by cout_iter(), and memory_compl().

double cout_iter ( int  n,
int  k,
int  p,
int  l 
)

Definition at line 58 of file workfactor.c.

References binomial().

Referenced by cout_total().

Here is the call graph for this function:

double cout_total ( int  n,
int  k,
int  w,
int  p,
int  l 
)

Definition at line 88 of file workfactor.c.

References cout_iter(), and nb_iter().

Referenced by best_wf(), and workfactor().

Here is the call graph for this function:

double log_binomial ( int  n,
int  k 
)

Definition at line 36 of file workfactor.c.

Referenced by nb_iter().

double memory_compl ( int  n,
int  k,
int  p,
int  l 
)

Definition at line 78 of file workfactor.c.

References aux, and binomial().

Referenced by best_wf().

Here is the call graph for this function:

double nb_iter ( int  n,
int  k,
int  w,
int  p,
int  l 
)

Definition at line 48 of file workfactor.c.

References log_binomial().

Referenced by cout_total().

Here is the call graph for this function:

double workfactor ( int  n,
int  k,
int  t 
)

Definition at line 137 of file workfactor.c.

References best_wf(), cout_total(), and min.

Referenced by main().

Here is the call graph for this function:


This work was partially suported by Europian Network of Excellence, ECRYPT; ECRYPT