crypto/libecc/include/libecc/nn/nn.h
78
ATTRIBUTE_WARN_UNUSED_RET int nn_zero(nn_t A);
crypto/libecc/include/libecc/nn/nn.h
79
ATTRIBUTE_WARN_UNUSED_RET int nn_one(nn_t A);
crypto/libecc/include/libecc/nn/nn.h
80
ATTRIBUTE_WARN_UNUSED_RET int nn_set_word_value(nn_t A, word_t val);
crypto/libecc/include/libecc/nn/nn.h
81
void nn_uninit(nn_t A);
crypto/libecc/include/libecc/nn/nn.h
82
ATTRIBUTE_WARN_UNUSED_RET int nn_init(nn_t A, u16 len);
crypto/libecc/include/libecc/nn/nn.h
83
ATTRIBUTE_WARN_UNUSED_RET int nn_init_from_buf(nn_t A, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/nn/nn.h
84
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_swap(int cnd, nn_t in1, nn_t in2);
crypto/libecc/include/libecc/nn/nn.h
85
ATTRIBUTE_WARN_UNUSED_RET int nn_set_wlen(nn_t A, u8 new_wlen);
crypto/libecc/include/libecc/nn/nn.h
91
ATTRIBUTE_WARN_UNUSED_RET int nn_copy(nn_t dst_nn, nn_src_t src_nn);
crypto/libecc/include/libecc/nn/nn.h
92
ATTRIBUTE_WARN_UNUSED_RET int nn_normalize(nn_t in1);
crypto/libecc/include/libecc/nn/nn.h
94
ATTRIBUTE_WARN_UNUSED_RET int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize);
crypto/libecc/include/libecc/nn/nn_add.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_cnd_sub(int cnd, nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_add(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_inc(nn_t out, nn_src_t in1);
crypto/libecc/include/libecc/nn/nn_add.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_sub(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_add.h
25
ATTRIBUTE_WARN_UNUSED_RET int nn_dec(nn_t out, nn_src_t in1);
crypto/libecc/include/libecc/nn/nn_add.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_add(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_inc(nn_t out, nn_src_t in1, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_sub(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
29
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_dec(nn_t out, nn_src_t in1, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_add.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_neg(nn_t out, nn_src_t in, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_div.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_notrim(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v,
crypto/libecc/include/libecc/nn/nn_div.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_normalized(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/include/libecc/nn/nn_div.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_notrim(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div.h
31
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_unshifted(nn_t r, nn_src_t a, nn_src_t b, word_t v, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_div.h
32
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_normalized(nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/include/libecc/nn/nn_div.h
36
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
crypto/libecc/include/libecc/nn/nn_div_public.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div_public.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_mod(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/include/libecc/nn/nn_div_public.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_gcd(nn_t d, nn_src_t a, nn_src_t b, int *sign);
crypto/libecc/include/libecc/nn/nn_div_public.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_xgcd(nn_t g, nn_t u, nn_t v, nn_src_t a, nn_src_t b, int *sign);
crypto/libecc/include/libecc/nn/nn_logical.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_rshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_lshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_lshift(nn_t out, nn_src_t in, bitcnt_t cnt);
crypto/libecc/include/libecc/nn/nn_logical.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_rrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen);
crypto/libecc/include/libecc/nn/nn_logical.h
25
ATTRIBUTE_WARN_UNUSED_RET int nn_lrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen);
crypto/libecc/include/libecc/nn/nn_logical.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_xor(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
27
ATTRIBUTE_WARN_UNUSED_RET int nn_or(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
28
ATTRIBUTE_WARN_UNUSED_RET int nn_and(nn_t B, nn_src_t C, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_logical.h
29
ATTRIBUTE_WARN_UNUSED_RET int nn_not(nn_t B, nn_src_t A);
crypto/libecc/include/libecc/nn/nn_mod_pow.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_pow_redc(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv);
crypto/libecc/include/libecc/nn/nn_mod_pow.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_pow(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod);
crypto/libecc/include/libecc/nn/nn_modinv.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv(nn_t out, nn_src_t x, nn_src_t m);
crypto/libecc/include/libecc/nn/nn_modinv.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_2exp(nn_t out, nn_src_t in, bitcnt_t exp, int *in_isodd);
crypto/libecc/include/libecc/nn/nn_modinv.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_word(nn_t out, word_t w, nn_src_t m);
crypto/libecc/include/libecc/nn/nn_modinv.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_fermat(nn_t out, nn_src_t x, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_modinv.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_fermat_redc(nn_t out, nn_src_t x, nn_src_t p, nn_src_t r, nn_src_t r_square, word_t mpinv);
crypto/libecc/include/libecc/nn/nn_mul.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2, u8 wlimit);
crypto/libecc/include/libecc/nn/nn_mul.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr_low(nn_t out, nn_src_t in, u8 wlimit);
crypto/libecc/include/libecc/nn/nn_mul_public.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_mul(nn_t out, nn_src_t in1, nn_src_t in2);
crypto/libecc/include/libecc/nn/nn_mul_public.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr(nn_t out, nn_src_t in);
crypto/libecc/include/libecc/nn/nn_mul_public.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_word(nn_t out, nn_src_t in, word_t w);
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_redc1_coefs(nn_t r, nn_t r_square, nn_src_t p_in,
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p,
crypto/libecc/include/libecc/nn/nn_mul_redc1.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_mul(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p);
crypto/libecc/include/libecc/nn/nn_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_len(nn_t out, u16 len);
crypto/libecc/include/libecc/nn/nn_rand.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_maxlen(nn_t out, u16 max_len);
crypto/libecc/include/libecc/nn/nn_rand.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_mod(nn_t out, nn_src_t q);
crypto/libecc/include/libecc/sig/bip0340.h
48
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/include/libecc/sig/eddsa.h
92
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/include/libecc/sig/sig_algs.h
51
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/include/libecc/sig/sig_algs.h
65
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/include/libecc/sig/sig_algs_internal.h
158
ATTRIBUTE_WARN_UNUSED_RET int (*rand) (nn_t out, nn_src_t q);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
240
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/include/libecc/sig/sig_algs_internal.h
66
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
201
nn_t name##_ptr[] = {NULL};
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
205
nn_t name##_ptr[] = { &name##0 }; \
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
210
nn_t name##_ptr[] = { &name##0, &name##1 }; \
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
216
nn_t name##_ptr[] = { &name##0, &name##1, &name##2 }; \
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
223
nn_t name##_ptr[] = { &name##0, &name##1, &name##2, &name##3 }; \
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
231
nn_t name##_ptr[] = { &name##0, &name##1, &name##2, &name##3, &name##4 };\
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
240
nn_t name##_ptr[] = { &name##0, &name##1, &name##2, &name##3, &name##4, &name##5 };\
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
320
#define NN_T_GENERIC_IN(num) ((nn_t)params[num])
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
72
static int nn_import_from_hexbuf(nn_t out_nn, const char *hbuf, u32 hbuflen)
crypto/libecc/src/ecdh/x25519_448.c
165
nn_t v_coord_nn;
crypto/libecc/src/ecdh/x25519_448.c
167
nn_t cofactor;
crypto/libecc/src/examples/basic/curve_ecdh.c
93
nn_t d = NULL;
crypto/libecc/src/examples/basic/nn_pollard_rho.c
40
ATTRIBUTE_WARN_UNUSED_RET int pollard_rho(nn_t d, nn_src_t n, const word_t c);
crypto/libecc/src/examples/basic/nn_pollard_rho.c
58
int pollard_rho(nn_t d, nn_src_t n, const word_t c)
crypto/libecc/src/examples/sig/common/common.h
145
ATTRIBUTE_WARN_UNUSED_RET static inline int _blind_scalar(nn_src_t m, nn_src_t q, nn_t m_blind)
crypto/libecc/src/examples/sig/common/common.h
177
ATTRIBUTE_WARN_UNUSED_RET static inline int _nn_mod_pow_insecure(nn_t out, nn_src_t base,
crypto/libecc/src/examples/sig/common/common.h
31
ATTRIBUTE_WARN_UNUSED_RET static inline int _os2ip(nn_t x, const u8 *buf, u16 buflen)
crypto/libecc/src/examples/sig/common/common.h
89
ATTRIBUTE_WARN_UNUSED_RET static inline int _fix_scalar_msb(nn_src_t m, nn_src_t q, nn_t m_msb_fixed)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
147
nn_t pi;
crypto/libecc/src/examples/sig/rsa/rsa.c
197
int rsa_os2ip(nn_t x, const u8 *buf, u32 buflen)
crypto/libecc/src/examples/sig/rsa/rsa.c
214
int rsaep(const rsa_pub_key *pub, nn_src_t m, nn_t c)
crypto/libecc/src/examples/sig/rsa/rsa.c
253
ATTRIBUTE_WARN_UNUSED_RET static int _rsa_blind_exponent(nn_src_t e, nn_src_t mod, nn_t out, bitcnt_t bits, u8 dec)
crypto/libecc/src/examples/sig/rsa/rsa.c
294
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt_coeffs(const rsa_priv_key *priv, nn_src_t c, nn_t m, u8 u)
crypto/libecc/src/examples/sig/rsa/rsa.c
357
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_crt(const rsa_priv_key *priv, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
425
ATTRIBUTE_WARN_UNUSED_RET static int rsadp_nocrt(const rsa_priv_key *priv, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
492
int rsadp(const rsa_priv_key *priv, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
520
int rsadp_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t c, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.c
577
int rsasp1(const rsa_priv_key *priv, nn_src_t m, nn_t s)
crypto/libecc/src/examples/sig/rsa/rsa.c
587
int rsasp1_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t m, nn_t s)
crypto/libecc/src/examples/sig/rsa/rsa.c
598
int rsavp1(const rsa_pub_key *pub, nn_src_t s, nn_t m)
crypto/libecc/src/examples/sig/rsa/rsa.h
105
ATTRIBUTE_WARN_UNUSED_RET int rsa_os2ip(nn_t x, const u8 *buf, u32 buflen);
crypto/libecc/src/examples/sig/rsa/rsa.h
120
ATTRIBUTE_WARN_UNUSED_RET int rsaep(const rsa_pub_key *pub, nn_src_t m, nn_t c);
crypto/libecc/src/examples/sig/rsa/rsa.h
121
ATTRIBUTE_WARN_UNUSED_RET int rsadp(const rsa_priv_key *priv, nn_src_t c, nn_t m);
crypto/libecc/src/examples/sig/rsa/rsa.h
122
ATTRIBUTE_WARN_UNUSED_RET int rsadp_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t c, nn_t m);
crypto/libecc/src/examples/sig/rsa/rsa.h
124
ATTRIBUTE_WARN_UNUSED_RET int rsasp1(const rsa_priv_key *priv, nn_src_t m, nn_t s);
crypto/libecc/src/examples/sig/rsa/rsa.h
125
ATTRIBUTE_WARN_UNUSED_RET int rsasp1_hardened(const rsa_priv_key *priv, const rsa_pub_key *pub, nn_src_t m, nn_t s);
crypto/libecc/src/examples/sig/rsa/rsa.h
126
ATTRIBUTE_WARN_UNUSED_RET int rsavp1(const rsa_pub_key *pub, nn_src_t s, nn_t m);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
102
nn_t pi;
crypto/libecc/src/fp/fp_mul_redc1.c
25
ATTRIBUTE_WARN_UNUSED_RET static inline int _fp_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn.c
110
void nn_uninit(nn_t A)
crypto/libecc/src/nn/nn.c
130
int nn_zero(nn_t A)
crypto/libecc/src/nn/nn.c
145
int nn_set_word_value(nn_t A, word_t val)
crypto/libecc/src/nn/nn.c
162
int nn_one(nn_t A)
crypto/libecc/src/nn/nn.c
174
int nn_cnd_swap(int cnd, nn_t in1, nn_t in2)
crypto/libecc/src/nn/nn.c
221
int nn_set_wlen(nn_t A, u8 new_wlen)
crypto/libecc/src/nn/nn.c
400
int nn_copy(nn_t dst_nn, nn_src_t src_nn)
crypto/libecc/src/nn/nn.c
424
int nn_normalize(nn_t in1)
crypto/libecc/src/nn/nn.c
490
int nn_init_from_buf(nn_t out_nn, const u8 *buf, u16 buflen)
crypto/libecc/src/nn/nn.c
577
int nn_tabselect(nn_t out, u8 idx, nn_src_t *tab, u8 tabsize)
crypto/libecc/src/nn/nn.c
84
int nn_init(nn_t A, u16 len)
crypto/libecc/src/nn/nn_add.c
119
int nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2)
crypto/libecc/src/nn/nn_add.c
158
int nn_add(nn_t out, nn_src_t in1, nn_src_t in2)
crypto/libecc/src/nn/nn_add.c
179
ATTRIBUTE_WARN_UNUSED_RET static int nn_add_word(nn_t out, nn_src_t in1, word_t w)
crypto/libecc/src/nn/nn_add.c
231
int nn_inc(nn_t out, nn_src_t in1)
crypto/libecc/src/nn/nn_add.c
250
int nn_cnd_sub(int cnd, nn_t out, nn_src_t in1, nn_src_t in2)
crypto/libecc/src/nn/nn_add.c
286
int nn_sub(nn_t out, nn_src_t in1, nn_src_t in2)
crypto/libecc/src/nn/nn_add.c
296
int nn_dec(nn_t out, nn_src_t in1)
crypto/libecc/src/nn/nn_add.c
339
static int _nn_mod_add(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
379
int nn_mod_add(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
407
static int _nn_mod_inc(nn_t out, nn_src_t in1, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
432
int nn_mod_inc(nn_t out, nn_src_t in1, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
462
static int _nn_mod_sub(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
505
int nn_mod_sub(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
533
static int _nn_mod_dec(nn_t out, nn_src_t in1, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
559
int nn_mod_dec(nn_t out, nn_src_t in1, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
592
int nn_mod_neg(nn_t out, nn_src_t in, nn_src_t p)
crypto/libecc/src/nn/nn_add.c
60
ATTRIBUTE_WARN_UNUSED_RET static int _nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_div.c
1002
int nn_mod_notrim(nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
1023
int nn_mod(nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
1046
ATTRIBUTE_WARN_UNUSED_RET static int _nn_xgcd(nn_t g, nn_t u, nn_t v, nn_src_t a, nn_src_t b,
crypto/libecc/src/nn/nn_div.c
1049
nn_t c, d, q, r, u1, v1, u2, v2;
crypto/libecc/src/nn/nn_div.c
114
ATTRIBUTE_WARN_UNUSED_RET static int _nn_submul_word_shift(nn_t out, nn_src_t in, word_t w, u8 shift,
crypto/libecc/src/nn/nn_div.c
1199
int nn_xgcd(nn_t g, nn_t u, nn_t v, nn_src_t a, nn_src_t b, int *sign)
crypto/libecc/src/nn/nn_div.c
1256
int nn_gcd(nn_t g, nn_src_t a, nn_src_t b, int *sign)
crypto/libecc/src/nn/nn_div.c
194
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_normalized(nn_t q, nn_t r,
crypto/libecc/src/nn/nn_div.c
310
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_normalized_aliased(nn_t q, nn_src_t a, nn_t b, word_t v)
crypto/libecc/src/nn/nn_div.c
338
int nn_divrem_normalized(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v)
crypto/libecc/src/nn/nn_div.c
368
int nn_mod_normalized(nn_t r, nn_src_t a, nn_src_t b, word_t v)
crypto/libecc/src/nn/nn_div.c
409
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b_norm,
crypto/libecc/src/nn/nn_div.c
488
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem_unshifted_aliased(nn_t q, nn_src_t a, nn_t b_norm,
crypto/libecc/src/nn/nn_div.c
512
int nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b,
crypto/libecc/src/nn/nn_div.c
543
int nn_mod_unshifted(nn_t r, nn_src_t a, nn_src_t b, word_t v, bitcnt_t cnt)
crypto/libecc/src/nn/nn_div.c
75
ATTRIBUTE_WARN_UNUSED_RET static int _nn_cnd_sub_shift(int cnd, nn_t out, nn_src_t in,
crypto/libecc/src/nn/nn_div.c
793
int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
crypto/libecc/src/nn/nn_div.c
872
ATTRIBUTE_WARN_UNUSED_RET static int _nn_divrem(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
924
ATTRIBUTE_WARN_UNUSED_RET static int __nn_divrem_notrim_alias(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
952
int nn_divrem_notrim(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.c
982
int nn_divrem(nn_t q, nn_t r, nn_src_t a, nn_src_t b)
crypto/libecc/src/nn/nn_div.h
23
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_notrim(nn_t q, nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/src/nn/nn_div.h
24
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_unshifted(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v,
crypto/libecc/src/nn/nn_div.h
26
ATTRIBUTE_WARN_UNUSED_RET int nn_divrem_normalized(nn_t q, nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/src/nn/nn_div.h
30
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_notrim(nn_t r, nn_src_t a, nn_src_t b);
crypto/libecc/src/nn/nn_div.h
31
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_unshifted(nn_t r, nn_src_t a, nn_src_t b, word_t v, bitcnt_t cnt);
crypto/libecc/src/nn/nn_div.h
32
ATTRIBUTE_WARN_UNUSED_RET int nn_mod_normalized(nn_t r, nn_src_t a, nn_src_t b, word_t v);
crypto/libecc/src/nn/nn_div.h
36
ATTRIBUTE_WARN_UNUSED_RET int nn_compute_div_coefs(nn_t p_normalized, word_t *p_shift,
crypto/libecc/src/nn/nn_logical.c
157
int nn_rshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt)
crypto/libecc/src/nn/nn_logical.c
211
int nn_rshift(nn_t out, nn_src_t in, bitcnt_t cnt)
crypto/libecc/src/nn/nn_logical.c
277
int nn_rrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen)
crypto/libecc/src/nn/nn_logical.c
317
int nn_lrot(nn_t out, nn_src_t in, bitcnt_t cnt, bitcnt_t bitlen)
crypto/libecc/src/nn/nn_logical.c
358
int nn_xor(nn_t A, nn_src_t B, nn_src_t C)
crypto/libecc/src/nn/nn_logical.c
39
int nn_lshift_fixedlen(nn_t out, nn_src_t in, bitcnt_t cnt)
crypto/libecc/src/nn/nn_logical.c
393
int nn_or(nn_t A, nn_src_t B, nn_src_t C)
crypto/libecc/src/nn/nn_logical.c
428
int nn_and(nn_t A, nn_src_t B, nn_src_t C)
crypto/libecc/src/nn/nn_logical.c
461
int nn_not(nn_t A, nn_src_t B)
crypto/libecc/src/nn/nn_logical.c
94
int nn_lshift(nn_t out, nn_src_t in, bitcnt_t cnt)
crypto/libecc/src/nn/nn_mod_pow.c
174
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow_redc(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mod_pow.c
197
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod)
crypto/libecc/src/nn/nn_mod_pow.c
222
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mod_pow_redc_aliased(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mod_pow.c
244
int nn_mod_pow_redc(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mod_pow.c
304
int nn_mod_pow(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod)
crypto/libecc/src/nn/nn_mod_pow.c
39
ATTRIBUTE_WARN_UNUSED_RET static int _nn_exp_monty_ladder_ltr(nn_t out, nn_src_t base, nn_src_t exp, nn_src_t mod, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_modinv.c
221
int nn_modinv(nn_t _out, nn_src_t x, nn_src_t m)
crypto/libecc/src/nn/nn_modinv.c
224
nn_t x_mod_m;
crypto/libecc/src/nn/nn_modinv.c
285
ATTRIBUTE_WARN_UNUSED_RET static inline int _nn_sub_mod_2exp(nn_t A, nn_src_t B)
crypto/libecc/src/nn/nn_modinv.c
314
int nn_modinv_2exp(nn_t _out, nn_src_t x, bitcnt_t exp, int *x_isodd)
crypto/libecc/src/nn/nn_modinv.c
422
int nn_modinv_word(nn_t out, word_t w, nn_src_t m)
crypto/libecc/src/nn/nn_modinv.c
443
ATTRIBUTE_WARN_UNUSED_RET static int _nn_modinv_fermat_common(nn_t out, nn_src_t x, nn_src_t p, nn_t p_minus_two, int *lesstwo)
crypto/libecc/src/nn/nn_modinv.c
49
ATTRIBUTE_WARN_UNUSED_RET static int _nn_modinv_odd(nn_t out, nn_src_t x, nn_src_t m)
crypto/libecc/src/nn/nn_modinv.c
53
nn_t uu = out;
crypto/libecc/src/nn/nn_modinv.c
531
int nn_modinv_fermat(nn_t out, nn_src_t x, nn_src_t p)
crypto/libecc/src/nn/nn_modinv.c
567
int nn_modinv_fermat_redc(nn_t out, nn_src_t x, nn_src_t p, nn_src_t r, nn_src_t r_square, word_t mpinv)
crypto/libecc/src/nn/nn_mul.c
106
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_low_aliased(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_mul.c
124
int nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2, u8 wlimit)
crypto/libecc/src/nn/nn_mul.c
148
int nn_mul(nn_t out, nn_src_t in1, nn_src_t in2)
crypto/libecc/src/nn/nn_mul.c
160
int nn_sqr_low(nn_t out, nn_src_t in, u8 wlimit)
crypto/libecc/src/nn/nn_mul.c
171
int nn_sqr(nn_t out, nn_src_t in)
crypto/libecc/src/nn/nn_mul.c
182
int nn_mul_word(nn_t out, nn_src_t in, word_t w)
crypto/libecc/src/nn/nn_mul.c
44
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_mul.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_mul_low(nn_t out, nn_src_t in1, nn_src_t in2, u8 wlimit);
crypto/libecc/src/nn/nn_mul.h
22
ATTRIBUTE_WARN_UNUSED_RET int nn_sqr_low(nn_t out, nn_src_t in, u8 wlimit);
crypto/libecc/src/nn/nn_mul_redc1.c
124
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p,
crypto/libecc/src/nn/nn_mul_redc1.c
225
ATTRIBUTE_WARN_UNUSED_RET static int _nn_mul_redc1_aliased(nn_t out, nn_src_t in1, nn_src_t in2,
crypto/libecc/src/nn/nn_mul_redc1.c
246
int nn_mul_redc1(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p,
crypto/libecc/src/nn/nn_mul_redc1.c
286
int nn_mod_mul(nn_t out, nn_src_t in1, nn_src_t in2, nn_src_t p_in)
crypto/libecc/src/nn/nn_mul_redc1.c
40
int nn_compute_redc1_coefs(nn_t r, nn_t r_square, nn_src_t p_in, word_t *mpinv)
crypto/libecc/src/nn/nn_rand.c
31
int nn_get_random_len(nn_t out, u16 len)
crypto/libecc/src/nn/nn_rand.c
56
int nn_get_random_maxlen(nn_t out, u16 max_len)
crypto/libecc/src/nn/nn_rand.c
95
int nn_get_random_mod(nn_t out, nn_src_t q)
crypto/libecc/src/sig/bign_common.c
200
ATTRIBUTE_WARN_UNUSED_RET static int __bign_determinitic_nonce(nn_t k, nn_src_t q, bitcnt_t q_bit_len,
crypto/libecc/src/sig/bip0340.c
1036
nn_t e = NULL;
crypto/libecc/src/sig/bip0340.c
162
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/sig/bip0340.c
721
nn_t a)
crypto/libecc/src/sig/bip0340.c
74
ATTRIBUTE_WARN_UNUSED_RET static int _bip0340_set_scalar(nn_t scalar,
crypto/libecc/src/sig/ecdsa_common.c
48
ATTRIBUTE_WARN_UNUSED_RET static int __ecdsa_rfc6979_nonce(nn_t k, nn_src_t q, bitcnt_t q_bit_len,
crypto/libecc/src/sig/ecfsdsa.c
848
nn_t e = NULL;
crypto/libecc/src/sig/eddsa.c
1558
const u8 *m, u32 mlen, int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/sig/eddsa.c
232
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_decode_integer(nn_t nn_out, const u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
294
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_compute_s(nn_t s, const u8 *digest, u16 digest_size)
crypto/libecc/src/sig/sig_algs.c
296
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/sig/sig_algs.c
456
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/sig/sig_algs.c
475
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/tests/bign_test_vectors.h
122
static int bign_3_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
170
static int bign_4_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
22
static int bign_1_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
226
static int bign_5_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
279
static int bign_6_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
336
static int bign_7_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
392
static int bign_8_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bign_test_vectors.h
71
static int bign_2_nn_random_belt_hash_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bip0340_test_vectors.h
112
static int bip0340_3_nn_random_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bip0340_test_vectors.h
157
static int bip0340_4_nn_random_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bip0340_test_vectors.h
22
static int bip0340_1_nn_random_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/bip0340_test_vectors.h
67
static int bip0340_2_nn_random_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.c
125
int (*rand) (nn_t out, nn_src_t q),
crypto/libecc/src/tests/ec_self_tests_core.h
1052
static int ecdsa_nn_random_brainpoolp512r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1133
static int ecdsa_nn_random_frp256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1204
static int eckcdsa_nn_random_iso14888_3_secp224r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
1266
static int eckcdsa_nn_random_iso14888_3_secp224r1_sha256_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
128
static int ecdsa_nn_random_secp224r1_sha3_224_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1331
static int eckcdsa_nn_random_iso14888_3_secp256r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
1394
static int eckcdsa_nn_random_secp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1470
static int eckcdsa_nn_random_secp256r1_sha512_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1534
static int eckcdsa_nn_random_secp521r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1615
static int eckcdsa_nn_random_brainpoolp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1678
static int eckcdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1749
static int eckcdsa_nn_random_brainpoolp512r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1828
static int eckcdsa_nn_random_frp256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1896
static int ecsdsa_nn_random_secp224r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
195
static int ecdsa_nn_random_secp256r1_sha3_256_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
1958
static int ecsdsa_nn_random_iso14888_3_secp256r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
2020
static int ecsdsa_nn_random_iso14888_3_secp384r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
2090
static int ecsdsa_nn_random_secp521r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2175
static int ecsdsa_nn_random_brainpoolp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2241
static int ecsdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2316
static int ecsdsa_nn_random_brainpoolp512r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2398
static int ecsdsa_nn_random_frp256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2470
static int ecosdsa_nn_random_secp224r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2532
static int ecosdsa_nn_random_iso14888_3_secp256r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
2594
static int ecosdsa_nn_random_iso14888_3_secp384r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
2665
static int ecosdsa_nn_random_secp521r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
268
static int ecdsa_nn_random_secp256r1_sha3_512_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2751
static int ecosdsa_nn_random_brainpoolp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2818
static int ecosdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2893
static int ecosdsa_nn_random_brainpoolp512r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
2975
static int ecosdsa_nn_random_frp256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3047
static int ecfsdsa_nn_random_secp224r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3113
static int ecfsdsa_nn_random_iso14888_3_secp256r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
3179
static int ecfsdsa_nn_random_iso14888_3_secp384r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
3256
static int ecfsdsa_nn_random_secp521r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
331
static int ecdsa_nn_random_secp384r1_sha3_384_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3351
static int ecfsdsa_nn_random_brainpoolp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
34
int (*nn_random) (nn_t out, nn_src_t q);
crypto/libecc/src/tests/ec_self_tests_core.h
3422
static int ecfsdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3503
static int ecfsdsa_nn_random_brainpoolp512r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3593
static int ecfsdsa_nn_random_frp256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3668
static int ecgdsa_nn_random_iso14888_3_brainpoolp192r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
3726
static int ecgdsa_nn_random_iso14888_3_brainpoolp224r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
3787
static int ecgdsa_nn_random_iso14888_3_brainpoolp256r1_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
3849
static int ecgdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
3950
static int ecrdsa_nn_random_rfc4491_bis_1_GOST_256bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4025
static int ecrdsa_nn_random_rfc4491_bis_2_GOST_256bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
407
static int ecdsa_nn_random_secp521r1_sha3_512_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
4100
static int ecrdsa_nn_random_rfc4491_bis_1_GOST_512bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4210
static int ecrdsa_nn_random_iso14888_3_GOST_256bits_curve_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
4278
static int ecrdsa_nn_random_pygostlib_1_GOST_256bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4329
static int ecrdsa_nn_random_pygostlib_2_GOST_256bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4417
static int ecrdsa_nn_random_iso14888_3_GOST_512bits_curve_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
4516
static int ecrdsa_nn_random_pygostlib_1_GOST_512bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4581
static int ecrdsa_nn_random_pygostlib_2_GOST_512bits_curve_test_vector(nn_t out, nn_src_t q){
crypto/libecc/src/tests/ec_self_tests_core.h
4694
static int sm2_nn_random_iso14888_3_SM2_256bits_test_curve_test_vector(nn_t out,
crypto/libecc/src/tests/ec_self_tests_core.h
4758
static int sm2_nn_random_sm2p256v1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
494
static int ecdsa_nn_random_secp192r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
553
static int ecdsa_nn_random_rfc4754_secp224r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
619
static int ecdsa_nn_random_rfc4754_secp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
690
static int ecdsa_nn_random_secp256r1_sha512_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
752
static int ecdsa_nn_random_rfc4754_secp384r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
826
static int ecdsa_nn_random_secp521r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
911
static int ecdsa_nn_random_brainpoolp256r1_test_vector(nn_t out, nn_src_t q)
crypto/libecc/src/tests/ec_self_tests_core.h
977
static int ecdsa_nn_random_brainpoolp384r1_test_vector(nn_t out, nn_src_t q)