Searched refs:_Tmp (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/libecc/src/ecdh/ |
H A D | x25519_448.c | 157 aff_pt_montgomery _Tmp; in x25519_448_core() local 169 _Tmp.magic = montgomery_curve.magic = Q.magic = WORD(0); in x25519_448_core() 251 ret = aff_pt_montgomery_init_from_coords(&_Tmp, &montgomery_curve, u_coord, v_coord); EG(ret, err); in x25519_448_core() 253 ret = aff_pt_montgomery_to_prj_pt_shortw(&_Tmp, shortw_curve, &Q); EG(ret, err); in x25519_448_core() 272 ret = prj_pt_shortw_to_aff_pt_montgomery(&Q, &montgomery_curve, &_Tmp); EG(ret, err); in x25519_448_core() 275 ret = fp_iszero(&(_Tmp.u), &iszero); EG(ret, err); in x25519_448_core() 279 ret = fp_export_to_buf(u_, len, &(_Tmp.u)); EG(ret, err); in x25519_448_core() 289 aff_pt_montgomery_uninit(&_Tmp); in x25519_448_core()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 869 aff_pt_edwards _Tmp; local 877 _Tmp.magic = edwards_curve.magic = WORD(0); 919 ret = eddsa_decode_point(&_Tmp, &edwards_curve, alpha_edwards, buf, buflen, 922 ret = aff_pt_edwards_to_prj_pt_shortw(&_Tmp, shortw_curve, pub_key_y, 963 aff_pt_edwards_uninit(&_Tmp); 975 aff_pt_edwards _Tmp; local 984 _Tmp.magic = edwards_curve.magic = WORD(0); 1012 ret = prj_pt_shortw_to_aff_pt_edwards(pub_key_y, &edwards_curve, &_Tmp, 1015 ret = eddsa_encode_point(&_Tmp, alpha_edwards, buf, 1024 aff_pt_edwards_uninit(&_Tmp); [all …]
|