/dports/security/nettle/nettle-3.7.3/testsuite/ |
H A D | ecc-add-test.c | 12 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 D | ecc-dup-test.c | 11 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 D | eddsa-compress-test.c | 69 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 D | ecc-mul-a-test.c | 17 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 D | ecc-mul-g-test.c | 17 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 D | ecc-sqrt-test.c | 89 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 D | gostdsa-sign-test.c | 18 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 D | ecdsa-sign-test.c | 17 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 D | ecc-modinv-test.c | 70 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 D | eddsa-sign-test.c | 47 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 D | eddsa-verify-test.c | 46 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 D | testutils.h | 173 xalloc_limbs (mp_size_t n);
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/testsuite/ |
H A D | ecc-add-test.c | 11 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 D | eddsa-compress-test.c | 62 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 D | ecc-dup-test.c | 11 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 D | ecc-mul-g-test.c | 17 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 D | ecc-mul-a-test.c | 17 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 D | ecc-sqrt-test.c | 89 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 D | ecdsa-sign-test.c | 17 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 D | ecc-modinv-test.c | 56 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 D | eddsa-sign-test.c | 45 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 D | eddsa-verify-test.c | 44 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 D | testutils.h | 205 xalloc_limbs (mp_size_t n);
|
/dports/security/nettle/nettle-3.7.3/examples/ |
H A D | ecc-benchmark.c | 68 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 D | ecc-benchmark.c | 68 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()
|