/freebsd/crypto/libecc/src/sig/ |
H A D | eckcdsa.c | 243 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 D | ecsdsa_common.c | 212 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 D | bip0340.c | 281 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 D | bign_common.c | 632 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 D | ecfsdsa.c | 188 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 D | sm2.c | 183 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 D | fp.h | 96 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 D | aff_pt.c | 341 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 D | aff_pt_montgomery.c | 277 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 D | aff_pt_edwards.c | 292 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 D | prj_pt.c | 581 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 D | sss.c | 255 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 D | ecccdh.c | 224 ret = fp_export_to_buf(shared_secret, shared_secret_len, &(Q->X)); in ecccdh_derive_secret()
|
H A D | x25519_448.c | 279 ret = fp_export_to_buf(u_, len, &(_Tmp.u)); EG(ret, err); in x25519_448_core()
|
/freebsd/crypto/libecc/src/fp/ |
H A D | fp.c | 461 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 D | libecc_wycheproof.c | 528 …ret = fp_export_to_buf(&serialized_pub_key[(serialized_pub_key_size / 2)], (serialized_pub_key_siz… in uncompress_ecc_point()
|