Home
last modified time | relevance | path

Searched refs:pt_buf_len (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/libecc/include/libecc/curves/
H A Daff_pt.h50 u16 pt_buf_len, ec_shortw_crv_src_t crv);
51 ATTRIBUTE_WARN_UNUSED_RET int aff_pt_export_to_buf(aff_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
76 u16 pt_buf_len, ec_edwards_crv_src_t crv);
77 …N_UNUSED_RET int aff_pt_edwards_export_to_buf(aff_pt_edwards_src_t pt, u8 *pt_buf, u32 pt_buf_len);
117 u16 pt_buf_len, ec_montgomery_crv_src_t crv);
118 …ED_RET int aff_pt_montgomery_export_to_buf(aff_pt_montgomery_src_t pt, u8 *pt_buf, u32 pt_buf_len);
H A Dprj_pt.h68 u16 pt_buf_len, ec_shortw_crv_src_t crv);
71 u16 pt_buf_len, ec_shortw_crv_src_t crv);
72 ATTRIBUTE_WARN_UNUSED_RET int prj_pt_export_to_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
73 ATTRIBUTE_WARN_UNUSED_RET int prj_pt_export_to_aff_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len);
/freebsd/crypto/libecc/src/curves/
H A Daff_pt.c274 u16 pt_buf_len, ec_shortw_crv_src_t crv) in aff_pt_import_from_buf() argument
287 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_import_from_buf()
325 int aff_pt_export_to_buf(aff_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len) in aff_pt_export_to_buf() argument
338 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_export_to_buf()
H A Daff_pt_montgomery.c213 u16 pt_buf_len, ec_montgomery_crv_src_t crv) in aff_pt_montgomery_import_from_buf() argument
225 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_montgomery_import_from_buf()
258 int aff_pt_montgomery_export_to_buf(aff_pt_montgomery_src_t pt, u8 *pt_buf, u32 pt_buf_len) in aff_pt_montgomery_export_to_buf() argument
274 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_montgomery_export_to_buf()
H A Daff_pt_edwards.c227 u16 pt_buf_len, ec_edwards_crv_src_t crv) in aff_pt_edwards_import_from_buf() argument
239 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_edwards_import_from_buf()
273 u8 *pt_buf, u32 pt_buf_len) in aff_pt_edwards_export_to_buf() argument
289 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in aff_pt_edwards_export_to_buf()
H A Dprj_pt.c464 u16 pt_buf_len, ec_shortw_crv_src_t crv) in prj_pt_import_from_buf() argument
475 MUST_HAVE((pt_buf_len == (3 * coord_len)), ret, err); in prj_pt_import_from_buf()
513 u16 pt_buf_len, ec_shortw_crv_src_t crv) in prj_pt_import_from_aff_buf() argument
524 MUST_HAVE((pt_buf_len == (2 * coord_len)), ret, err); in prj_pt_import_from_aff_buf()
562 int prj_pt_export_to_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len) in prj_pt_export_to_buf() argument
578 MUST_HAVE((pt_buf_len == (3 * coord_len)), ret, err); in prj_pt_export_to_buf()
600 int prj_pt_export_to_aff_buf(prj_pt_src_t pt, u8 *pt_buf, u32 pt_buf_len) in prj_pt_export_to_aff_buf() argument
618 ret = aff_pt_export_to_buf(&tmp_aff, pt_buf, pt_buf_len); in prj_pt_export_to_aff_buf()