Home
last modified time | relevance | path

Searched refs:alpha_edwards (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/crypto/libecc/include/libecc/curves/
H A Daff_pt.h79 …mery(ec_edwards_crv_src_t edwards_crv, ec_montgomery_crv_t montgomery_crv, fp_src_t alpha_edwards);
80 …(ec_edwards_crv_src_t edwards_crv, ec_montgomery_crv_src_t montgomery_crv, fp_src_t alpha_edwards);
82 …ards(ec_montgomery_crv_src_t montgomery_crv, ec_edwards_crv_t edwards_crv, fp_src_t alpha_edwards);
84 …ds_to_shortw(ec_edwards_crv_src_t edwards_crv, ec_shortw_crv_t shortw_crv, fp_src_t alpha_edwards);
85 …tw_check(ec_edwards_crv_src_t edwards_crv, ec_shortw_crv_src_t shortw_crv, fp_src_t alpha_edwards);
86 …s_crv_t edwards_crv, fp_src_t alpha_montgomery, fp_src_t gamma_montgomery, fp_src_t alpha_edwards);
88 …rds_src_t in_edwards, ec_shortw_crv_src_t shortw_crv, aff_pt_t out_shortw, fp_src_t alpha_edwards);
89 …in_shortw, ec_edwards_crv_src_t edwards_crv, aff_pt_edwards_t out_edwards, fp_src_t alpha_edwards);
/freebsd/crypto/libecc/src/curves/
H A Daff_pt_edwards.c310 fp_src_t alpha_edwards) in curve_edwards_to_montgomery() argument
317 ret = fp_check_initialized(alpha_edwards); EG(ret, err); in curve_edwards_to_montgomery()
318 MUST_HAVE((edwards_crv->a.ctx == alpha_edwards->ctx), ret, err); in curve_edwards_to_montgomery()
331 ret = fp_sqr(&tmp1, alpha_edwards); EG(ret, err); in curve_edwards_to_montgomery()
362 fp_src_t alpha_edwards) in curve_edwards_montgomery_check() argument
369 ret = curve_edwards_to_montgomery(e_crv, &check, alpha_edwards); EG(ret, err); in curve_edwards_montgomery_check()
395 fp_src_t alpha_edwards) in curve_montgomery_to_edwards() argument
402 ret = fp_check_initialized(alpha_edwards); EG(ret, err); in curve_montgomery_to_edwards()
403 MUST_HAVE((m_crv->A.ctx == alpha_edwards->ctx), ret, err); in curve_montgomery_to_edwards()
411 ret = fp_mul(&tmp2, &(m_crv->B), alpha_edwards); EG(ret, err); in curve_montgomery_to_edwards()
[all …]
H A Dec_params.c148 PARAM_BUF_PTR(in_str_params->alpha_edwards), in import_params()
149 PARAM_BUF_LEN(in_str_params->alpha_edwards)); EG(ret, err); in import_params()
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c334 fp_src_t alpha_edwards, in eddsa_encode_point() argument
346 ret = fp_check_initialized(alpha_edwards); EG(ret, err); in eddsa_encode_point()
384 ret = fp_inv(&tmp_y, alpha_edwards); EG(ret, err1); in eddsa_encode_point()
428 fp_src_t alpha_edwards, const u8 *buf, u16 buflen, in eddsa_decode_point() argument
448 ret = fp_check_initialized(alpha_edwards); EG(ret, err); in eddsa_decode_point()
542 ret = fp_mul(&x, &x, alpha_edwards); EG(ret, err); in eddsa_decode_point()
875 fp_src_t alpha_edwards; local
911 alpha_edwards = &(shortw_curve_params->ec_alpha_edwards);
916 gamma_montgomery, alpha_edwards); EG(ret, err);
919 ret = eddsa_decode_point(&_Tmp, &edwards_curve, alpha_edwards, buf, buflen,
[all …]
/freebsd/crypto/libecc/include/libecc/curves/known/
H A Dec_params_external.h97 const ec_str_param *alpha_edwards; member
H A Dec_params_secp256r1.h195 .alpha_edwards = &secp256r1_alpha_edwards_str_param,
H A Dec_params_gost512.h254 .alpha_edwards = &GOST_512bits_curve_alpha_edwards_str_param,
H A Dec_params_brainpoolp512r1.h245 .alpha_edwards = &brainpoolp512r1_alpha_edwards_str_param,
H A Dec_params_brainpoolp384r1.h233 .alpha_edwards = &brainpoolp384r1_alpha_edwards_str_param,
H A Dec_params_secp384r1.h219 .alpha_edwards = &secp384r1_alpha_edwards_str_param,
H A Dec_params_gost256.h201 .alpha_edwards = &GOST_256bits_curve_alpha_edwards_str_param,
H A Dec_params_frp256v1.h201 .alpha_edwards = &frp256v1_alpha_edwards_str_param,
H A Dec_params_brainpoolp256r1.h195 .alpha_edwards = &brainpoolp256r1_alpha_edwards_str_param,
H A Dec_params_secp521r1.h295 .alpha_edwards = &secp521r1_alpha_edwards_str_param,
H A Dec_params_brainpoolp224r1.h263 .alpha_edwards = &brainpoolp224r1_alpha_edwards_str_param,
H A Dec_params_secp224r1.h256 .alpha_edwards = &secp224r1_alpha_edwards_str_param,
H A Dec_params_gost_R3410_2001_CryptoPro_A_ParamSet.h265 .alpha_edwards = &gost_R3410_2001_CryptoPro_A_ParamSet_alpha_edwards_str_param,
H A Dec_params_wei25519.h284 .alpha_edwards = &wei25519_alpha_edwards_str_param,
H A Dec_params_secp192r1.h280 .alpha_edwards = &secp192r1_alpha_edwards_str_param,
H A Dec_params_brainpoolp384t1.h317 .alpha_edwards = &brainpoolp384t1_alpha_edwards_str_param,
H A Dec_params_bign256v1.h265 .alpha_edwards = &bign256v1_alpha_edwards_str_param,
H A Dec_params_secp256k1.h268 .alpha_edwards = &secp256k1_alpha_edwards_str_param,
H A Dec_params_secp192k1.h257 .alpha_edwards = &secp192k1_alpha_edwards_str_param,
H A Dec_params_secp224k1.h270 .alpha_edwards = &secp224k1_alpha_edwards_str_param,
H A Dec_params_gost_R3410_2001_CryptoPro_XchA_ParamSet.h265 .alpha_edwards = &gost_R3410_2001_CryptoPro_XchA_ParamSet_alpha_edwards_str_param,

123