Home
last modified time | relevance | path

Searched refs:xalloc_limbs (Results 1 – 25 of 29) sorted by relevance

12

/dports/security/nettle/nettle-3.7.3/testsuite/
H A Decc-add-test.c12 mp_limb_t *g = xalloc_limbs (ecc_size_j (ecc)); in test_main()
13 mp_limb_t *g2 = xalloc_limbs (ecc_size_j (ecc)); in test_main()
14 mp_limb_t *g3 = xalloc_limbs (ecc_size_j (ecc)); in test_main()
15 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
16 mp_limb_t *scratch = xalloc_limbs (ecc->add_hhh_itch); in test_main()
24 mp_limb_t *z = xalloc_limbs (ecc_size_j (ecc)); in test_main()
H A Decc-dup-test.c11 mp_limb_t *g = xalloc_limbs (ecc_size_j (ecc)); in test_main()
12 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
13 mp_limb_t *scratch = xalloc_limbs (ecc->dup_itch); in test_main()
19 mp_limb_t *z = xalloc_limbs (ecc_size_j (ecc)); in test_main()
H A Deddsa-compress-test.c69 s = xalloc_limbs (size); in test_main()
70 p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
71 pa1 = xalloc_limbs (ecc_size_a (ecc)); in test_main()
72 pa2 = xalloc_limbs (ecc_size_a (ecc)); in test_main()
80 scratch = xalloc_limbs (itch); in test_main()
H A Decc-mul-a-test.c17 mp_limb_t *g = xalloc_limbs (ecc_size_a (ecc)); in test_main()
18 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
19 mp_limb_t *q = xalloc_limbs (ecc_size_j (ecc)); in test_main()
20 mp_limb_t *n = xalloc_limbs (size); in test_main()
21 mp_limb_t *scratch = xalloc_limbs (ecc->mul_itch); in test_main()
H A Decc-mul-g-test.c17 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
18 mp_limb_t *q = xalloc_limbs (ecc_size_j (ecc)); in test_main()
19 mp_limb_t *n = xalloc_limbs (size); in test_main()
20 mp_limb_t *scratch = xalloc_limbs (ecc->mul_g_itch); in test_main()
H A Decc-sqrt-test.c89 up = xalloc_limbs (m->size); in test_modulo()
90 vp = xalloc_limbs (m->size); in test_modulo()
91 rp = xalloc_limbs (2*m->size); in test_modulo()
92 scratch = xalloc_limbs (m->sqrt_itch); in test_modulo()
H A Dgostdsa-sign-test.c18 mp_limb_t *rp = xalloc_limbs (ecc->p.size); in test_gostdsa()
19 mp_limb_t *sp = xalloc_limbs (ecc->p.size); in test_gostdsa()
20 mp_limb_t *scratch = xalloc_limbs (ecc_gostdsa_sign_itch (ecc)); in test_gostdsa()
H A Decdsa-sign-test.c17 mp_limb_t *rp = xalloc_limbs (ecc->p.size); in test_ecdsa()
18 mp_limb_t *sp = xalloc_limbs (ecc->p.size); in test_ecdsa()
19 mp_limb_t *scratch = xalloc_limbs (ecc_ecdsa_sign_itch (ecc)); in test_ecdsa()
H A Decc-modinv-test.c70 a = xalloc_limbs (m->size); in test_modulo()
71 ai = xalloc_limbs (2*m->size); in test_modulo()
72 ref = xalloc_limbs (m->size);; in test_modulo()
73 scratch = xalloc_limbs (m->invert_itch); in test_modulo()
H A Deddsa-sign-test.c47 mp_limb_t *scratch = xalloc_limbs (_eddsa_sign_itch (ecc)); in test_eddsa_sign()
53 mp_limb_t *k2 = xalloc_limbs (ecc->p.size); in test_eddsa_sign()
H A Deddsa-verify-test.c46 mp_limb_t *A = xalloc_limbs (ecc_size_a (ecc)); in test_eddsa()
47 mp_limb_t *scratch = xalloc_limbs (_eddsa_verify_itch (ecc)); in test_eddsa()
H A Dtestutils.h173 xalloc_limbs (mp_size_t n);
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/testsuite/
H A Decc-add-test.c11 mp_limb_t *g = xalloc_limbs (ecc_size_j (ecc)); in test_main()
12 mp_limb_t *g2 = xalloc_limbs (ecc_size_j (ecc)); in test_main()
13 mp_limb_t *g3 = xalloc_limbs (ecc_size_j (ecc)); in test_main()
14 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
15 mp_limb_t *scratch = xalloc_limbs (ECC_ADD_JJJ_ITCH(ecc->p.size)); in test_main()
19 mp_limb_t *z = xalloc_limbs (ecc_size_j (ecc)); in test_main()
H A Deddsa-compress-test.c62 s = xalloc_limbs (size); in test_main()
63 p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
64 pa1 = xalloc_limbs (ecc_size_a (ecc)); in test_main()
65 pa2 = xalloc_limbs (ecc_size_a (ecc)); in test_main()
72 scratch = xalloc_limbs (itch); in test_main()
H A Decc-dup-test.c11 mp_limb_t *g = xalloc_limbs (ecc_size_j (ecc)); in test_main()
12 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
13 mp_limb_t *scratch = xalloc_limbs (ECC_DUP_EH_ITCH(ecc->p.size));; in test_main()
17 mp_limb_t *z = xalloc_limbs (ecc_size_j (ecc)); in test_main()
H A Decc-mul-g-test.c17 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
18 mp_limb_t *q = xalloc_limbs (ecc_size_j (ecc)); in test_main()
19 mp_limb_t *n = xalloc_limbs (size); in test_main()
20 mp_limb_t *scratch = xalloc_limbs (ecc->mul_g_itch); in test_main()
H A Decc-mul-a-test.c17 mp_limb_t *p = xalloc_limbs (ecc_size_j (ecc)); in test_main()
18 mp_limb_t *q = xalloc_limbs (ecc_size_j (ecc)); in test_main()
19 mp_limb_t *n = xalloc_limbs (size); in test_main()
20 mp_limb_t *scratch = xalloc_limbs (ecc->mul_itch); in test_main()
H A Decc-sqrt-test.c89 up = xalloc_limbs (m->size); in test_modulo()
90 vp = xalloc_limbs (m->size); in test_modulo()
91 rp = xalloc_limbs (2*m->size); in test_modulo()
92 scratch = xalloc_limbs (m->sqrt_itch); in test_modulo()
H A Decdsa-sign-test.c17 mp_limb_t *rp = xalloc_limbs (ecc->p.size); in test_ecdsa()
18 mp_limb_t *sp = xalloc_limbs (ecc->p.size); in test_ecdsa()
19 mp_limb_t *scratch = xalloc_limbs (ecc_ecdsa_sign_itch (ecc)); in test_ecdsa()
H A Decc-modinv-test.c56 a = xalloc_limbs (m->size); in test_modulo()
57 ai = xalloc_limbs (2*m->size); in test_modulo()
58 ref = xalloc_limbs (m->size);; in test_modulo()
59 scratch = xalloc_limbs (m->invert_itch); in test_modulo()
H A Deddsa-sign-test.c45 mp_limb_t *scratch = xalloc_limbs (_eddsa_sign_itch (ecc)); in test_eddsa_sign()
52 mp_limb_t *k2 = xalloc_limbs (ecc->p.size); in test_eddsa_sign()
H A Deddsa-verify-test.c44 mp_limb_t *A = xalloc_limbs (ecc_size_a (ecc)); in test_eddsa()
45 mp_limb_t *scratch = xalloc_limbs (_eddsa_verify_itch (ecc)); in test_eddsa()
H A Dtestutils.h205 xalloc_limbs (mp_size_t n);
/dports/security/nettle/nettle-3.7.3/examples/
H A Decc-benchmark.c68 xalloc_limbs (mp_size_t size) in xalloc_limbs() function
250 ctx.rp = xalloc_limbs (3*ecc->p.size); in bench_curve()
251 ctx.ap = xalloc_limbs (3*ecc->p.size); in bench_curve()
252 ctx.bp = xalloc_limbs (3*ecc->p.size); in bench_curve()
262 ctx.tp = xalloc_limbs (itch); in bench_curve()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/examples/
H A Decc-benchmark.c68 xalloc_limbs (mp_size_t size) in xalloc_limbs() function
264 ctx.rp = xalloc_limbs (3*ecc->p.size); in bench_curve()
265 ctx.ap = xalloc_limbs (3*ecc->p.size); in bench_curve()
266 ctx.bp = xalloc_limbs (3*ecc->p.size); in bench_curve()
276 ctx.tp = xalloc_limbs (itch); in bench_curve()

12