Defined in 11 files as a prototype:
- crypto/external/bsd/heimdal/dist/lib/hcrypto/bn.h, line 103 (as a prototype)
- crypto/external/bsd/netpgp/dist/src/libbn/bn.h, line 93 (as a prototype)
- crypto/external/bsd/openssl.old/dist/crypto/sm2/sm2_crypt.c, line 57 (as a prototype)
- crypto/external/bsd/openssl.old/dist/crypto/sm2/sm2_crypt.c, line 58 (as a prototype)
- crypto/external/bsd/openssl.old/dist/crypto/sm2/sm2_crypt.c, line 59 (as a prototype)
- crypto/external/bsd/openssl.old/dist/include/openssl/bn.h, line 275 (as a prototype)
- crypto/external/bsd/openssl/dist/crypto/sm2/sm2_crypt.c, line 63 (as a prototype)
- crypto/external/bsd/openssl/dist/crypto/sm2/sm2_crypt.c, line 64 (as a prototype)
- crypto/external/bsd/openssl/dist/crypto/sm2/sm2_crypt.c, line 65 (as a prototype)
- crypto/external/bsd/openssl/dist/include/openssl/bn.h, line 299 (as a prototype)
- sbin/nvmectl/bn.h, line 93 (as a prototype)
Defined in 3 files as a macro:
Defined in 5 files as a function:
Referenced in 244 files:
- crypto/dist/ipsec-tools/src/racoon/crypto_openssl.c, 10 times
- crypto/external/bsd/heimdal/dist/kdc/pkinit.c, line 182
- crypto/external/bsd/heimdal/dist/lib/hcrypto/bn.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/dh-ltm.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/dh-tfm.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/dh.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/dsa.c, line 65
- crypto/external/bsd/heimdal/dist/lib/hcrypto/pkcs12.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/rsa.c, line 154
- crypto/external/bsd/heimdal/dist/lib/hcrypto/test_bn.c, 13 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/test_dh.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/test_rsa.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/hcrypto/undef.h, line 72
- crypto/external/bsd/heimdal/dist/lib/hx509/crypto.c, line 496
- crypto/external/bsd/heimdal/dist/lib/hx509/hxtool.c, line 1297
- crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/pkinit.c, line 1523
- crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c, 15 times
- crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c, line 920
- crypto/external/bsd/netpgp/dist/src/lib/signature.c, line 221
- crypto/external/bsd/netpgp/dist/src/librsa/rsa.c, 13 times
- crypto/external/bsd/netpgp/dist/src/libverify/libverify.c, 7 times
- crypto/external/bsd/openssh/dist/kexdh.c, line 194
- crypto/external/bsd/openssh/dist/moduli.c, 2 times
- crypto/external/bsd/openssh/dist/ssh-pkcs11.c, 2 times
- crypto/external/bsd/openssh/dist/sshkey.c, line 1601
- crypto/external/bsd/openssl.old/dist/apps/apps.c, 2 times
- crypto/external/bsd/openssl.old/dist/apps/ca.c, 5 times
- crypto/external/bsd/openssl.old/dist/apps/ecparam.c, 6 times
- crypto/external/bsd/openssl.old/dist/apps/genrsa.c, line 170
- crypto/external/bsd/openssl.old/dist/apps/ocsp.c, line 1281
- crypto/external/bsd/openssl.old/dist/apps/prime.c, line 131
- crypto/external/bsd/openssl.old/dist/apps/s_client.c, 2 times
- crypto/external/bsd/openssl.old/dist/apps/speed.c, 4 times
- crypto/external/bsd/openssl.old/dist/apps/testdsa.h, 5 times
- crypto/external/bsd/openssl.old/dist/apps/ts.c, line 789
- crypto/external/bsd/openssl.old/dist/apps/x509.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/asn1/a_object.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/asn1/x_bignum.c, line 90
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_blind.c, 5 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_depr.c, line 45
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_gcd.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_lib.c, 3 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_mod.c, line 271
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_mpi.c, line 77
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_print.c, 3 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_recp.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_sqrt.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/bn/bn_word.c, line 36
- crypto/external/bsd/openssl.old/dist/crypto/dh/dh_key.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/dh/dh_lib.c, 3 times
- crypto/external/bsd/openssl.old/dist/crypto/dh/dh_rfc7919.c, line 71
- crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa_ameth.c, 3 times
- crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa_gen.c, 6 times
- crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa_key.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa_lib.c, 10 times
- crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa_ossl.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ec2_smpl.c, 12 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ec_asn1.c, 7 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ec_curve.c, 6 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ec_key.c, line 245
- crypto/external/bsd/openssl.old/dist/crypto/ec/ec_lib.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/eck_prn.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ecp_mont.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/ec/ecp_smpl.c, 12 times
- crypto/external/bsd/openssl.old/dist/crypto/objects/obj_dat.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/pem/pvkfmt.c, 13 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_chk.c, 5 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_crpt.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_depr.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_gen.c, 8 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_lib.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_mp.c, 4 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_ossl.c, 40 times
- crypto/external/bsd/openssl.old/dist/crypto/rsa/rsa_pmeth.c, 3 times
- crypto/external/bsd/openssl.old/dist/crypto/sm2/sm2_sign.c, 6 times
- crypto/external/bsd/openssl.old/dist/crypto/srp/srp_lib.c, 8 times
- crypto/external/bsd/openssl.old/dist/crypto/srp/srp_vfy.c, 5 times
- crypto/external/bsd/openssl.old/dist/crypto/ts/ts_lib.c, line 33
- crypto/external/bsd/openssl.old/dist/crypto/x509v3/v3_asid.c, 2 times
- crypto/external/bsd/openssl.old/dist/crypto/x509v3/v3_utl.c, 4 times
- crypto/external/bsd/openssl.old/dist/engines/e_capi.c, 8 times
- crypto/external/bsd/openssl.old/dist/fuzz/bignum.c, 5 times
- crypto/external/bsd/openssl.old/dist/fuzz/bndiv.c, 5 times
- crypto/external/bsd/openssl.old/dist/ssl/statem/statem_clnt.c, 3 times
- crypto/external/bsd/openssl.old/dist/ssl/statem/statem_srvr.c, line 3214
- crypto/external/bsd/openssl.old/dist/ssl/t1_lib.c, 3 times
- crypto/external/bsd/openssl.old/dist/ssl/tls_srp.c, 28 times
- crypto/external/bsd/openssl.old/dist/test/bntest.c, 216 times
- crypto/external/bsd/openssl.old/dist/test/dhtest.c, 12 times
- crypto/external/bsd/openssl.old/dist/test/dsa_no_digest_size_test.c, 3 times
- crypto/external/bsd/openssl.old/dist/test/ecdsatest.c, 3 times
- crypto/external/bsd/openssl.old/dist/test/ecstresstest.c, 3 times
- crypto/external/bsd/openssl.old/dist/test/ectest.c, 39 times
- crypto/external/bsd/openssl.old/dist/test/exptest.c, 11 times
- crypto/external/bsd/openssl.old/dist/test/ossl_shim/ossl_shim.cc, 4 times
- crypto/external/bsd/openssl.old/dist/test/rsa_mp_test.c, 3 times
- crypto/external/bsd/openssl.old/dist/test/sm2_internal_test.c, 11 times
- crypto/external/bsd/openssl.old/dist/test/srptest.c, 9 times
- crypto/external/bsd/openssl.old/dist/test/sslapitest.c, 2 times
- crypto/external/bsd/openssl.old/dist/test/ssltest_old.c, 13 times
- crypto/external/bsd/openssl.old/dist/test/test_test.c, 8 times
- crypto/external/bsd/openssl.old/dist/test/testutil/tests.c, 3 times
- crypto/external/bsd/openssl/dist/apps/ca.c, 5 times
- crypto/external/bsd/openssl/dist/apps/dhparam.c, 3 times
- crypto/external/bsd/openssl/dist/apps/dsa.c, line 221
- crypto/external/bsd/openssl/dist/apps/genrsa.c, 2 times
- crypto/external/bsd/openssl/dist/apps/lib/apps.c, 2 times
- crypto/external/bsd/openssl/dist/apps/lib/tlssrp_depr.c, 2 times
- crypto/external/bsd/openssl/dist/apps/ocsp.c, line 1193
- crypto/external/bsd/openssl/dist/apps/prime.c, line 142
- crypto/external/bsd/openssl/dist/apps/req.c, line 1001
- crypto/external/bsd/openssl/dist/apps/rsa.c, line 287
- crypto/external/bsd/openssl/dist/apps/speed.c, 2 times
- crypto/external/bsd/openssl/dist/apps/testdsa.h, 5 times
- crypto/external/bsd/openssl/dist/apps/ts.c, line 817
- crypto/external/bsd/openssl/dist/apps/x509.c, 5 times
- crypto/external/bsd/openssl/dist/crypto/asn1/a_object.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/asn1/x_bignum.c, line 90
- crypto/external/bsd/openssl/dist/crypto/bn/bn_blind.c, 5 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_conv.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_depr.c, line 42
- crypto/external/bsd/openssl/dist/crypto/bn/bn_gcd.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_lib.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_mod.c, line 275
- crypto/external/bsd/openssl/dist/crypto/bn/bn_mpi.c, line 77
- crypto/external/bsd/openssl/dist/crypto/bn/bn_recp.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_sqrt.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/bn/bn_word.c, line 36
- crypto/external/bsd/openssl/dist/crypto/cms/cms_dh.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/dh/dh_asn1.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/dh/dh_backend.c, line 93
- crypto/external/bsd/openssl/dist/crypto/dh/dh_check.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/dh/dh_key.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/dsa/dsa_backend.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/dsa/dsa_check.c, line 92
- crypto/external/bsd/openssl/dist/crypto/dsa/dsa_key.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/dsa/dsa_lib.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/dsa/dsa_ossl.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/ec/ec2_smpl.c, 12 times
- crypto/external/bsd/openssl/dist/crypto/ec/ec_asn1.c, 7 times
- crypto/external/bsd/openssl/dist/crypto/ec/ec_curve.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/ec/ec_key.c, line 349
- crypto/external/bsd/openssl/dist/crypto/ec/ec_lib.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/ec/eck_prn.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/ec/ecp_mont.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/ec/ecp_smpl.c, 12 times
- crypto/external/bsd/openssl/dist/crypto/evp/pmeth_lib.c, line 429
- crypto/external/bsd/openssl/dist/crypto/ffc/ffc_backend.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/ffc/ffc_key_generate.c, line 58
- crypto/external/bsd/openssl/dist/crypto/ffc/ffc_params.c, 8 times
- crypto/external/bsd/openssl/dist/crypto/ffc/ffc_params_generate.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/objects/obj_dat.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/params_from_text.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/pem/pvkfmt.c, 13 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_acvp_test_params.c, 10 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_backend.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_chk.c, 5 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_crpt.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_depr.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_gen.c, 8 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_lib.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_mp.c, 4 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_ossl.c, 39 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_pmeth.c, 3 times
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_sp800_56b_check.c, line 342
- crypto/external/bsd/openssl/dist/crypto/rsa/rsa_sp800_56b_gen.c, 9 times
- crypto/external/bsd/openssl/dist/crypto/sm2/sm2_key.c, line 49
- crypto/external/bsd/openssl/dist/crypto/sm2/sm2_sign.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/srp/srp_lib.c, 8 times
- crypto/external/bsd/openssl/dist/crypto/srp/srp_vfy.c, 6 times
- crypto/external/bsd/openssl/dist/crypto/store/store_lib.c, line 386
- crypto/external/bsd/openssl/dist/crypto/ts/ts_lib.c, line 33
- crypto/external/bsd/openssl/dist/crypto/x509/v3_asid.c, 2 times
- crypto/external/bsd/openssl/dist/crypto/x509/v3_ncons.c, line 466
- crypto/external/bsd/openssl/dist/crypto/x509/v3_utl.c, 4 times
- crypto/external/bsd/openssl/dist/demos/pkey/EVP_PKEY_DSA_paramfromdata.c, 3 times
- crypto/external/bsd/openssl/dist/demos/pkey/EVP_PKEY_RSA_keygen.c, 2 times
- crypto/external/bsd/openssl/dist/engines/e_capi.c, 8 times
- crypto/external/bsd/openssl/dist/fuzz/bignum.c, 5 times
- crypto/external/bsd/openssl/dist/fuzz/bndiv.c, 5 times
- crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/ec_kmgmt.c, 5 times
- crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/rsa_kmgmt.c, line 481
- crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c, 3 times
- crypto/external/bsd/openssl/dist/ssl/statem/statem_srvr.c, 4 times
- crypto/external/bsd/openssl/dist/ssl/t1_lib.c, line 2954
- crypto/external/bsd/openssl/dist/ssl/tls_srp.c, 28 times
- crypto/external/bsd/openssl/dist/test/acvp_test.c, 13 times
- crypto/external/bsd/openssl/dist/test/asn1_dsa_internal_test.c, 2 times
- crypto/external/bsd/openssl/dist/test/asn1_internal_test.c, 2 times
- crypto/external/bsd/openssl/dist/test/bn_internal_test.c, 3 times
- crypto/external/bsd/openssl/dist/test/bntest.c, 218 times
- crypto/external/bsd/openssl/dist/test/dhtest.c, 17 times
- crypto/external/bsd/openssl/dist/test/dsa_no_digest_size_test.c, 3 times
- crypto/external/bsd/openssl/dist/test/dsatest.c, 19 times
- crypto/external/bsd/openssl/dist/test/ecdsatest.c, 3 times
- crypto/external/bsd/openssl/dist/test/ecstresstest.c, 3 times
- crypto/external/bsd/openssl/dist/test/ectest.c, 57 times
- crypto/external/bsd/openssl/dist/test/evp_extra_test.c, 18 times
- crypto/external/bsd/openssl/dist/test/evp_extra_test2.c, 5 times
- crypto/external/bsd/openssl/dist/test/evp_libctx_test.c, 6 times
- crypto/external/bsd/openssl/dist/test/evp_pkey_provided_test.c, 60 times
- crypto/external/bsd/openssl/dist/test/exptest.c, 21 times
- crypto/external/bsd/openssl/dist/test/ffc_internal_test.c, 10 times
- crypto/external/bsd/openssl/dist/test/helpers/predefined_dhparams.c, 7 times
- crypto/external/bsd/openssl/dist/test/keymgmt_internal_test.c, 4 times
- crypto/external/bsd/openssl/dist/test/param_build_test.c, 16 times
- crypto/external/bsd/openssl/dist/test/params_api_test.c, 4 times
- crypto/external/bsd/openssl/dist/test/params_test.c, 5 times
- crypto/external/bsd/openssl/dist/test/rsa_mp_test.c, 6 times
- crypto/external/bsd/openssl/dist/test/rsa_sp800_56b_test.c, 32 times
- crypto/external/bsd/openssl/dist/test/sm2_internal_test.c, 11 times
- crypto/external/bsd/openssl/dist/test/srptest.c, 9 times
- crypto/external/bsd/openssl/dist/test/ssl_old_test.c, 3 times
- crypto/external/bsd/openssl/dist/test/sslapitest.c, 3 times
- crypto/external/bsd/openssl/dist/test/test_test.c, 8 times
- crypto/external/bsd/openssl/dist/test/testutil/tests.c, 3 times
- crypto/external/cpl/trousers/dist/src/include/daa/bi_openssl.h, 4 times
- crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/rsa.c, 15 times
- crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/bi_openssl.c, 3 times
- external/bsd/libfido2/dist/src/rs256.c, 2 times
- external/bsd/ntp/dist/ntpd/ntp_crypto.c, 24 times
- external/bsd/ntp/dist/ntpd/ntp_proto.c, line 3171
- external/bsd/ntp/dist/util/ntp-keygen.c, 31 times
- external/bsd/openldap/dist/include/ldap_pvt.h, line 518
- external/bsd/openldap/dist/libraries/libldap/tls_o.c, line 1580
- external/bsd/openldap/dist/servers/slapd/overlays/autoca.c, 3 times
- external/bsd/unbound/dist/sldns/keyraw.c, 52 times
- external/bsd/wpa/dist/src/common/dpp.c, 15 times
- external/bsd/wpa/dist/src/crypto/crypto_openssl.c, 9 times
- external/bsd/wpa/dist/src/crypto/tls_openssl.c, line 1479
- external/mpl/bind/dist/bin/tests/system/rsabigexponent/bigkey.c, line 100
- external/mpl/bind/dist/lib/dns/openssldh_link.c, 22 times
- external/mpl/bind/dist/lib/dns/opensslrsa_link.c, 26 times
- games/factor/factor.c, line 316
- lib/libtelnet/pk.c, 16 times
- sbin/nvmectl/bignum.c, 3 times
- sbin/nvmectl/humanize_bignum.c, 4 times
- sbin/nvmectl/util.c, 2 times
- tests/crypto/libcrypto/ecdh/ecdhtest.c, 4 times
- usr.bin/dc/bcode.c, 9 times
- usr.bin/dc/inout.c, 3 times
- usr.bin/dc/mem.c, line 46
- usr.bin/moduli/qsafe/qsafe.c, 2 times