/freebsd/crypto/libecc/include/libecc/nn/ |
H A D | nn_modinv.h | 23 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 D | ecgdsa.c | 55 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 D | sm2.c | 426 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 D | eckcdsa.c | 60 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 D | fuzzing_ecgdsa.c | 196 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in ecgdsa_sign_raw()
|
H A D | fuzzing_ecdsa.c | 218 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in ecdsa_sign_raw()
|
H A D | fuzzing_ecrdsa.c | 229 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in ecrdsa_sign_raw()
|
H A D | ecsdsa_common.c | 355 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in __ecsdsa_sign_finalize()
|
H A D | ecrdsa.c | 333 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _ecrdsa_sign_finalize()
|
H A D | bign_common.c | 609 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in __bign_sign_finalize()
|
H A D | ecdsa_common.c | 537 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in __ecdsa_sign_finalize()
|
H A D | ecfsdsa.c | 339 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _ecfsdsa_sign_finalize()
|
H A D | eddsa.c | 1377 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); 1725 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err);
|
H A D | bip0340.c | 350 ret = nn_modinv_fermat(&binv, &b, q); EG(ret, err); in _bip0340_sign()
|
/freebsd/crypto/libecc/src/examples/sig/kcdsa/ |
H A D | kcdsa.c | 88 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 D | sdsa.c | 205 ret = nn_modinv_fermat(&b, &b, q); EG(ret, err); in sdsa_sign()
|
/freebsd/crypto/libecc/src/examples/sig/gostr34_10_94/ |
H A D | gostr34_10_94.c | 203 ret = nn_modinv_fermat(&b, &b, q); EG(ret, err); in gostr34_10_94_sign()
|
/freebsd/crypto/libecc/src/nn/ |
H A D | nn_modinv.c | 531 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 D | dsa.c | 310 ret = nn_modinv_fermat(&kinv, &k, q); EG(ret, err); in dsa_sign()
|