hu_RegisterSbg56ECC_Curve_Optimization()

This is the generic prototype for the ECC registration functions listed below.

Synopsis:

#include "hugse56.h"
 
int hu_RegisterSbg56ECC_Curve_Optimization(sb_GlobalCtx sbCtx)

Arguments:

sbCtx

A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

The name of each function consists of three parts: a constant (hu_RegisterSbg56ECC), the name of the curve (Sect163k1) and the optimization level of the curve (0, 1, or 2). Note that only the optimization level of 2 is available in this release.

For example, the function hu_RegisterSbg56ECCSect163K1_2() breaks down into:
  • constant: hu_RegisterSbg56ECC
  • curve name: Sect163K1
  • optimization level: 2

Each of these functions enables support for the creation of a parameter object for a given curve with a given optimization level.

With this information you should easily be able to pick the registration function you want from the list below and determine the identifier associated with it. Note that only optlevel of 2 is available in this release.

  • hu_RegisterSbg56ECCSect163k1_optlevel()
  • hu_RegisterSbg56ECCSect283k1_optlevel()
  • hu_RegisterSbg56ECCSecp192r1_optlevel()
  • hu_RegisterSbg56ECCSecp256r1_optlevel()
  • hu_RegisterSbg56ECCSecp384r1_optlevel()
  • hu_RegisterSbg56ECCSecp521r1_optlevel()

Each of the above functions enable the following function to be called:

Returns: