esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Static Public Member Functions | List of all members
ndnph::port_ec_null::Ec Class Reference

Stub ECDSA algorithm implementation. More...

#include <null.hpp>

Classes

struct  Curve
 Give information about the curve. More...
 
class  PrivateKey
 Private key. More...
 
class  PublicKey
 Public key. More...
 

Static Public Member Functions

static bool generateKey (uint8_t pvt[Curve::PvtLen::value], uint8_t pub[Curve::PubLen::value])
 Generate key pair. More...
 

Detailed Description

Stub ECDSA algorithm implementation.

Member Function Documentation

◆ generateKey()

static bool ndnph::port_ec_null::Ec::generateKey ( uint8_t  pvt[Curve::PvtLen::value],
uint8_t  pub[Curve::PubLen::value] 
)
inlinestatic

Generate key pair.

Parameters
[out]pvtraw private key.
[out]pubraw public key.
Returns
whether success.

The documentation for this class was generated from the following file: