/freebsd/crypto/libecc/src/nn/ |
H A D | nn_logical.c | 45 ret = nn_check_initialized(in); EG(ret, err); in nn_lshift_fixedlen() 46 ret = nn_check_initialized(out); EG(ret, err); in nn_lshift_fixedlen() 100 ret = nn_check_initialized(in); EG(ret, err); in nn_lshift() 163 ret = nn_check_initialized(in); EG(ret, err); in nn_rshift_fixedlen() 164 ret = nn_check_initialized(out); EG(ret, err); in nn_rshift_fixedlen() 218 ret = nn_check_initialized(in); EG(ret, err); in nn_rshift() 287 ret = nn_check_initialized(in); EG(ret, err); in nn_rrot() 327 ret = nn_check_initialized(in); EG(ret, err); in nn_lrot() 363 ret = nn_check_initialized(B); EG(ret, err); in nn_xor() 364 ret = nn_check_initialized(C); EG(ret, err); in nn_xor() [all …]
|
H A D | nn_add.c | 69 ret = nn_check_initialized(in1); EG(ret, err); in _nn_cnd_add() 70 ret = nn_check_initialized(in2); EG(ret, err); in _nn_cnd_add() 185 ret = nn_check_initialized(in1); EG(ret, err); in nn_add_word() 257 ret = nn_check_initialized(in1); EG(ret, err); in nn_cnd_sub() 258 ret = nn_check_initialized(in2); EG(ret, err); in nn_cnd_sub() 303 ret = nn_check_initialized(in1); EG(ret, err); in nn_dec() 343 ret = nn_check_initialized(in1); EG(ret, err); in _nn_mod_add() 344 ret = nn_check_initialized(in2); EG(ret, err); in _nn_mod_add() 345 ret = nn_check_initialized(p); EG(ret, err); in _nn_mod_add() 411 ret = nn_check_initialized(in1); EG(ret, err); in _nn_mod_inc() [all …]
|
H A D | nn.c | 64 int nn_check_initialized(nn_src_t A) in nn_check_initialized() function 134 ret = nn_check_initialized(A); EG(ret, err); in nn_zero() 182 ret = nn_check_initialized(in1); EG(ret, err); in nn_cnd_swap() 183 ret = nn_check_initialized(in2); EG(ret, err); in nn_cnd_swap() 226 ret = nn_check_initialized(A); EG(ret, err); in nn_set_wlen() 252 ret = nn_check_initialized(A); EG(ret, err); in nn_iszero() 279 ret = nn_check_initialized(A); EG(ret, err); in nn_isone() 305 ret = nn_check_initialized(A); EG(ret, err); in nn_isodd() 327 ret = nn_check_initialized(in); EG(ret, err); in nn_cmp_word() 374 ret = nn_check_initialized(A); EG(ret, err); in nn_cmp() [all …]
|
H A D | nn_mul.c | 128 ret = nn_check_initialized(in1); EG(ret, err); in nn_mul_low() 129 ret = nn_check_initialized(in2); EG(ret, err); in nn_mul_low() 152 ret = nn_check_initialized(in1); EG(ret, err); in nn_mul() 153 ret = nn_check_initialized(in2); EG(ret, err); in nn_mul() 188 ret = nn_check_initialized(in); EG(ret, err); in nn_mul_word()
|
H A D | nn_mod_pow.c | 248 ret = nn_check_initialized(base); EG(ret, err); in nn_mod_pow_redc() 249 ret = nn_check_initialized(exp); EG(ret, err); in nn_mod_pow_redc() 250 ret = nn_check_initialized(mod); EG(ret, err); in nn_mod_pow_redc() 251 ret = nn_check_initialized(r); EG(ret, err); in nn_mod_pow_redc() 252 ret = nn_check_initialized(r_square); EG(ret, err); in nn_mod_pow_redc()
|
H A D | nn_div.c | 342 ret = nn_check_initialized(a); EG(ret, err); in nn_divrem_normalized() 343 ret = nn_check_initialized(q); EG(ret, err); in nn_divrem_normalized() 344 ret = nn_check_initialized(r); EG(ret, err); in nn_divrem_normalized() 352 ret = nn_check_initialized(b); EG(ret, err); in nn_divrem_normalized() 517 ret = nn_check_initialized(a); EG(ret, err); in nn_divrem_unshifted() 518 ret = nn_check_initialized(q); EG(ret, err); in nn_divrem_unshifted() 519 ret = nn_check_initialized(r); EG(ret, err); in nn_divrem_unshifted() 527 ret = nn_check_initialized(b); EG(ret, err); in nn_divrem_unshifted() 801 ret = nn_check_initialized(p_in); EG(ret, err); in nn_compute_div_coefs() 957 ret = nn_check_initialized(a); EG(ret, err); in nn_divrem_notrim() [all …]
|
H A D | nn_modinv.c | 228 ret = nn_check_initialized(x); EG(ret, err); in nn_modinv() 229 ret = nn_check_initialized(m); EG(ret, err); in nn_modinv() 327 ret = nn_check_initialized(x); EG(ret, err); in nn_modinv_2exp() 328 ret = nn_check_initialized(_out); EG(ret, err); in nn_modinv_2exp() 450 ret = nn_check_initialized(x); EG(ret, err); in _nn_modinv_fermat_common() 451 ret = nn_check_initialized(p); EG(ret, err); in _nn_modinv_fermat_common()
|
H A D | nn_mul_redc1.c | 48 ret = nn_check_initialized(p_in); EG(ret, err); in nn_compute_redc1_coefs() 251 ret = nn_check_initialized(in1); EG(ret, err); in nn_mul_redc1() 252 ret = nn_check_initialized(in2); EG(ret, err); in nn_mul_redc1() 253 ret = nn_check_initialized(p); EG(ret, err); in nn_mul_redc1()
|
H A D | nn_rand.c | 103 ret = nn_check_initialized(q); EG(ret, err); in nn_get_random_mod()
|
/freebsd/crypto/libecc/src/examples/sig/common/ |
H A D | common.h | 16 ret = nn_check_initialized(x); EG(ret, err); in _i2osp() 97 ret = nn_check_initialized(m); EG(ret, err); in _fix_scalar_msb() 98 ret = nn_check_initialized(q); EG(ret, err); in _fix_scalar_msb() 99 ret = nn_check_initialized(m_msb_fixed); EG(ret, err); in _fix_scalar_msb() 152 ret = nn_check_initialized(m); EG(ret, err); in _blind_scalar() 153 ret = nn_check_initialized(q); EG(ret, err); in _blind_scalar() 154 ret = nn_check_initialized(m_blind); EG(ret, err); in _blind_scalar() 191 ret = nn_check_initialized(base); EG(ret, err); in _nn_mod_pow_insecure() 192 ret = nn_check_initialized(exp); EG(ret, err); in _nn_mod_pow_insecure() 193 ret = nn_check_initialized(mod); EG(ret, err); in _nn_mod_pow_insecure()
|
/freebsd/crypto/libecc/src/examples/sig/dsa/ |
H A D | dsa.c | 146 ret = nn_check_initialized(p); EG(ret, err); in dsa_compute_pub_from_priv() 147 ret = nn_check_initialized(q); EG(ret, err); in dsa_compute_pub_from_priv() 148 ret = nn_check_initialized(g); EG(ret, err); in dsa_compute_pub_from_priv() 149 ret = nn_check_initialized(x); EG(ret, err); in dsa_compute_pub_from_priv() 229 ret = nn_check_initialized(p); EG(ret, err); in dsa_sign() 230 ret = nn_check_initialized(q); EG(ret, err); in dsa_sign() 231 ret = nn_check_initialized(g); EG(ret, err); in dsa_sign() 232 ret = nn_check_initialized(x); EG(ret, err); in dsa_sign() 381 ret = nn_check_initialized(p); EG(ret, err); in dsa_verify() 382 ret = nn_check_initialized(q); EG(ret, err); in dsa_verify() [all …]
|
/freebsd/crypto/libecc/src/examples/sig/sdsa/ |
H A D | sdsa.c | 128 ret = nn_check_initialized(p); EG(ret, err); in sdsa_sign() 129 ret = nn_check_initialized(q); EG(ret, err); in sdsa_sign() 130 ret = nn_check_initialized(g); EG(ret, err); in sdsa_sign() 131 ret = nn_check_initialized(x); EG(ret, err); in sdsa_sign() 288 ret = nn_check_initialized(p); EG(ret, err); in sdsa_verify() 289 ret = nn_check_initialized(q); EG(ret, err); in sdsa_verify() 290 ret = nn_check_initialized(g); EG(ret, err); in sdsa_verify() 291 ret = nn_check_initialized(y); EG(ret, err); in sdsa_verify()
|
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/ |
H A D | gostr34_10_94.c | 121 ret = nn_check_initialized(p); EG(ret, err); in gostr34_10_94_sign() 122 ret = nn_check_initialized(q); EG(ret, err); in gostr34_10_94_sign() 123 ret = nn_check_initialized(g); EG(ret, err); in gostr34_10_94_sign() 124 ret = nn_check_initialized(x); EG(ret, err); in gostr34_10_94_sign() 279 ret = nn_check_initialized(p); EG(ret, err); in gostr34_10_94_verify() 280 ret = nn_check_initialized(q); EG(ret, err); in gostr34_10_94_verify() 281 ret = nn_check_initialized(g); EG(ret, err); in gostr34_10_94_verify() 282 ret = nn_check_initialized(y); EG(ret, err); in gostr34_10_94_verify()
|
/freebsd/crypto/libecc/src/fp/ |
H A D | fp.c | 62 ret = nn_check_initialized(p); EG(ret, err); in fp_ctx_init() 63 ret = nn_check_initialized(r); EG(ret, err); in fp_ctx_init() 64 ret = nn_check_initialized(r_square); EG(ret, err); in fp_ctx_init() 65 ret = nn_check_initialized(p_normalized); EG(ret, err); in fp_ctx_init() 96 ret = nn_check_initialized(p_in); EG(ret, err); in fp_ctx_init_from_p() 211 ret = nn_check_initialized(in); EG(ret, err); in fp_set_nn()
|
H A D | fp_pow.c | 66 ret = nn_check_initialized(exp); EG(ret, err); in fp_pow()
|
/freebsd/crypto/libecc/src/examples/sig/kcdsa/ |
H A D | kcdsa.c | 176 ret = nn_check_initialized(p); EG(ret, err); in kcdsa_sign() 177 ret = nn_check_initialized(q); EG(ret, err); in kcdsa_sign() 178 ret = nn_check_initialized(g); EG(ret, err); in kcdsa_sign() 179 ret = nn_check_initialized(x); EG(ret, err); in kcdsa_sign() 382 ret = nn_check_initialized(p); EG(ret, err); in kcdsa_verify() 383 ret = nn_check_initialized(q); EG(ret, err); in kcdsa_verify() 384 ret = nn_check_initialized(g); EG(ret, err); in kcdsa_verify() 385 ret = nn_check_initialized(y); EG(ret, err); in kcdsa_verify()
|
/freebsd/crypto/libecc/src/utils/ |
H A D | print_nn.c | 23 ret = nn_check_initialized(a); EG(ret, err); in nn_print()
|
/freebsd/crypto/libecc/src/examples/sig/rsa/ |
H A D | rsa.c | 227 ret = nn_check_initialized(n); EG(ret, err); in rsaep() 228 ret = nn_check_initialized(e); EG(ret, err); in rsaep() 321 ret = nn_check_initialized(r_i_1); EG(ret, err); in rsadp_crt_coeffs() 322 ret = nn_check_initialized(r_i); EG(ret, err); in rsadp_crt_coeffs() 323 ret = nn_check_initialized(d_i); EG(ret, err); in rsadp_crt_coeffs() 324 ret = nn_check_initialized(t_i); EG(ret, err); in rsadp_crt_coeffs() 379 ret = nn_check_initialized(p); EG(ret, err); in rsadp_crt() 380 ret = nn_check_initialized(q); EG(ret, err); in rsadp_crt() 381 ret = nn_check_initialized(dP); EG(ret, err); in rsadp_crt() 382 ret = nn_check_initialized(dQ); EG(ret, err); in rsadp_crt() [all …]
|
/freebsd/crypto/libecc/src/curves/ |
H A D | ec_edwards.c | 47 ret = nn_check_initialized(order); EG(ret, err); in ec_edwards_crv_init()
|
H A D | ec_montgomery.c | 43 ret = nn_check_initialized(order); EG(ret, err); in ec_montgomery_crv_init()
|
H A D | ec_shortw.c | 47 ret = nn_check_initialized(order); EG(ret, err); in ec_shortw_crv_init()
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn.h | 76 ATTRIBUTE_WARN_UNUSED_RET int nn_check_initialized(nn_src_t A);
|
/freebsd/crypto/libecc/src/examples/basic/ |
H A D | curve_ecdh.c | 193 if (nn_check_initialized(d)) { in ECDH_helper()
|
H A D | nn_pollard_rho.c | 144 ret = nn_check_initialized(in); EG(ret, err); in find_divisors()
|
H A D | nn_miller_rabin.c | 55 ret = nn_check_initialized(n); EG(ret, err); in miller_rabin()
|