# Curvy.Point (Curvy v0.3.0) View Source

Module used for manipulating ECDSA point coordinates.

# Link to this section Summary

## Functions

Adds two elliptic curve points.

Doubles an elliptic curve point.

Compares two elliptic curve points.

Converts the signature to a `Point`

using the given hash integer and
recovery ID.

Mutiplies an elliptic curve point with the given scalar.

Flips the elliptic curve point to `(x, -y)`

.

Subtracts the second elliptic curve point from the first.

# Link to this section Types

## Specs

Jacobian Point Coordiantes

## Specs

Point Coordinates

# Link to this section Functions

## Specs

Adds two elliptic curve points.

Returns a `Point`

.

## Specs

Doubles an elliptic curve point.

Returns a `Point`

.

## Specs

Compares two elliptic curve points.

Returns a `t:boolean`

.

## Specs

from_signature(Curvy.Signature.t(), integer(), Curvy.Signature.recovery_id()) :: t() | :error

Converts the signature to a `Point`

using the given hash integer and
recovery ID.

## Specs

Mutiplies an elliptic curve point with the given scalar.

Returns a `Point`

.

## Specs

Flips the elliptic curve point to `(x, -y)`

.

Returns a `Point`

.

## Specs

Subtracts the second elliptic curve point from the first.

Returns a `Point`

.