Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mbedtls_ecdh_context Struct Reference

mbedtls_ecdh_context Struct Reference

The ECDH context structure. More...

#include <ecdh.h>

Data Fields

mbedtls_ecp_group grp
mbedtls_mpi d
mbedtls_ecp_point Q
mbedtls_ecp_point Qp
mbedtls_mpi z
int point_format
mbedtls_ecp_point Vi
mbedtls_ecp_point Vf
mbedtls_mpi _d
int restart_enabled
mbedtls_ecp_restart_ctx rs
uint8_t point_format
mbedtls_ecp_group_id grp_id
mbedtls_ecdh_variant var
union {
ctx
uint8_t restart_enabled

Detailed Description

The ECDH context structure.

Warning:
Performing multiple operations concurrently on the same ECDSA context is not supported; objects of this type should not be shared between multiple threads.

Definition at line 106 of file ecdh.h.


Field Documentation

The previous d.

Definition at line 117 of file ecdh.h.

union { ... } ctx

Implementation-specific context. The context in use is specified by the var field.

The private key.

Definition at line 110 of file ecdh.h.

The elliptic curve used.

Definition at line 109 of file ecdh.h.

mbedtls_ecp_group_id grp_id

The elliptic curve used.

Definition at line 125 of file ecdh.h.

uint8_t point_format

The format of point export in TLS messages as defined in RFC 4492.

Definition at line 123 of file ecdh.h.

The format of point export in TLS messages.

Definition at line 114 of file ecdh.h.

The public key.

Definition at line 111 of file ecdh.h.

The value of the public key of the peer.

Definition at line 112 of file ecdh.h.

uint8_t restart_enabled

The flag for restartable mode. Functions of an alternative implementation not supporting restartable mode must return MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED error if this flag is set.

Definition at line 137 of file ecdh.h.

The flag for restartable mode.

Definition at line 119 of file ecdh.h.

The restart context for EC computations.

Definition at line 120 of file ecdh.h.

The ECDH implementation/structure used.

Definition at line 126 of file ecdh.h.

The unblinding value.

Definition at line 116 of file ecdh.h.

The blinding value.

Definition at line 115 of file ecdh.h.

The shared secret.

Definition at line 113 of file ecdh.h.