kill warnings

This commit is contained in:
Mirek Kratochvil 2012-04-01 20:55:18 +02:00
parent 859dd3ef82
commit 7f0121294c
3 changed files with 11 additions and 0 deletions

View file

@ -7,24 +7,29 @@ using namespace ccr::mce;
int generate (pubkey&pub, privkey&priv, prng&rng) int generate (pubkey&pub, privkey&priv, prng&rng)
{ {
return -1; //TODO
} }
int pubkey::encrypt (const bvector& in, bvector&out, prng&rng) int pubkey::encrypt (const bvector& in, bvector&out, prng&rng)
{ {
return -1; //TODO
} }
int privkey::decrypt (const bvector&in, bvector&out) int privkey::decrypt (const bvector&in, bvector&out)
{ {
return -1; //TODO
} }
int privkey::sign (const bvector&in, bvector&out, uint min_delta, prng&rng) int privkey::sign (const bvector&in, bvector&out, uint min_delta, prng&rng)
{ {
return -1; //TODO
} }
int pubkey::verify (const bvector&in, const bvector&hash, uint missing) int pubkey::verify (const bvector&in, const bvector&hash, uint missing)
{ {
return -1; //TODO
} }

View file

@ -7,24 +7,29 @@ using namespace ccr::nd;
int generate (pubkey&pub, privkey&priv, prng&rng) int generate (pubkey&pub, privkey&priv, prng&rng)
{ {
return -1; //TODO
} }
int pubkey::encrypt (const bvector& in, bvector&out, prng&rng) int pubkey::encrypt (const bvector& in, bvector&out, prng&rng)
{ {
return -1; //TODO
} }
int privkey::decrypt (const bvector&in, bvector&out) int privkey::decrypt (const bvector&in, bvector&out)
{ {
return -1; //TODO
} }
int privkey::sign (const bvector&in, bvector&out, uint min_delta, prng&rng) int privkey::sign (const bvector&in, bvector&out, uint min_delta, prng&rng)
{ {
return -1; //TODO
} }
int pubkey::verify (const bvector&in, const bvector&hash, uint missing) int pubkey::verify (const bvector&in, const bvector&hash, uint missing)
{ {
return -1; //TODO
} }

View file

@ -6,6 +6,7 @@ using namespace ccr;
bool polynomial::is_irreducible() bool polynomial::is_irreducible()
{ {
return false;
} }
void polynomial::generate_random_irreducible (uint size, prng&rng) void polynomial::generate_random_irreducible (uint size, prng&rng)