Home
last modified time | relevance | path

Searched refs:nn_modinv_fermat (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/libecc/include/libecc/nn/
H A Dnn_modinv.h23 ATTRIBUTE_WARN_UNUSED_RET int nn_modinv_fermat(nn_t out, nn_src_t x, nn_src_t p);
/freebsd/crypto/libecc/src/sig/
H A Decgdsa.c55 ret = nn_modinv_fermat(&xinv, &(in_priv->x), &(in_priv->params->ec_gen_order)); EG(ret, err); in ecgdsa_init_pub_key()
334 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _ecgdsa_sign_finalize()
H A Dsm2.c426 ret = nn_modinv_fermat(&tmp, &tmp2, q); EG(ret, err); /* tmp = (b*(1 + x))^(-1) */ in _sm2_sign_finalize()
439 ret = nn_modinv_fermat(&tmp, &tmp2, q); EG(ret, err); /* tmp = (1 + x)^(-1) */ in _sm2_sign_finalize()
H A Deckcdsa.c60 ret = nn_modinv_fermat(&xinv, &(in_priv->x), q); EG(ret, err); in eckcdsa_init_pub_key()
443 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _eckcdsa_sign_finalize()
H A Dfuzzing_ecgdsa.c196 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in ecgdsa_sign_raw()
H A Dfuzzing_ecdsa.c218 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in ecdsa_sign_raw()
H A Dfuzzing_ecrdsa.c229 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in ecrdsa_sign_raw()
H A Decsdsa_common.c355 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in __ecsdsa_sign_finalize()
H A Decrdsa.c333 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _ecrdsa_sign_finalize()
H A Dbign_common.c609 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in __bign_sign_finalize()
H A Decdsa_common.c537 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in __ecdsa_sign_finalize()
H A Decfsdsa.c339 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _ecfsdsa_sign_finalize()
H A Deddsa.c1377 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err);
1725 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err);
H A Dbip0340.c350 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _bip0340_sign()
/freebsd/crypto/libecc/src/examples/sig/kcdsa/
H A Dkcdsa.c88 ret = nn_modinv_fermat(&(priv_.x), &(priv_.x), &(priv_.q)); EG(ret, err); in kcdsa_compute_pub_from_priv()
296 ret = nn_modinv_fermat(&b, &b, q); EG(ret, err); in kcdsa_sign()
/freebsd/crypto/libecc/src/examples/sig/sdsa/
H A Dsdsa.c205 ret = nn_modinv_fermat(&b, &b, q); EG(ret, err); in sdsa_sign()
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/
H A Dgostr34_10_94.c203 ret = nn_modinv_fermat(&b, &b, q); EG(ret, err); in gostr34_10_94_sign()
/freebsd/crypto/libecc/src/nn/
H A Dnn_modinv.c531 int nn_modinv_fermat(nn_t out, nn_src_t x, nn_src_t p) in nn_modinv_fermat() function
/freebsd/crypto/libecc/src/examples/sig/dsa/
H A Ddsa.c310 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in dsa_sign()