codecrypt/lib/nd.cpp

36 lines
516 B
C++

#include "codecrypt.h"
using namespace ccr;
using namespace ccr::nd;
int nd::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 delta, uint h, prng&rng)
{
return -1; //TODO
}
int pubkey::verify (const bvector&in, const bvector&hash, uint delta)
{
return -1; //TODO
}