Home
last modified time | relevance | path

Searched refs:shortw_curve_params (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/libecc/src/ecdh/
H A Dx25519_448.c160 ec_params shortw_curve_params; in x25519_448_core() local
185 ret = import_params(&shortw_curve_params, &wei25519_str_params); EG(ret, err); in x25519_448_core()
191 ret = import_params(&shortw_curve_params, &wei448_str_params); EG(ret, err); in x25519_448_core()
199 shortw_curve = &(shortw_curve_params.ec_curve); in x25519_448_core()
200 cofactor = &(shortw_curve_params.ec_gen_cofactor); in x25519_448_core()
201 alpha_montgomery = &(shortw_curve_params.ec_alpha_montgomery); in x25519_448_core()
202 gamma_montgomery = &(shortw_curve_params.ec_gamma_montgomery); in x25519_448_core()
286 IGNORE_RET_VAL(local_memset(&shortw_curve_params, 0, sizeof(shortw_curve_params))); in x25519_448_core()
/freebsd/crypto/libecc/include/libecc/sig/
H A Deddsa.h117 const ec_params *shortw_curve_params,
120 const ec_params *shortw_curve_params,
125 const ec_params *shortw_curve_params,
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c741 const ec_params *shortw_curve_params, in eddsa_import_priv_key() argument
750 MUST_HAVE((priv_key != NULL) && (buf != NULL) && (shortw_curve_params != NULL), ret, err); in eddsa_import_priv_key()
766 priv_key->params = shortw_curve_params; in eddsa_import_priv_key()
866 const ec_params *shortw_curve_params, argument
893 MUST_HAVE((pub_key != NULL) && (shortw_curve_params != NULL) && (buf != NULL), ret, err);
908 shortw_curve = &(shortw_curve_params->ec_curve);
909 alpha_montgomery = &(shortw_curve_params->ec_alpha_montgomery);
910 gamma_montgomery = &(shortw_curve_params->ec_gamma_montgomery);
911 alpha_edwards = &(shortw_curve_params->ec_alpha_edwards);
926 nn_src_t gen_order = &(shortw_curve_params->ec_gen_order);
[all …]