diff --git a/lib/mce.cpp b/lib/mce.cpp index 747cc87..954d441 100644 --- a/lib/mce.cpp +++ b/lib/mce.cpp @@ -7,24 +7,29 @@ using namespace ccr::mce; int generate (pubkey&pub, privkey&priv, prng&rng) { + return -1; //TODO } int pubkey::encrypt (const bvector& in, bvector&out, prng&rng) { + return -1; //TODO } int privkey::decrypt (const bvector&in, bvector&out) { + return -1; //TODO } 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) { + return -1; //TODO } diff --git a/lib/nd.cpp b/lib/nd.cpp index d264abc..079b6e6 100644 --- a/lib/nd.cpp +++ b/lib/nd.cpp @@ -7,24 +7,29 @@ using namespace ccr::nd; int generate (pubkey&pub, privkey&priv, prng&rng) { + return -1; //TODO } int pubkey::encrypt (const bvector& in, bvector&out, prng&rng) { + return -1; //TODO } int privkey::decrypt (const bvector&in, bvector&out) { + return -1; //TODO } 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) { + return -1; //TODO } diff --git a/lib/polynomial.cpp b/lib/polynomial.cpp index 59b1c19..34dc41e 100644 --- a/lib/polynomial.cpp +++ b/lib/polynomial.cpp @@ -6,6 +6,7 @@ using namespace ccr; bool polynomial::is_irreducible() { + return false; } void polynomial::generate_random_irreducible (uint size, prng&rng)