Searched refs:curve (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/common/crypto/ecc/
H A Decdecode.c55 #include "ecl-curve.h"
130 CHECK_OK(hexString2SECItem(NULL, &params->curve.a,
132 CHECK_OK(hexString2SECItem(NULL, &params->curve.b,
326 * (the NIST K-163 curve)
340 * (the NIST B-163 curve)
360 * (the NIST K-233 curve)
368 * (the NIST B-233 curve)
382 * (the NIST K-283 curve)
390 * (the NIST B-283 curve)
398 * (the NIST K-409 curve)
[all...]
H A Dec.c78 * the curve whose parameters are encoded in params with base point G.
169 /* Set up mp_ints containing the curve coefficients */
175 SECITEM_TO_MPINT( params->curve.a, &a );
176 SECITEM_TO_MPINT( params->curve.b, &b );
238 * point multiplication of that value with the curve's base point.
292 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve.a,
293 &ecParams->curve.a, kmflag));
294 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve.b,
295 &ecParams->curve.b, kmflag));
296 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.curve
[all...]
H A Decc_impl.h177 ECCurve curve; member in struct:ECParamsStr
189 SECItem publicValue; /* elliptic curve point encoded as
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Decc.c63 /* Definition of a curve. */
88 /* This tables defines aliases for curve names. */
128 const char *desc; /* Description of the curve. */
130 unsigned int fips:1; /* True if this is a FIPS140-2 approved curve. */
343 * Release a curve object.
357 * Return a copy of a curve object.
395 * Solve the right side of the equation that defines a curve.
451 elliptic_curve_t *curve, unsigned int *r_nbits)
486 possible to bypass this check by specifying the curve parameters
493 curve
446 generate_curve(unsigned int nbits, const char *name, elliptic_curve_t *curve, unsigned int *r_nbits) argument
1242 char *curve; local
[all...]
H A Dpubkey.c860 /* Init the array with the available curve parameters. */
878 /* Check whether a curve parameter has been given and then fill any
880 list = gcry_sexp_find_token (key_sexp, "curve", 5);
885 char *curve; local
891 curve = _gcry_sexp_nth_string (list, 1);
893 if (!curve)
895 /* No curve name given (or out of core). */
899 err = extraspec->get_param (curve, params);
900 gcry_free (curve);
915 err = GPG_ERR_INV_OBJ; /* "curve" give
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Decc.c63 /* Definition of a curve. */
88 /* This tables defines aliases for curve names. */
128 const char *desc; /* Description of the curve. */
130 unsigned int fips:1; /* True if this is a FIPS140-2 approved curve. */
343 * Release a curve object.
357 * Return a copy of a curve object.
395 * Solve the right side of the equation that defines a curve.
451 elliptic_curve_t *curve, unsigned int *r_nbits)
486 possible to bypass this check by specifying the curve parameters
493 curve
446 generate_curve(unsigned int nbits, const char *name, elliptic_curve_t *curve, unsigned int *r_nbits) argument
1242 char *curve; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c46 SECITEM_FreeItem(&params->curve.a, B_FALSE);
47 SECITEM_FreeItem(&params->curve.b, B_FALSE);
48 SECITEM_FreeItem(&params->curve.seed, B_FALSE);
192 /* bad curve OID */
290 /* bad curve OID */
405 /* bad curve OID */

Completed in 26 milliseconds