openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libgcrypt/1.8.4-r0/libgcrypt-1.8.4/mpi/ec.c
mpi_ec_t _gcry_mpi_ec_p_internal_new(enum gcry_mpi_ec_models model,
                                     enum ecc_dialects dialect, int flags,
                                     gcry_mpi_t p, gcry_mpi_t a, gcry_mpi_t b)
{
    mpi_ec_t ctx;

    ctx = xcalloc(1, sizeof *ctx);
    ec_p_init(ctx, model, dialect, flags, p, a, b);

    return ctx;
}
/* This function returns a new context for elliptic curve based on the
   field GF(p).  P is the prime specifying this field, A is the first
   coefficient, B is the second coefficient, and MODEL is the model
   for the curve.  This function is only used within Libgcrypt and not
   part of the public API.

   This context needs to be released using _gcry_mpi_ec_free.  */
This function returns a new context for elliptic curve based on the
field GF(p).  P is the prime specifying this field, A is the first
coefficient, B is the second coefficient, and MODEL is the model
for the curve.  This function is only used within Libgcrypt and not
part of the public API.

This context needs to be released using _gcry_mpi_ec_free.
This function returns a new context for elliptic curve based on the field GF ( p ) . P is the prime specifying this field A is the first coefficient B is the second coefficient and MODEL is the model for the curve . This function is only used within Libgcrypt and not part of the public API . This context needs to be released using _gcry_mpi_ec_free .
mpi_ec_t _gcry_mpi_ec_p_internal_new(enum gcry_mpi_ec_models model,
                                     enum ecc_dialects dialect, int flags,
                                     gcry_mpi_t p, gcry_mpi_t a, gcry_mpi_t b)
{
    mpi_ec_t ctx;
    ctx = xcalloc(1, sizeof *ctx);
    ec_p_init(ctx, model, dialect, flags, p, a, b);
    return ctx;
}
mpi_ec_t _gcry_mpi_ec_p_internal_new ( enum gcry_mpi_ec_models model , enum ecc_dialects dialect , int flags , gcry_mpi_t p , gcry_mpi_t a , gcry_mpi_t b ) { mpi_ec_t ctx ; ctx = xcalloc ( 1 , sizeof * ctx ) ; ec_p_init ( ctx , model , dialect , flags , p , a , b ) ; return ctx ; }
This function returns a new context for elliptic curve based on the
field GF(p).
This function returns a new context for elliptic curve based on the field GF ( p ) .