diff options
author | lloyd <[email protected]> | 2008-08-27 18:54:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-08-27 18:54:00 +0000 |
commit | e3e72e8f68de86a88bcc6d62364285d9e75a9e85 (patch) | |
tree | d6db2a32247f740d92c8673773c552e951e66c9e /doc/examples | |
parent | 5e62e21fd9d1880fe1bf24a708f21f783ffa2721 (diff) |
Incomplete ECDSA test/example
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/ecdsa.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples/ecdsa.cpp b/doc/examples/ecdsa.cpp new file mode 100644 index 000000000..bf2d79803 --- /dev/null +++ b/doc/examples/ecdsa.cpp @@ -0,0 +1,14 @@ +#include <botan/botan.h> +#include <botan/ecdsa.h> + +using namespace Botan; + +int main() + { + std::auto_ptr<RandomNumberGenerator> rng(RandomNumberGenerator::make_rng()); + + EC_Domain_Params params = + + ECDSA_PrivateKey ecdsa(rng, + + } |