Home
last modified time | relevance | path

Searched refs:nn_check_initialized (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/crypto/libecc/src/nn/
H A Dnn_logical.c45 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 Dnn_add.c69 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 Dnn.c64 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 Dnn_mul.c128 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 Dnn_mod_pow.c248 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 Dnn_div.c342 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 Dnn_modinv.c228 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 Dnn_mul_redc1.c48 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 Dnn_rand.c103 ret = nn_check_initialized(q); EG(ret, err); in nn_get_random_mod()
/freebsd/crypto/libecc/src/examples/sig/common/
H A Dcommon.h16 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 Ddsa.c146 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 Dsdsa.c128 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 Dgostr34_10_94.c121 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 Dfp.c62 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 Dfp_pow.c66 ret = nn_check_initialized(exp); EG(ret, err); in fp_pow()
/freebsd/crypto/libecc/src/examples/sig/kcdsa/
H A Dkcdsa.c176 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 Dprint_nn.c23 ret = nn_check_initialized(a); EG(ret, err); in nn_print()
/freebsd/crypto/libecc/src/examples/sig/rsa/
H A Drsa.c227 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 Dec_edwards.c47 ret = nn_check_initialized(order); EG(ret, err); in ec_edwards_crv_init()
H A Dec_montgomery.c43 ret = nn_check_initialized(order); EG(ret, err); in ec_montgomery_crv_init()
H A Dec_shortw.c47 ret = nn_check_initialized(order); EG(ret, err); in ec_shortw_crv_init()
/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn.h76 ATTRIBUTE_WARN_UNUSED_RET int nn_check_initialized(nn_src_t A);
/freebsd/crypto/libecc/src/examples/basic/
H A Dcurve_ecdh.c193 if (nn_check_initialized(d)) { in ECDH_helper()
H A Dnn_pollard_rho.c144 ret = nn_check_initialized(in); EG(ret, err); in find_divisors()
H A Dnn_miller_rabin.c55 ret = nn_check_initialized(n); EG(ret, err); in miller_rabin()

12