esp8266ndn
NDN Arduino library for ESP8266 and more
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ndnph::mbedtls::EcPoint Class Reference

EC point. More...

#include <mbed-common.hpp>

Inherited by ndnph::mbedtls::EcCurvePoint< Curve >.

Public Member Functions

 EcPoint ()
 Construct zero.
 
 EcPoint (const mbedtls_ecp_point *q)
 Construct from EC point.
 
 ~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.
 
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

EC point.

Constructor & Destructor Documentation

◆ EcPoint() [1/2]

ndnph::mbedtls::EcPoint::EcPoint ( )
inlineexplicit

Construct zero.

◆ EcPoint() [2/2]

ndnph::mbedtls::EcPoint::EcPoint ( const mbedtls_ecp_point *  q)
inlineexplicit

Construct from EC point.

◆ ~EcPoint()

ndnph::mbedtls::EcPoint::~EcPoint ( )
inline

Member Function Documentation

◆ decodeFrom()

bool ndnph::mbedtls::EcPoint::decodeFrom ( mbedtls_ecp_group *  group,
const Decoder::Tlv d 
)
inline

◆ encodeTo()

void ndnph::mbedtls::EcPoint::encodeTo ( mbedtls_ecp_group *  group,
Encoder encoder,
size_t  length 
) const
inline

◆ operator const mbedtls_ecp_point *()

ndnph::mbedtls::EcPoint::operator const mbedtls_ecp_point * ( ) const
inline

◆ operator mbedtls_ecp_point *()

ndnph::mbedtls::EcPoint::operator mbedtls_ecp_point * ( )
inline

◆ operator=()

EcPoint & ndnph::mbedtls::EcPoint::operator= ( const EcPoint )
delete

Copy assignment is disallowed due to lack of error handling.

◆ readBinary()

bool ndnph::mbedtls::EcPoint::readBinary ( mbedtls_ecp_group *  group,
const uint8_t *  value,
size_t  length 
)
inline

◆ writeBinary()

bool ndnph::mbedtls::EcPoint::writeBinary ( mbedtls_ecp_group *  group,
uint8_t *  room,
size_t  length 
) const
inline

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