/freebsd/crypto/libecc/src/fp/ |
H A D | fp.c | 57 bitcnt_t p_shift, nn_src_t p_normalized, word_t p_reciprocal) in fp_ctx_init() argument 65 ret = nn_check_initialized(p_normalized); EG(ret, err); in fp_ctx_init() 72 ret = nn_copy(&(ctx->p_normalized), p_normalized); EG(ret, err); in fp_ctx_init() 89 nn p, r, r_square, p_normalized; in fp_ctx_init_from_p() local 93 p.magic = r.magic = r_square.magic = p_normalized.magic = WORD(0); in fp_ctx_init_from_p() 102 ret = nn_init(&p_normalized, 0); EG(ret, err); in fp_ctx_init_from_p() 115 ret = nn_compute_div_coefs(&p_normalized, &p_shift, &p_reciprocal, &p); EG(ret, err); in fp_ctx_init_from_p() 118 mpinv, (bitcnt_t)p_shift, &p_normalized, p_reciprocal); in fp_ctx_init_from_p() 124 nn_uninit(&p_normalized); in fp_ctx_init_from_p()
|
/freebsd/crypto/libecc/include/libecc/fp/ |
H A D | fp.h | 52 nn p_normalized; member 66 bitcnt_t p_shift, nn_src_t p_normalized, word_t p_reciprocal);
|
/freebsd/crypto/libecc/include/libecc/curves/known/ |
H A D | ec_params_external.h | 69 const ec_str_param *p_normalized; member
|
H A D | ec_params_secp256r1.h | 182 .p_normalized = &secp256r1_p_str_param,
|
H A D | ec_params_gost512.h | 241 .p_normalized = &GOST_512bits_curve_p_normalized_str_param,
|
H A D | ec_params_brainpoolp512r1.h | 232 .p_normalized = &brainpoolp512r1_p_str_param,
|
H A D | ec_params_brainpoolp384r1.h | 220 .p_normalized = &brainpoolp384r1_p_str_param,
|
H A D | ec_params_secp384r1.h | 206 .p_normalized = &secp384r1_p_str_param,
|
H A D | ec_params_gost256.h | 188 .p_normalized = &GOST_256bits_curve_p_str_param,
|
H A D | ec_params_frp256v1.h | 188 .p_normalized = &frp256v1_p_str_param,
|
H A D | ec_params_brainpoolp256r1.h | 182 .p_normalized = &brainpoolp256r1_p_str_param,
|
H A D | ec_params_secp521r1.h | 282 .p_normalized = &secp521r1_p_normalized_str_param,
|
H A D | ec_params_brainpoolp224r1.h | 250 .p_normalized = &brainpoolp224r1_p_normalized_str_param,
|
H A D | ec_params_secp224r1.h | 243 .p_normalized = &secp224r1_p_normalized_str_param,
|
H A D | ec_params_gost_R3410_2001_CryptoPro_A_ParamSet.h | 252 .p_normalized = &gost_R3410_2001_CryptoPro_A_ParamSet_p_normalized_str_param,
|
H A D | ec_params_wei25519.h | 271 .p_normalized = &wei25519_p_normalized_str_param,
|
H A D | ec_params_secp192r1.h | 267 .p_normalized = &secp192r1_p_normalized_str_param,
|
H A D | ec_params_brainpoolp384t1.h | 304 .p_normalized = &brainpoolp384t1_p_normalized_str_param,
|
H A D | ec_params_bign256v1.h | 252 .p_normalized = &bign256v1_p_normalized_str_param,
|
H A D | ec_params_secp256k1.h | 255 .p_normalized = &secp256k1_p_normalized_str_param,
|
H A D | ec_params_secp192k1.h | 244 .p_normalized = &secp192k1_p_normalized_str_param,
|
H A D | ec_params_secp224k1.h | 257 .p_normalized = &secp224k1_p_normalized_str_param,
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_div.h | 36 ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_div.h | 36 ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
|
/freebsd/crypto/libecc/src/curves/ |
H A D | ec_params.c | 69 PARAM_BUF_PTR(in_str_params->p_normalized), in import_params() 70 PARAM_BUF_LEN(in_str_params->p_normalized)); EG(ret, err); in import_params()
|