Struct openssl::ec::EcPointRef

source ·
pub struct EcPointRef(_);
Expand description

Reference to EcPoint

Implementations

Computes a + b, storing the result in self.

OpenSSL documentation at EC_POINT_add

Computes q * m, storing the result in self.

OpenSSL documentation at EC_POINT_mul

Computes generator * n, storing the result ing self.

Computes generator * n + q * m, storing the result in self.

Inverts self.

OpenSSL documentation at EC_POINT_invert

Serializes the point to a binary representation.

OpenSSL documentation at EC_POINT_point2oct

Determines if this point is equal to another.

OpenSSL doucmentation at EC_POINT_cmp

Place affine coordinates of a curve over a prime field in the provided x and y BigNums

OpenSSL documentation at EC_POINT_get_affine_coordinates_GFp

Place affine coordinates of a curve over a binary field in the provided x and y BigNums

OpenSSL documentation at EC_POINT_get_affine_coordinates_GF2m

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.