Home
last modified time | relevance | path

Searched refs:fp_export_to_buf (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/libecc/src/sig/
H A Deckcdsa.c243 ret = fp_export_to_buf(tmp_buf, p_len, &(y_aff.x)); EG(ret, err); in _eckcdsa_sign_init()
244 ret = fp_export_to_buf(tmp_buf + p_len, p_len, &(y_aff.y)); EG(ret, err); in _eckcdsa_sign_init()
407 ret = fp_export_to_buf(tmp_buf, p_len, &(kG.X)); EG(ret, err); in _eckcdsa_sign_finalize()
616 ret = fp_export_to_buf(tmp_buf, p_len, &(y_aff.x)); EG(ret, err); in _eckcdsa_verify_init()
617 ret = fp_export_to_buf(tmp_buf + p_len, p_len, &(y_aff.y)); EG(ret, err); in _eckcdsa_verify_init()
779 ret = fp_export_to_buf(tmp_buf, p_len, &(Wprime->X)); EG(ret, err); in _eckcdsa_verify_finalize()
H A Decsdsa_common.c212 ret = fp_export_to_buf(Wx, p_len, &(kG.X)); EG(ret, err); in __ecsdsa_sign_init()
215 ret = fp_export_to_buf(Wy, p_len, &(kG.Y)); EG(ret, err); in __ecsdsa_sign_init()
509 ret = fp_export_to_buf(Wprimex, p_len, &(Wprime->X)); EG(ret, err); in __ecsdsa_verify_init()
514 ret = fp_export_to_buf(Wprimey, p_len, &(Wprime->Y)); EG(ret, err); in __ecsdsa_verify_init()
H A Dbip0340.c281 ret = fp_export_to_buf(&sig[0], p_len, &(Y.X)); EG(ret, err); in _bip0340_sign()
312 ret = fp_export_to_buf(&sig[0], p_len, &(kG.X)); EG(ret, err); in _bip0340_sign()
316 ret = fp_export_to_buf(&sig[0], p_len, &(Y.X)); EG(ret, err); in _bip0340_sign()
327 ret = fp_export_to_buf(&sig[0], p_len, &(kG.X)); EG(ret, err); in _bip0340_sign()
440 ret = fp_export_to_buf(&Pubx[0], p_len, &(Y.X)); EG(ret, err); in _bip0340_verify_init()
785 ret = fp_export_to_buf(&Pubx[0], p_len, &(pub_keys[i]->y.X)); EG(ret, err); in _bip0340_compute_batch_csprng_seed()
972 ret = fp_export_to_buf(&Pubx[0], p_len, &(Y->X)); EG(ret, err); in _bip0340_verify_batch_no_memory()
1233 ret = fp_export_to_buf(&Pubx[0], p_len, &(Y->X)); EG(ret, err); in _bip0340_verify_batch()
H A Dbign_common.c632 ret = fp_export_to_buf(&FE2OS_W[0], p_len, &(kG.X)); EG(ret, err); in __bign_sign_finalize()
634 ret = fp_export_to_buf(&FE2OS_W[p_len], p_len, &(kG.Y)); EG(ret, err); in __bign_sign_finalize()
945 ret = fp_export_to_buf(&FE2OS_W[0], p_len, &(W->X)); EG(ret, err); in __bign_verify_finalize()
947 ret = fp_export_to_buf(&FE2OS_W[p_len], p_len, &(W->Y)); EG(ret, err); in __bign_verify_finalize()
H A Decfsdsa.c188 ret = fp_export_to_buf(r, p_len, &(kG.X)); EG(ret, err); in _ecfsdsa_sign_init()
189 ret = fp_export_to_buf(r + p_len, p_len, &(kG.Y)); EG(ret, err); in _ecfsdsa_sign_init()
603 ret = fp_export_to_buf(r_prime, p_len, &(Wprime->X)); EG(ret, err); in _ecfsdsa_verify_finalize()
604 ret = fp_export_to_buf(r_prime + p_len, p_len, &(Wprime->Y)); EG(ret, err); in _ecfsdsa_verify_finalize()
H A Dsm2.c183 ret = fp_export_to_buf(buf, p_len, a); EG(ret, err); in sm2_compute_Z()
187 ret = fp_export_to_buf(buf, p_len, b); EG(ret, err); in sm2_compute_Z()
/freebsd/crypto/libecc/include/libecc/fp/
H A Dfp.h96 ATTRIBUTE_WARN_UNUSED_RET int fp_export_to_buf(u8 *buf, u16 buflen, fp_src_t in_fp);
/freebsd/crypto/libecc/src/curves/
H A Daff_pt.c341 ret = fp_export_to_buf(pt_buf, coord_len, &(pt->x)); EG(ret, err); in aff_pt_export_to_buf()
342 ret = fp_export_to_buf(pt_buf + coord_len, coord_len, &(pt->y)); in aff_pt_export_to_buf()
H A Daff_pt_montgomery.c277 ret = fp_export_to_buf(pt_buf, coord_len, &(pt->u)); EG(ret, err); in aff_pt_montgomery_export_to_buf()
278 ret = fp_export_to_buf(pt_buf + coord_len, coord_len, &(pt->v)); in aff_pt_montgomery_export_to_buf()
H A Daff_pt_edwards.c292 ret = fp_export_to_buf(pt_buf, coord_len, &(pt->x)); EG(ret, err); in aff_pt_edwards_export_to_buf()
293 ret = fp_export_to_buf(pt_buf + coord_len, coord_len, &(pt->y)); in aff_pt_edwards_export_to_buf()
H A Dprj_pt.c581 ret = fp_export_to_buf(pt_buf, coord_len, &(pt->X)); EG(ret, err); in prj_pt_export_to_buf()
582 ret = fp_export_to_buf(pt_buf + coord_len, coord_len, &(pt->Y)); EG(ret, err); in prj_pt_export_to_buf()
583 ret = fp_export_to_buf(pt_buf + (2 * coord_len), coord_len, &(pt->Z)); in prj_pt_export_to_buf()
/freebsd/crypto/libecc/src/examples/sss/
H A Dsss.c255 ret = fp_export_to_buf(cur_share_i->share, SSS_SECRET_SIZE, &s); EG(ret, err); in _sss_raw_generate()
260 ret = fp_export_to_buf(secret->secret, SSS_SECRET_SIZE, &a0); in _sss_raw_generate()
387 ret = fp_export_to_buf(secret->secret, SSS_SECRET_SIZE, &y); in _sss_raw_lagrange()
/freebsd/crypto/libecc/src/ecdh/
H A Decccdh.c224 ret = fp_export_to_buf(shared_secret, shared_secret_len, &(Q->X)); in ecccdh_derive_secret()
H A Dx25519_448.c279 ret = fp_export_to_buf(u_, len, &(_Tmp.u)); EG(ret, err); in x25519_448_core()
/freebsd/crypto/libecc/src/fp/
H A Dfp.c461 int fp_export_to_buf(u8 *buf, u16 buflen, fp_src_t in_fp) in fp_export_to_buf() function
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c528 …ret = fp_export_to_buf(&serialized_pub_key[(serialized_pub_key_size / 2)], (serialized_pub_key_siz… in uncompress_ecc_point()