This section describes functions designed to specify the elliptic
curve cryptosystem and perform various operations on the elliptic
curve defined over a prime finite field. The examples of the operations
are shown below:
- Setting up operations
ECCPSet sets up elliptic curve domain parameters. ECCPSetKeyPair sets a pair of public and private keys for the given cryptosystem.
- Computation operations
ECCPAddPoint adds two points on the elliptic curve. ECCPMulPointScalar performs the scalar multiplication of a point on the elliptic curve.
ECCPSignDSA computes the digital signature of a message.
- Validation operations
ECCPValidate checks validity of the elliptic curve domain parameters.
ECCPValidateKeyPair validates correctness of the public and private keys.
- Generation operations
ECCPGenKeyPair generates a private key and computes a public key for the given
elliptic cryptosystem.
- Retrieval operations
ECCPGet retrieves elliptic curve domain parameters. ECCPGetOrderBitSize retrieves the size of a base point in bytes.
All functions described in this section employ a context IppsECCPState that
catches several auxiliary components specifying operations performed
on the elliptic curve or entire elliptic cryptosystem. ECCP stands
for Elliptic Curve Cryptography Prime and means that all functions
whose name include this abbreviation perform operations over a
prime
finite field GF(
p).