Home
last modified time | relevance | path

Searched refs:fp_init_from_buf (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/libecc/src/curves/
H A Dec_params.c87 ret = fp_init_from_buf(&tmp_a, &(out_params->ec_fp), in import_params()
90 ret = fp_init_from_buf(&tmp_b, &(out_params->ec_fp), in import_params()
125 ret = fp_init_from_buf(&tmp_gx, &(out_params->ec_fp), in import_params()
128 ret = fp_init_from_buf(&tmp_gy, &(out_params->ec_fp), in import_params()
131 ret = fp_init_from_buf(&tmp_gz, &(out_params->ec_fp), in import_params()
140 ret = fp_init_from_buf(&(out_params->ec_alpha_montgomery), &(out_params->ec_fp), in import_params()
143 ret = fp_init_from_buf(&(out_params->ec_gamma_montgomery), &(out_params->ec_fp), in import_params()
147 ret = fp_init_from_buf(&(out_params->ec_alpha_edwards), &(out_params->ec_fp), in import_params()
H A Daff_pt.c289 ret = fp_init_from_buf(&(pt->x), ctx, pt_buf, coord_len); EG(ret, err); in aff_pt_import_from_buf()
290 ret = fp_init_from_buf(&(pt->y), ctx, pt_buf + coord_len, coord_len); EG(ret, err); in aff_pt_import_from_buf()
H A Daff_pt_montgomery.c227 ret = fp_init_from_buf(&(pt->u), ctx, pt_buf, coord_len); EG(ret, err); in aff_pt_montgomery_import_from_buf()
228 ret = fp_init_from_buf(&(pt->v), ctx, pt_buf + coord_len, coord_len); EG(ret, err); in aff_pt_montgomery_import_from_buf()
H A Dprj_pt.c477 ret = fp_init_from_buf(&(pt->X), ctx, pt_buf, coord_len); EG(ret, err); in prj_pt_import_from_buf()
478 ret = fp_init_from_buf(&(pt->Y), ctx, pt_buf + coord_len, coord_len); EG(ret, err); in prj_pt_import_from_buf()
479 ret = fp_init_from_buf(&(pt->Z), ctx, pt_buf + (2 * coord_len), coord_len); EG(ret, err); in prj_pt_import_from_buf()
526 ret = fp_init_from_buf(&(pt->X), ctx, pt_buf, coord_len); EG(ret, err); in prj_pt_import_from_aff_buf()
527 ret = fp_init_from_buf(&(pt->Y), ctx, pt_buf + coord_len, coord_len); EG(ret, err); in prj_pt_import_from_aff_buf()
H A Daff_pt_edwards.c241 ret = fp_init_from_buf(&(pt->x), ctx, pt_buf, coord_len); EG(ret, err); in aff_pt_edwards_import_from_buf()
242 ret = fp_init_from_buf(&(pt->y), ctx, pt_buf + coord_len, coord_len); EG(ret, err); in aff_pt_edwards_import_from_buf()
/freebsd/crypto/libecc/include/libecc/fp/
H A Dfp.h84 ATTRIBUTE_WARN_UNUSED_RET int fp_init_from_buf(fp_t A, fp_ctx_src_t fpctx, const u8 *buf, u16 bufle…
/freebsd/crypto/libecc/src/fp/
H A Dfp.c171 int fp_init_from_buf(fp_t in, fp_ctx_src_t fpctx, const u8 *buf, u16 buflen) in fp_init_from_buf() function
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c514 ret = fp_init_from_buf(&x, &(params->ec_fp), peerpubkey, peerpubkeylen); EG(ret, err); in uncompress_ecc_point()
/freebsd/crypto/libecc/src/sig/
H A Deddsa.c466 ret = fp_init_from_buf(&y, edwards_curve->a.ctx, buf_little_endian, buflen); EG(ret, err); in eddsa_decode_point()
493 ret = fp_init_from_buf(&tmp, edwards_curve->a.ctx, in eddsa_decode_point()