Searched refs:nn_sub (Results 1 – 11 of 11) sorted by relevance
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_modinv.c | 161 ret = nn_sub(&tmp, m, uu); EG(ret, err); in _nn_modinv_odd() 265 ret = nn_sub(&out, m, &out); EG(ret, err); in nn_modinv() 295 ret = nn_sub(A, A, B); EG(ret, err); in _nn_sub_mod_2exp() 506 ret = nn_sub(p_minus_two, p, &two); in _nn_modinv_fermat_common()
|
H A D | nn_add.c | 286 int nn_sub(nn_t out, nn_src_t in1, nn_src_t in2) in nn_sub() function 490 ret = nn_sub(out, out, in2_); EG(ret, err); in _nn_mod_sub() 608 ret = nn_sub(out, p, in); EG(ret, err); in nn_mod_neg()
|
H A D | nn_mul_redc1.c | 76 ret = nn_sub(&tmp_nn1, &tmp_nn2, &tmp_nn1); EG(ret, err); in nn_compute_redc1_coefs()
|
/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_add.h | 24 ATTRIBUTE_WARN_UNUSED_RET int nn_sub(nn_t out, nn_src_t in1, nn_src_t in2);
|
/freebsd/crypto/libecc/src/examples/basic/ |
H A D | nn_pollard_rho.c | 100 ret = nn_sub(&tmp, &a, &b); EG(ret, err); in pollard_rho() 102 ret = nn_sub(&tmp, &b, &a); EG(ret, err); in pollard_rho()
|
/freebsd/crypto/libecc/src/fp/ |
H A D | fp_add.c | 136 ret = nn_sub(&(out->fp_val), &(in->ctx->p), &(in->fp_val)); in fp_neg()
|
H A D | fp_sqrt.c | 241 ret = nn_sub(&tmp_nn, &m, &i); EG(ret, err); in fp_sqrt()
|
/freebsd/crypto/libecc/src/examples/sig/sdsa/ |
H A D | sdsa.c | 328 ret = nn_sub(&r, q, &r); EG(ret, err); /* compute -r = (q - r) mod q */ in sdsa_verify()
|
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/ |
H A D | gostr34_10_94.c | 338 ret = nn_sub(&u2, q, &r); EG(ret, err); in gostr34_10_94_verify()
|
/freebsd/crypto/libecc/src/arithmetic_tests/ |
H A D | arithmetic_tests.c | 680 GENERIC_TEST_NN(nn_sub, NN_SUB, "-", nn_sub, "nnn", "iio",
|
/freebsd/crypto/libecc/src/sig/ |
H A D | sig_algs.c | 1095 ret = nn_sub(&elements[index0].number, &elements[index0].number, in ec_verify_bos_coster()
|