esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ndnph::mbedtls::EcCurvePoint< Curve > Class Template Reference

EC point associated with a curve. More...

#include <mbed-common.hpp>

Inherits ndnph::mbedtls::EcPoint.

Public Member Functions

bool writeBinary (uint8_t room[Curve::PubLen::value]) const
 
void encodeTo (Encoder &encoder) const
 
bool readBinary (const uint8_t *value, size_t length)
 
bool decodeFrom (const Decoder::Tlv &d)
 
- Public Member Functions inherited from ndnph::mbedtls::EcPoint
 EcPoint ()
 Construct zero. More...
 
 EcPoint (const mbedtls_ecp_point *q)
 Construct from EC point. More...
 
 ~EcPoint ()
 
 operator mbedtls_ecp_point * ()
 
 operator const mbedtls_ecp_point * () const
 
EcPointoperator= (const EcPoint &)=delete
 Copy assignment is disallowed due to lack of error handling. More...
 
bool writeBinary (mbedtls_ecp_group *group, uint8_t *room, size_t length) const
 
void encodeTo (mbedtls_ecp_group *group, Encoder &encoder, size_t length) const
 
bool readBinary (mbedtls_ecp_group *group, const uint8_t *value, size_t length)
 
bool decodeFrom (mbedtls_ecp_group *group, const Decoder::Tlv &d)
 

Detailed Description

template<typename Curve>
class ndnph::mbedtls::EcCurvePoint< Curve >

EC point associated with a curve.

Member Function Documentation

◆ decodeFrom()

template<typename Curve >
bool ndnph::mbedtls::EcCurvePoint< Curve >::decodeFrom ( const Decoder::Tlv d)
inline

◆ encodeTo()

template<typename Curve >
void ndnph::mbedtls::EcCurvePoint< Curve >::encodeTo ( Encoder encoder) const
inline

◆ readBinary()

template<typename Curve >
bool ndnph::mbedtls::EcCurvePoint< Curve >::readBinary ( const uint8_t *  value,
size_t  length 
)
inline

◆ writeBinary()

template<typename Curve >
bool ndnph::mbedtls::EcCurvePoint< Curve >::writeBinary ( uint8_t  room[Curve::PubLen::value]) const
inline

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