Struct openssl::ec::EcPoint

source ·
pub struct EcPoint(_);
Expand description

Represents a point on the curve

OpenSSL documentation at EC_POINT_new

Implementations

Creates a new point on the specified curve.

OpenSSL documentation at EC_POINT_new

Creates point from a binary representation

OpenSSL documentation at EC_POINT_oct2point

Methods from Deref<Target = EcPointRef>

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 resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Executes the destructor for this type. Read more
The raw C type.
The type representing a reference to this type.
Constructs an instance 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.