esp_idf_hal::sys

Type Alias mbedtls_ecdsa_context

Source
pub type mbedtls_ecdsa_context = mbedtls_ecp_keypair;
Expand description

\brief The ECDSA 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.

\note pk_wrap module assumes that “ecdsa_context” is identical to “ecp_keypair” (see for example structure “mbedtls_eckey_info” where ECDSA sign/verify functions are used also for EC key)

Aliased Type§

struct mbedtls_ecdsa_context {
    pub private_grp: mbedtls_ecp_group,
    pub private_d: mbedtls_mpi,
    pub private_Q: mbedtls_ecp_point,
}

Fields§

§private_grp: mbedtls_ecp_group§private_d: mbedtls_mpi§private_Q: mbedtls_ecp_point

Trait Implementations

Source§

impl Clone for mbedtls_ecp_keypair

Source§

fn clone(&self) -> mbedtls_ecp_keypair

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for mbedtls_ecp_keypair

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for mbedtls_ecp_keypair

Source§

fn default() -> mbedtls_ecp_keypair

Returns the “default value” for a type. Read more
Source§

impl Copy for mbedtls_ecp_keypair