EC Groups

Index

ec-group/from-ber ec-group/from-name ec-group/from-oid ec-group/from-params ec-group/from-pem ec-group/get-a ec-group/get-b ec-group/get-curve-oid ec-group/get-gx ec-group/get-gy ec-group/get-order ec-group/get-p ec-group/supports-application-specific-group ec-group/supports-named-group ec-group/to-der ec-group/to-pem

Reference

(ec-group/from-ber ber)

Create a new EC Group from a BER encoded ECC domain parameter set.

(ec-group/from-name name)

Create a new EC Group from a common group name (e.g., "secp256r1").

(ec-group/from-oid oid)

Create a new EC Group from a group named by an object identifier.

(ec-group/from-params oid p a b gx gy order)

Create a new EC Group from the given parameters. The `oid` is an OID object, `p`, `a`, `b`, `gx`, gy` and `order` are MPI objects.

(ec-group/from-pem pem)

Create a new EC Group from the PEM/ASN.1 encoding.

(ec-group/get-a ec-group-obj)

Returns the MPI object representing the `a` parameter of the elliptic curve equation.

(ec-group/get-b ec-group-obj)

Returns the MPI object representing the `b` parameter of the elliptic curve equation.

(ec-group/get-curve-oid ec-group-obj)

Returns the curve OID object of an EC Group.

(ec-group/get-gx ec-group-obj)

Returns the MPI object representing the `x` coordinate of the base point.

(ec-group/get-gy ec-group-obj)

Returns the MPI object representing the `y` coordinate of the base point.

(ec-group/get-order ec-group-obj)

Returns the MPI object representing the order of the base point.

(ec-group/get-p ec-group-obj)

Returns the MPI object representing the prime modulus of the elliptic curve field.

(ec-group/supports-application-specific-group)

Returns true if it is possible to register an application specific elliptic curve, false otherwise.

(ec-group/supports-named-group name)

Returns true if `name` is a supported EC group, false otherwise.

(ec-group/to-der ec-group-obj)

Returns an EC Group in DER encoding.

(ec-group/to-pem ec-group-obj)

Returns an EC Group in PEM encoding.