Home
last modified time | relevance | path

Searched refs:nn_sub (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/libecc/src/nn/
H A Dnn_modinv.c161 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 Dnn_add.c286 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 Dnn_mul_redc1.c76 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 Dnn_add.h24 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 Dnn_pollard_rho.c100 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 Dfp_add.c136 ret = nn_sub(&(out->fp_val), &(in->ctx->p), &(in->fp_val)); in fp_neg()
H A Dfp_sqrt.c241 ret = nn_sub(&tmp_nn, &m, &i); EG(ret, err); in fp_sqrt()
/freebsd/crypto/libecc/src/examples/sig/sdsa/
H A Dsdsa.c328 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 Dgostr34_10_94.c338 ret = nn_sub(&u2, q, &r); EG(ret, err); in gostr34_10_94_verify()
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c680 GENERIC_TEST_NN(nn_sub, NN_SUB, "-", nn_sub, "nnn", "iio",
/freebsd/crypto/libecc/src/sig/
H A Dsig_algs.c1095 ret = nn_sub(&elements[index0].number, &elements[index0].number, in ec_verify_bos_coster()