Symbol: BIGNUM
crypto/heimdal/kdc/pkinit.c
1121
const BIGNUM *pub_key;
crypto/heimdal/kdc/pkinit.c
310
static BIGNUM *
crypto/heimdal/kdc/pkinit.c
313
BIGNUM *bn;
crypto/heimdal/kdc/pkinit.c
333
BIGNUM *p, *q, *g;
crypto/heimdal/kdc/pkinit.c
53
BIGNUM *public_key;
crypto/heimdal/kdc/pkinit.c
904
BN_to_integer(krb5_context context, const BIGNUM *bn, heim_integer *integer)
crypto/heimdal/lib/hx509/crypto.c
1014
static BIGNUM *
crypto/heimdal/lib/hx509/crypto.c
1052
BIGNUM *key, *p, *q, *g;
crypto/heimdal/lib/hx509/crypto.c
2107
BIGNUM *
crypto/heimdal/lib/hx509/crypto.c
223
static BIGNUM *
crypto/heimdal/lib/hx509/crypto.c
226
BIGNUM *bn;
crypto/heimdal/lib/hx509/crypto.c
2984
const BIGNUM *d, *p, *q, *dmp1, *dmq1, *iqmp;
crypto/heimdal/lib/hx509/crypto.c
2985
BIGNUM *new_d, *new_p, *new_q, *new_dmp1, *new_dmq1, *new_iqmp, *n, *e;
crypto/heimdal/lib/hx509/crypto.c
492
BIGNUM *order = NULL;
crypto/heimdal/lib/hx509/crypto.c
64
BIGNUM *(*get_internal)(hx509_context, hx509_private_key, const char *);
crypto/heimdal/lib/hx509/crypto.c
822
BIGNUM *e;
crypto/heimdal/lib/hx509/crypto.c
898
static BIGNUM *
crypto/heimdal/lib/hx509/crypto.c
903
const BIGNUM *n;
crypto/heimdal/lib/hx509/hx509-private.h
346
BIGNUM *
crypto/heimdal/lib/hx509/hxtool.c
1230
BIGNUM *e;
crypto/heimdal/lib/hx509/ks_p11.c
591
static BIGNUM *
crypto/heimdal/lib/hx509/ks_p11.c
599
BIGNUM *bn;
crypto/heimdal/lib/hx509/ks_p11.c
637
BIGNUM *n, *e;
crypto/heimdal/lib/hx509/softp11.c
370
BIGNUM *num;
crypto/heimdal/lib/krb5/pkinit.c
104
BN_to_integer(krb5_context context, const BIGNUM *bn, heim_integer *integer)
crypto/heimdal/lib/krb5/pkinit.c
117
static BIGNUM *
crypto/heimdal/lib/krb5/pkinit.c
120
BIGNUM *bn;
crypto/heimdal/lib/krb5/pkinit.c
137
BIGNUM *p, *g, *q;
crypto/heimdal/lib/krb5/pkinit.c
1418
BIGNUM *kdc_dh_pubkey = NULL;
crypto/heimdal/lib/krb5/pkinit.c
488
const BIGNUM *p, *g, *q, *pub_key;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
147
static void print_pubkey(BIGNUM *, char *);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
228
compat_dh_set0_key(DH *dh, BIGNUM *pub, BIGNUM *priv)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
242
static void compat_dh_get0_key(const DH *dh, const BIGNUM **pub,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
243
const BIGNUM **priv)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
272
compat_ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
323
encode_bn_der(const BIGNUM *bn, uint8_t **der_out, int *len_out)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
344
static BIGNUM *
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
348
BIGNUM *bn;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3805
BIGNUM *r = NULL, *s = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
439
BIGNUM *counter;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
443
BIGNUM *p;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
444
BIGNUM *q;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
445
BIGNUM *g;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
446
BIGNUM *j;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
452
ASN1_SIMPLE(int_dhvparams, counter, BIGNUM)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
456
ASN1_SIMPLE(int_dhxparams, p, BIGNUM),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
457
ASN1_SIMPLE(int_dhxparams, g, BIGNUM),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
458
ASN1_SIMPLE(int_dhxparams, q, BIGNUM),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
459
ASN1_OPT(int_dhxparams, j, BIGNUM),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5545
print_pubkey(BIGNUM * key, char *msg)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
739
BIGNUM *pubkey_bn = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
767
const BIGNUM *pubkey_bn;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
849
BIGNUM *pubkey_bn = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
919
BIGNUM *pubkey_bn = NULL;
crypto/krb5/src/plugins/preauth/spake/openssl.c
143
static BIGNUM *
crypto/krb5/src/plugins/preauth/spake/openssl.c
147
BIGNUM *w = NULL;
crypto/krb5/src/plugins/preauth/spake/openssl.c
171
BIGNUM *priv = NULL, *w = NULL;
crypto/krb5/src/plugins/preauth/spake/openssl.c
221
BIGNUM *priv = NULL, *w = NULL;
crypto/krb5/src/plugins/preauth/spake/openssl.c
54
BIGNUM *order;
crypto/openssh/dh.c
236
dh_pub_is_valid(const DH *dh, const BIGNUM *dh_pub)
crypto/openssh/dh.c
241
BIGNUM *tmp;
crypto/openssh/dh.c
242
const BIGNUM *dh_p;
crypto/openssh/dh.c
287
const BIGNUM *dh_p, *pub_key;
crypto/openssh/dh.c
316
BIGNUM *dh_p = NULL, *dh_g = NULL;
crypto/openssh/dh.c
338
dh_new_group(BIGNUM *gen, BIGNUM *modulus)
crypto/openssh/dh.h
33
BIGNUM *g;
crypto/openssh/dh.h
34
BIGNUM *p;
crypto/openssh/dh.h
39
DH *dh_new_group(BIGNUM *, BIGNUM *);
crypto/openssh/dh.h
47
int dh_pub_is_valid(const DH *, const BIGNUM *);
crypto/openssh/kex.h
258
int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
crypto/openssh/kex.h
263
const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssh/kex.h
264
const BIGNUM *, const u_char *, size_t,
crypto/openssh/kexdh.c
117
const BIGNUM *pub_key;
crypto/openssh/kexdh.c
146
const BIGNUM *pub_key;
crypto/openssh/kexdh.c
179
BIGNUM *dh_pub = NULL;
crypto/openssh/kexdh.c
73
kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out)
crypto/openssh/kexdh.c
75
BIGNUM *shared_secret = NULL;
crypto/openssh/kexecdh.c
142
BIGNUM *shared_secret = NULL;
crypto/openssh/kexgex.c
55
const BIGNUM *prime,
crypto/openssh/kexgex.c
56
const BIGNUM *gen,
crypto/openssh/kexgex.c
57
const BIGNUM *client_dh_pub,
crypto/openssh/kexgex.c
58
const BIGNUM *server_dh_pub,
crypto/openssh/kexgexc.c
148
BIGNUM *dh_server_pub = NULL;
crypto/openssh/kexgexc.c
149
const BIGNUM *pub_key, *dh_p, *dh_g;
crypto/openssh/kexgexc.c
98
BIGNUM *p = NULL, *g = NULL;
crypto/openssh/kexgexc.c
99
const BIGNUM *pub_key;
crypto/openssh/kexgexs.c
130
BIGNUM *dh_client_pub = NULL;
crypto/openssh/kexgexs.c
131
const BIGNUM *pub_key, *dh_p, *dh_g;
crypto/openssh/kexgexs.c
76
const BIGNUM *dh_p, *dh_g;
crypto/openssh/moduli.c
143
static BIGNUM *largebase;
crypto/openssh/moduli.c
145
int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
crypto/openssh/moduli.c
154
u_int32_t osize, u_int32_t ogenerator, BIGNUM * omodulus)
crypto/openssh/moduli.c
245
gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start)
crypto/openssh/moduli.c
247
BIGNUM *q;
crypto/openssh/moduli.c
583
BIGNUM *q, *p, *a;
crypto/openssh/monitor.c
670
const BIGNUM *dh_p, *dh_g;
crypto/openssh/monitor_wrap.c
219
BIGNUM *p, *g;
crypto/openssh/packet.c
2663
sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v)
crypto/openssh/packet.c
2735
sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp)
crypto/openssh/packet.h
197
int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v);
crypto/openssh/packet.h
209
int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
crypto/openssh/regress/misc/sk-dummy/sk-dummy.c
315
const BIGNUM *sig_r, *sig_s;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
141
BIGNUM *x = NULL, *y = NULL;
crypto/openssh/regress/unittests/bitmap/tests.c
33
BIGNUM *bn;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
36
BIGNUM *bn, *bn2;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
52
BIGNUM *bn_x, *bn_y;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
37
BIGNUM *bn;
crypto/openssh/regress/unittests/sshkey/common.c
100
const BIGNUM *e = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
108
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
111
const BIGNUM *p = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
119
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
122
const BIGNUM *q = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
130
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
133
const BIGNUM *g = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
141
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
144
const BIGNUM *pub_key = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
152
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
155
const BIGNUM *priv_key = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
74
BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
77
BIGNUM *ret = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
86
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.c
89
const BIGNUM *n = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
97
const BIGNUM *
crypto/openssh/regress/unittests/sshkey/common.h
15
BIGNUM *load_bignum(const char *name);
crypto/openssh/regress/unittests/sshkey/common.h
18
const BIGNUM *rsa_n(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
19
const BIGNUM *rsa_e(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
20
const BIGNUM *rsa_p(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
21
const BIGNUM *rsa_q(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
22
const BIGNUM *dsa_g(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
23
const BIGNUM *dsa_pub_key(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
24
const BIGNUM *dsa_priv_key(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/test_file.c
49
BIGNUM *a, *b, *c;
crypto/openssh/regress/unittests/test_helper/test_helper.c
355
const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred)
crypto/openssh/regress/unittests/test_helper/test_helper.h
58
const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred);
crypto/openssh/sk-usbhid.c
1044
const BIGNUM *sig_r, *sig_s;
crypto/openssh/sk-usbhid.c
609
BIGNUM *x = NULL, *y = NULL;
crypto/openssh/ssh-dss.c
109
const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key;
crypto/openssh/ssh-dss.c
132
const BIGNUM *dsa_priv_key;
crypto/openssh/ssh-dss.c
166
const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key;
crypto/openssh/ssh-dss.c
167
BIGNUM *dsa_p_dup = NULL, *dsa_q_dup = NULL, *dsa_g_dup = NULL;
crypto/openssh/ssh-dss.c
168
BIGNUM *dsa_pub_key_dup = NULL;
crypto/openssh/ssh-dss.c
205
BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL, *dsa_pub_key = NULL;
crypto/openssh/ssh-dss.c
242
BIGNUM *dsa_priv_key = NULL;
crypto/openssh/ssh-dss.c
265
const BIGNUM *sig_r, *sig_s;
crypto/openssh/ssh-dss.c
335
BIGNUM *sig_r = NULL, *sig_s = NULL;
crypto/openssh/ssh-dss.c
53
const BIGNUM *dsa_p;
crypto/openssh/ssh-dss.c
79
const BIGNUM *dsa_p_a, *dsa_q_a, *dsa_g_a, *dsa_pub_key_a;
crypto/openssh/ssh-dss.c
80
const BIGNUM *dsa_p_b, *dsa_q_b, *dsa_g_b, *dsa_pub_key_b;
crypto/openssh/ssh-ecdsa-sk.c
241
BIGNUM *sig_r = NULL, *sig_s = NULL;
crypto/openssh/ssh-ecdsa.c
288
BIGNUM *exponent = NULL;
crypto/openssh/ssh-ecdsa.c
328
const BIGNUM *sig_r, *sig_s;
crypto/openssh/ssh-ecdsa.c
392
BIGNUM *sig_r = NULL, *sig_s = NULL;
crypto/openssh/ssh-keygen.c
173
int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
crypto/openssh/ssh-keygen.c
2999
BIGNUM *start = NULL;
crypto/openssh/ssh-keygen.c
466
buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
crypto/openssh/ssh-keygen.c
495
BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL;
crypto/openssh/ssh-keygen.c
496
BIGNUM *dsa_pub_key = NULL, *dsa_priv_key = NULL;
crypto/openssh/ssh-keygen.c
498
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
crypto/openssh/ssh-keygen.c
499
BIGNUM *rsa_p = NULL, *rsa_q = NULL, *rsa_iqmp = NULL;
crypto/openssh/ssh-keygen.c
500
BIGNUM *rsa_dmp1 = NULL, *rsa_dmq1 = NULL;
crypto/openssh/ssh-pkcs11-client.c
330
ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
crypto/openssh/ssh-pkcs11-client.c
331
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11-client.c
535
int (*ec_set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/openssh/ssh-pkcs11-client.c
538
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11.c
1095
const BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-pkcs11.c
515
ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
crypto/openssh/ssh-pkcs11.c
516
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11.c
525
BIGNUM *r = NULL, *s = NULL;
crypto/openssh/ssh-pkcs11.c
585
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11.c
842
BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-rsa.c
159
const BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-rsa.c
160
BIGNUM *rsa_n_dup = NULL, *rsa_e_dup = NULL;
crypto/openssh/ssh-rsa.c
199
BIGNUM *rsa_n = NULL, *rsa_e = NULL;
crypto/openssh/ssh-rsa.c
238
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
crypto/openssh/ssh-rsa.c
239
BIGNUM *rsa_iqmp = NULL, *rsa_p = NULL, *rsa_q = NULL;
crypto/openssh/ssh-rsa.c
240
BIGNUM *rsa_dmp1 = NULL, *rsa_dmq1 = NULL;
crypto/openssh/ssh-rsa.c
364
ssh_rsa_complete_crt_parameters(const BIGNUM *rsa_d, const BIGNUM *rsa_p,
crypto/openssh/ssh-rsa.c
365
const BIGNUM *rsa_q, const BIGNUM *rsa_iqmp, BIGNUM **rsa_dmp1,
crypto/openssh/ssh-rsa.c
366
BIGNUM **rsa_dmq1)
crypto/openssh/ssh-rsa.c
368
BIGNUM *aux = NULL, *d_consttime = NULL;
crypto/openssh/ssh-rsa.c
75
const BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-rsa.c
96
const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q;
crypto/openssh/sshbuf-getput-crypto.c
131
sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v)
crypto/openssh/sshbuf-getput-crypto.c
36
sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp)
crypto/openssh/sshbuf-getput-crypto.c
38
BIGNUM *v;
crypto/openssh/sshbuf.h
220
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
crypto/openssh/sshbuf.h
221
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
crypto/openssh/sshkey.c
2697
BIGNUM *order = NULL, *x = NULL, *y = NULL, *tmp = NULL;
crypto/openssh/sshkey.c
2763
BIGNUM *order = NULL, *tmp = NULL;
crypto/openssh/sshkey.c
2797
BIGNUM *x = NULL, *y = NULL;
crypto/openssh/sshkey.c
2826
const BIGNUM *exponent;
crypto/openssh/sshkey.h
324
int ssh_rsa_complete_crt_parameters(const BIGNUM *, const BIGNUM *,
crypto/openssh/sshkey.h
325
const BIGNUM *, const BIGNUM *, BIGNUM **, BIGNUM **);
crypto/openssl/apps/ca.c
111
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/ca.c
120
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/ca.c
127
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
crypto/openssl/apps/ca.c
1379
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/ca.c
1437
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/ca.c
1491
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial,
crypto/openssl/apps/ca.c
2002
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/ca.c
2140
BIGNUM *bn = NULL;
crypto/openssl/apps/ca.c
315
BIGNUM *crlnumber = NULL, *serial = NULL;
crypto/openssl/apps/ca.c
99
BIGNUM *serial, const char *subj, unsigned long chtype,
crypto/openssl/apps/dhparam.c
392
BIGNUM *bn_p = NULL, *bn_q = NULL, *bn_g = NULL;
crypto/openssl/apps/dsa.c
220
BIGNUM *pub_key = NULL;
crypto/openssl/apps/genrsa.c
219
BIGNUM *e = NULL;
crypto/openssl/apps/genrsa.c
88
BIGNUM *bn = BN_new();
crypto/openssl/apps/include/apps.h
108
void print_bignum_var(BIO *, const BIGNUM *, const char *,
crypto/openssl/apps/include/apps.h
233
BIGNUM *load_serial(const char *serialfile, int *exists, int create,
crypto/openssl/apps/include/apps.h
236
const BIGNUM *serial, ASN1_INTEGER **retai);
crypto/openssl/apps/include/apps.h
239
int rand_serial(BIGNUM *b, ASN1_INTEGER *ai);
crypto/openssl/apps/lib/apps.c
1341
void print_bignum_var(BIO *out, const BIGNUM *in, const char *var,
crypto/openssl/apps/lib/apps.c
1488
BIGNUM *load_serial(const char *serialfile, int *exists, int create,
crypto/openssl/apps/lib/apps.c
1492
BIGNUM *ret = NULL;
crypto/openssl/apps/lib/apps.c
1544
const BIGNUM *serial, ASN1_INTEGER **retai)
crypto/openssl/apps/lib/apps.c
1638
int rand_serial(BIGNUM *b, ASN1_INTEGER *ai)
crypto/openssl/apps/lib/apps.c
1640
BIGNUM *btmp;
crypto/openssl/apps/lib/tlssrp_depr.c
27
static int srp_Verify_N_and_g(const BIGNUM *N, const BIGNUM *g)
crypto/openssl/apps/lib/tlssrp_depr.c
30
BIGNUM *p = BN_new();
crypto/openssl/apps/lib/tlssrp_depr.c
31
BIGNUM *r = BN_new();
crypto/openssl/apps/lib/tlssrp_depr.c
63
BIGNUM *N = NULL, *g = NULL;
crypto/openssl/apps/ocsp.c
1234
BIGNUM *bn = NULL;
crypto/openssl/apps/prime.c
69
BIGNUM *bn = NULL;
crypto/openssl/apps/req.c
1043
BIGNUM *n = NULL;
crypto/openssl/apps/rsa.c
293
BIGNUM *n = NULL;
crypto/openssl/apps/speed.c
1978
BIGNUM *bn = NULL;
crypto/openssl/apps/testdsa.h
1438
BIGNUM *priv_key, *pub_key, *p, *q, *g;
crypto/openssl/apps/ts.c
809
BIGNUM *bn = NULL;
crypto/openssl/apps/x509.c
1022
BIGNUM *bnser = ASN1_INTEGER_to_BN(X509_get0_serialNumber(x), NULL);
crypto/openssl/apps/x509.c
1067
BIGNUM *n = NULL;
crypto/openssl/apps/x509.c
1074
BIGNUM *dsapub = NULL;
crypto/openssl/apps/x509.c
1198
BIGNUM *serial = NULL;
crypto/openssl/crypto/asn1/a_int.c
465
static ASN1_STRING *bn_to_asn1_string(const BIGNUM *bn, ASN1_STRING *ai,
crypto/openssl/crypto/asn1/a_int.c
509
static BIGNUM *asn1_string_to_bn(const ASN1_INTEGER *ai, BIGNUM *bn,
crypto/openssl/crypto/asn1/a_int.c
512
BIGNUM *ret;
crypto/openssl/crypto/asn1/a_int.c
568
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
crypto/openssl/crypto/asn1/a_int.c
573
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
crypto/openssl/crypto/asn1/a_int.c
611
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai)
crypto/openssl/crypto/asn1/a_int.c
616
BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn)
crypto/openssl/crypto/asn1/a_object.c
58
BIGNUM *bl = NULL;
crypto/openssl/crypto/asn1/asn1_item_list.h
50
ASN1_ITEM_ref(BIGNUM),
crypto/openssl/crypto/asn1/t_pkey.c
46
int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
crypto/openssl/crypto/asn1/x_bignum.c
100
bn = (BIGNUM *)*pval;
crypto/openssl/crypto/asn1/x_bignum.c
117
BIGNUM *bn;
crypto/openssl/crypto/asn1/x_bignum.c
121
bn = (BIGNUM *)*pval;
crypto/openssl/crypto/asn1/x_bignum.c
133
BIGNUM *bn;
crypto/openssl/crypto/asn1/x_bignum.c
143
bn = (BIGNUM *)*pval;
crypto/openssl/crypto/asn1/x_bignum.c
151
if (!BN_print(out, *(BIGNUM **)pval))
crypto/openssl/crypto/asn1/x_bignum.c
57
ASN1_ITEM_start(BIGNUM)
crypto/openssl/crypto/asn1/x_bignum.c
59
V_ASN1_INTEGER, NULL, 0, &bignum_pf, 0, "BIGNUM" ASN1_ITEM_end(BIGNUM)
crypto/openssl/crypto/asn1/x_bignum.c
87
BN_clear_free((BIGNUM *)*pval);
crypto/openssl/crypto/asn1/x_bignum.c
89
BN_free((BIGNUM *)*pval);
crypto/openssl/crypto/asn1/x_bignum.c
96
BIGNUM *bn;
crypto/openssl/crypto/asn1_dsa.c
106
int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s)
crypto/openssl/crypto/asn1_dsa.c
187
int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n)
crypto/openssl/crypto/asn1_dsa.c
234
size_t ossl_decode_der_dsa_sig(BIGNUM *r, BIGNUM *s,
crypto/openssl/crypto/asn1_dsa.c
66
int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n)
crypto/openssl/crypto/bn/bn_add.c
125
int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_add.c
14
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_add.c
45
int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_add.c
76
int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_add.c
86
const BIGNUM *tmp;
crypto/openssl/crypto/bn/bn_blind.c
126
int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
131
int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
159
int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_blind.c
164
int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
crypto/openssl/crypto/bn/bn_blind.c
17
BIGNUM *A;
crypto/openssl/crypto/bn/bn_blind.c
18
BIGNUM *Ai;
crypto/openssl/crypto/bn/bn_blind.c
19
BIGNUM *e;
crypto/openssl/crypto/bn/bn_blind.c
20
BIGNUM *mod; /* just a reference */
crypto/openssl/crypto/bn/bn_blind.c
232
const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_blind.c
233
int (*bn_mod_exp)(BIGNUM *r,
crypto/openssl/crypto/bn/bn_blind.c
234
const BIGNUM *a,
crypto/openssl/crypto/bn/bn_blind.c
235
const BIGNUM *p,
crypto/openssl/crypto/bn/bn_blind.c
236
const BIGNUM *m,
crypto/openssl/crypto/bn/bn_blind.c
25
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_blind.c
26
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/crypto/bn/bn_blind.c
30
BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod)
crypto/openssl/crypto/bn/bn_const.c
136
BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
24
BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
281
BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
295
BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
308
BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
321
BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
334
BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_const.c
347
BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn)
crypto/openssl/crypto/bn/bn_conv.c
119
int BN_hex2bn(BIGNUM **bn, const char *a)
crypto/openssl/crypto/bn/bn_conv.c
121
BIGNUM *ret = NULL;
crypto/openssl/crypto/bn/bn_conv.c
15
char *BN_bn2hex(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_conv.c
196
int BN_dec2bn(BIGNUM **bn, const char *a)
crypto/openssl/crypto/bn/bn_conv.c
198
BIGNUM *ret = NULL;
crypto/openssl/crypto/bn/bn_conv.c
266
int BN_asc2bn(BIGNUM **bn, const char *a)
crypto/openssl/crypto/bn/bn_conv.c
47
char *BN_bn2dec(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_conv.c
52
BIGNUM *t = NULL;
crypto/openssl/crypto/bn/bn_ctx.c
218
BIGNUM *BN_CTX_get(BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_ctx.c
220
BIGNUM *ret;
crypto/openssl/crypto/bn/bn_ctx.c
26
BIGNUM vals[BN_CTX_POOL_SIZE];
crypto/openssl/crypto/bn/bn_ctx.c
303
BIGNUM *bn;
crypto/openssl/crypto/bn/bn_ctx.c
315
static BIGNUM *BN_POOL_get(BN_POOL *p, int flag)
crypto/openssl/crypto/bn/bn_ctx.c
317
BIGNUM *bn;
crypto/openssl/crypto/bn/bn_ctx.c
39
static BIGNUM *BN_POOL_get(BN_POOL *, int);
crypto/openssl/crypto/bn/bn_depr.c
22
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
crypto/openssl/crypto/bn/bn_depr.c
23
const BIGNUM *add, const BIGNUM *rem,
crypto/openssl/crypto/bn/bn_depr.c
27
BIGNUM *rnd = NULL;
crypto/openssl/crypto/bn/bn_depr.c
46
int BN_is_prime(const BIGNUM *a, int checks,
crypto/openssl/crypto/bn/bn_depr.c
55
int BN_is_prime_fasttest(const BIGNUM *a, int checks,
crypto/openssl/crypto/bn/bn_dh.c
1375
extern const BIGNUM ossl_bignum_##x; \
crypto/openssl/crypto/bn/bn_dh.c
1376
const BIGNUM ossl_bignum_##x = { \
crypto/openssl/crypto/bn/bn_dh.c
1385
const BIGNUM ossl_bignum_const_2 = {
crypto/openssl/crypto/bn/bn_div.c
141
static int bn_left_align(BIGNUM *num)
crypto/openssl/crypto/bn/bn_div.c
17
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
crypto/openssl/crypto/bn/bn_div.c
211
int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
crypto/openssl/crypto/bn/bn_div.c
22
BIGNUM *D;
crypto/openssl/crypto/bn/bn_div.c
266
int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num,
crypto/openssl/crypto/bn/bn_div.c
267
const BIGNUM *divisor, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_div.c
270
BIGNUM *tmp, *snum, *sdiv, *res;
crypto/openssl/crypto/bn/bn_exp.c
1145
int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
1146
const BIGNUM *m, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_exp.c
1158
int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
1159
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
crypto/openssl/crypto/bn/bn_exp.c
1165
BIGNUM *r, *t;
crypto/openssl/crypto/bn/bn_exp.c
1166
BIGNUM *swap_tmp;
crypto/openssl/crypto/bn/bn_exp.c
1305
int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
1306
const BIGNUM *m, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_exp.c
1310
BIGNUM *d;
crypto/openssl/crypto/bn/bn_exp.c
1312
BIGNUM *val[TABLE_SIZE];
crypto/openssl/crypto/bn/bn_exp.c
1371
BIGNUM *p_dup = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_exp.c
1443
int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1,
crypto/openssl/crypto/bn/bn_exp.c
1444
const BIGNUM *m1, BN_MONT_CTX *in_mont1,
crypto/openssl/crypto/bn/bn_exp.c
1445
BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2,
crypto/openssl/crypto/bn/bn_exp.c
1446
const BIGNUM *m2, BN_MONT_CTX *in_mont2,
crypto/openssl/crypto/bn/bn_exp.c
169
int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
170
const BIGNUM *m, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_exp.c
174
BIGNUM *aa;
crypto/openssl/crypto/bn/bn_exp.c
176
BIGNUM *val[TABLE_SIZE];
crypto/openssl/crypto/bn/bn_exp.c
245
BIGNUM *p_dup = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_exp.c
311
int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
312
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
crypto/openssl/crypto/bn/bn_exp.c
316
BIGNUM *d, *r;
crypto/openssl/crypto/bn/bn_exp.c
317
const BIGNUM *aa;
crypto/openssl/crypto/bn/bn_exp.c
319
BIGNUM *val[TABLE_SIZE];
crypto/openssl/crypto/bn/bn_exp.c
487
static BN_ULONG bn_get_bits(const BIGNUM *a, int bitpos)
crypto/openssl/crypto/bn/bn_exp.c
49
int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_exp.c
513
static int MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top,
crypto/openssl/crypto/bn/bn_exp.c
52
BIGNUM *v, *rr;
crypto/openssl/crypto/bn/bn_exp.c
531
static int MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top,
crypto/openssl/crypto/bn/bn_exp.c
603
int bn_mod_exp_mont_fixed_top(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_exp.c
604
const BIGNUM *m, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_exp.c
615
BIGNUM tmp, am;
crypto/openssl/crypto/bn/bn_exp.c
664
BIGNUM *reduced = BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_exp.c
97
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_exp2.c
16
int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
crypto/openssl/crypto/bn/bn_exp2.c
17
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_exp2.c
22
BIGNUM *d, *r;
crypto/openssl/crypto/bn/bn_exp2.c
23
const BIGNUM *a_mod_m;
crypto/openssl/crypto/bn/bn_exp2.c
25
BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE];
crypto/openssl/crypto/bn/bn_gcd.c
197
BIGNUM *int_bn_mod_inverse(BIGNUM *in,
crypto/openssl/crypto/bn/bn_gcd.c
198
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_gcd.c
201
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
crypto/openssl/crypto/bn/bn_gcd.c
202
BIGNUM *ret = NULL;
crypto/openssl/crypto/bn/bn_gcd.c
21
static ossl_inline BIGNUM *bn_mod_inverse_no_branch(BIGNUM *in,
crypto/openssl/crypto/bn/bn_gcd.c
22
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/bn/bn_gcd.c
25
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
crypto/openssl/crypto/bn/bn_gcd.c
26
BIGNUM *ret = NULL;
crypto/openssl/crypto/bn/bn_gcd.c
358
BIGNUM *tmp;
crypto/openssl/crypto/bn/bn_gcd.c
515
BIGNUM *BN_mod_inverse(BIGNUM *in,
crypto/openssl/crypto/bn/bn_gcd.c
516
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gcd.c
519
BIGNUM *rv;
crypto/openssl/crypto/bn/bn_gcd.c
548
int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gcd.c
551
BIGNUM *tmp;
crypto/openssl/crypto/bn/bn_gcd.c
580
int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gcd.c
582
BIGNUM *g, *temp = NULL;
crypto/openssl/crypto/bn/bn_gcd.c
65
BIGNUM local_B;
crypto/openssl/crypto/bn/bn_gcd.c
83
BIGNUM *tmp;
crypto/openssl/crypto/bn/bn_gcd.c
96
BIGNUM local_A;
crypto/openssl/crypto/bn/bn_gf2m.c
1096
int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_gf2m.c
1138
int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max)
crypto/openssl/crypto/bn/bn_gf2m.c
1174
int BN_GF2m_arr2poly(const int p[], BIGNUM *a)
crypto/openssl/crypto/bn/bn_gf2m.c
244
int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_gf2m.c
247
const BIGNUM *at, *bt;
crypto/openssl/crypto/bn/bn_gf2m.c
284
int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[])
crypto/openssl/crypto/bn/bn_gf2m.c
381
int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
crypto/openssl/crypto/bn/bn_gf2m.c
401
int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_gf2m.c
405
BIGNUM *s;
crypto/openssl/crypto/bn/bn_gf2m.c
456
int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_gf2m.c
457
const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
483
int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
crypto/openssl/crypto/bn/bn_gf2m.c
487
BIGNUM *s;
crypto/openssl/crypto/bn/bn_gf2m.c
518
int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
548
static int BN_GF2m_mod_inv_vartime(BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/bn/bn_gf2m.c
549
const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
551
BIGNUM *b, *c = NULL, *u = NULL, *v = NULL, *tmp;
crypto/openssl/crypto/bn/bn_gf2m.c
720
int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
722
BIGNUM *b = NULL;
crypto/openssl/crypto/bn/bn_gf2m.c
767
int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *xx, const int p[],
crypto/openssl/crypto/bn/bn_gf2m.c
770
BIGNUM *field;
crypto/openssl/crypto/bn/bn_gf2m.c
792
int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x,
crypto/openssl/crypto/bn/bn_gf2m.c
793
const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
795
BIGNUM *xinv = NULL;
crypto/openssl/crypto/bn/bn_gf2m.c
825
int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *yy, const BIGNUM *xx,
crypto/openssl/crypto/bn/bn_gf2m.c
828
BIGNUM *field;
crypto/openssl/crypto/bn/bn_gf2m.c
853
int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_gf2m.c
857
BIGNUM *u;
crypto/openssl/crypto/bn/bn_gf2m.c
899
int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_gf2m.c
900
const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
929
int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, const int p[],
crypto/openssl/crypto/bn/bn_gf2m.c
933
BIGNUM *u;
crypto/openssl/crypto/bn/bn_gf2m.c
963
int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_gf2m.c
991
int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a_, const int p[],
crypto/openssl/crypto/bn/bn_gf2m.c
995
BIGNUM *a, *z, *rho, *w, *w2, *tmp;
crypto/openssl/crypto/bn/bn_intern.c
137
int bn_get_top(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_intern.c
142
int bn_get_dmax(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_intern.c
147
void bn_set_all_zero(BIGNUM *a)
crypto/openssl/crypto/bn/bn_intern.c
155
int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size)
crypto/openssl/crypto/bn/bn_intern.c
166
BN_ULONG *bn_get_words(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_intern.c
171
void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size)
crypto/openssl/crypto/bn/bn_intern.c
184
int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words)
crypto/openssl/crypto/bn/bn_intern.c
22
signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len)
crypto/openssl/crypto/bn/bn_kron.c
17
int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_kron.c
22
BIGNUM *A, *B, *tmp;
crypto/openssl/crypto/bn/bn_lib.c
1022
void BN_zero_ex(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1029
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
1034
int BN_is_zero(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1039
int BN_is_one(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1044
int BN_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
1049
int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
1065
int BN_is_odd(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1070
int BN_is_negative(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1075
int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/crypto/bn/bn_lib.c
1081
void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags)
crypto/openssl/crypto/bn/bn_lib.c
1109
void BN_set_flags(BIGNUM *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
1114
int BN_get_flags(const BIGNUM *b, int n)
crypto/openssl/crypto/bn/bn_lib.c
1144
BIGNUM *bn_wexpand(BIGNUM *a, int words)
crypto/openssl/crypto/bn/bn_lib.c
1149
void bn_correct_top_consttime(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
1171
void bn_correct_top(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
153
static ossl_inline int bn_num_bits_consttime(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
178
int BN_num_bits(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
202
static void bn_free_d(BIGNUM *a, int clear)
crypto/openssl/crypto/bn/bn_lib.c
212
void BN_clear_free(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
224
void BN_free(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
234
void bn_init(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
236
static BIGNUM nilbn;
crypto/openssl/crypto/bn/bn_lib.c
242
BIGNUM *BN_new(void)
crypto/openssl/crypto/bn/bn_lib.c
244
BIGNUM *ret;
crypto/openssl/crypto/bn/bn_lib.c
253
BIGNUM *BN_secure_new(void)
crypto/openssl/crypto/bn/bn_lib.c
255
BIGNUM *ret = BN_new();
crypto/openssl/crypto/bn/bn_lib.c
264
static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
crypto/openssl/crypto/bn/bn_lib.c
298
BIGNUM *bn_expand2(BIGNUM *b, int words)
crypto/openssl/crypto/bn/bn_lib.c
313
BIGNUM *BN_dup(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
315
BIGNUM *t;
crypto/openssl/crypto/bn/bn_lib.c
332
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_lib.c
358
void BN_swap(BIGNUM *a, BIGNUM *b)
crypto/openssl/crypto/bn/bn_lib.c
391
void BN_clear(BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
403
BN_ULONG BN_get_word(const BIGNUM *a)
crypto/openssl/crypto/bn/bn_lib.c
413
int BN_set_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_lib.c
431
static BIGNUM *bin2bn(const unsigned char *s, int len, BIGNUM *ret,
crypto/openssl/crypto/bn/bn_lib.c
440
BIGNUM *bn = NULL;
crypto/openssl/crypto/bn/bn_lib.c
533
BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
538
BIGNUM *BN_signed_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
543
static int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen,
crypto/openssl/crypto/bn/bn_lib.c
579
BIGNUM temp = *a;
crypto/openssl/crypto/bn/bn_lib.c
626
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
633
int BN_signed_bn2bin(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
640
int BN_bn2bin(const BIGNUM *a, unsigned char *to)
crypto/openssl/crypto/bn/bn_lib.c
645
BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
650
BIGNUM *BN_signed_lebin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
655
int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
662
int BN_signed_bn2lebin(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
669
BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
678
BIGNUM *BN_signed_native2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/openssl/crypto/bn/bn_lib.c
687
int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
696
int BN_signed_bn2native(const BIGNUM *a, unsigned char *to, int tolen)
crypto/openssl/crypto/bn/bn_lib.c
705
int BN_ucmp(const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_lib.c
742
int BN_cmp(const BIGNUM *a, const BIGNUM *b)
crypto/openssl/crypto/bn/bn_lib.c
789
int BN_set_bit(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
812
int BN_clear_bit(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
82
const BIGNUM *BN_value_one(void)
crypto/openssl/crypto/bn/bn_lib.c
830
int BN_is_bit_set(const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
844
int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
85
static const BIGNUM const_one = {
crypto/openssl/crypto/bn/bn_lib.c
865
int BN_mask_bits(BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_lib.c
876
void BN_set_negative(BIGNUM *a, int b)
crypto/openssl/crypto/bn/bn_lib.c
941
void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
crypto/openssl/crypto/bn/bn_local.h
182
const BIGNUM *_bnum1 = (a); \
crypto/openssl/crypto/bn/bn_local.h
200
const BIGNUM *_bnum2 = (a); \
crypto/openssl/crypto/bn/bn_local.h
213
const BIGNUM *_bnum2 = (bn); \
crypto/openssl/crypto/bn/bn_local.h
256
BIGNUM RR; /* used to convert to montgomery form,
crypto/openssl/crypto/bn/bn_local.h
258
BIGNUM N; /* The modulus */
crypto/openssl/crypto/bn/bn_local.h
259
BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 (Ni is only
crypto/openssl/crypto/bn/bn_local.h
272
BIGNUM N; /* the divisor */
crypto/openssl/crypto/bn/bn_local.h
273
BIGNUM Nr; /* the reciprocal */
crypto/openssl/crypto/bn/bn_local.h
653
void bn_init(BIGNUM *a);
crypto/openssl/crypto/bn/bn_local.h
674
void bn_correct_top_consttime(BIGNUM *a);
crypto/openssl/crypto/bn/bn_local.h
675
BIGNUM *int_bn_mod_inverse(BIGNUM *in,
crypto/openssl/crypto/bn/bn_local.h
676
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_local.h
679
static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits)
crypto/openssl/crypto/bn/bn_local.h
690
int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_mod.c
103
int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mod.c
104
const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
114
int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_mod.c
136
int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mod.c
137
const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
14
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mod.c
190
int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mod.c
191
const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
206
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_mod.c
209
BIGNUM *t;
crypto/openssl/crypto/bn/bn_mod.c
235
int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mod.c
243
int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mod.c
255
int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
265
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_mod.c
268
BIGNUM *abs_m = NULL;
crypto/openssl/crypto/bn/bn_mod.c
292
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mod.c
34
int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_mod.c
54
int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mod.c
55
const BIGNUM *m)
crypto/openssl/crypto/bn/bn_mont.c
162
int BN_from_montgomery(BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/crypto/bn/bn_mont.c
174
int bn_from_mont_fixed_top(BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/crypto/bn/bn_mont.c
179
BIGNUM *t;
crypto/openssl/crypto/bn/bn_mont.c
187
BIGNUM *t1, *t2;
crypto/openssl/crypto/bn/bn_mont.c
222
int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/crypto/bn/bn_mont.c
23
static int bn_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont);
crypto/openssl/crypto/bn/bn_mont.c
26
int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mont.c
261
int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mont.c
264
BIGNUM *Ri, *R;
crypto/openssl/crypto/bn/bn_mont.c
281
BIGNUM tmod;
crypto/openssl/crypto/bn/bn_mont.c
37
int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/bn/bn_mont.c
40
BIGNUM *tmp;
crypto/openssl/crypto/bn/bn_mont.c
427
const BIGNUM *mod, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mont.c
469
int ossl_bn_mont_ctx_set(BN_MONT_CTX *ctx, const BIGNUM *modulus, int ri, const unsigned char *rr,
crypto/openssl/crypto/bn/bn_mont.c
88
static int bn_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont)
crypto/openssl/crypto/bn/bn_mont.c
90
BIGNUM *n;
crypto/openssl/crypto/bn/bn_mpi.c
14
int BN_bn2mpi(const BIGNUM *a, unsigned char *d)
crypto/openssl/crypto/bn/bn_mpi.c
42
BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *ain)
crypto/openssl/crypto/bn/bn_mpi.c
46
BIGNUM *a = NULL;
crypto/openssl/crypto/bn/bn_mul.c
497
int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mul.c
507
int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_mul.c
511
BIGNUM *rr;
crypto/openssl/crypto/bn/bn_mul.c
516
BIGNUM *t = NULL;
crypto/openssl/crypto/bn/bn_nist.c
1142
int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,
crypto/openssl/crypto/bn/bn_nist.c
1147
static const BIGNUM ossl_bignum_nist_p_521_sqr = {
crypto/openssl/crypto/bn/bn_nist.c
1209
int (*BN_nist_mod_func(const BIGNUM *p))(BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/bn/bn_nist.c
1210
const BIGNUM *field, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_nist.c
186
static const BIGNUM ossl_bignum_nist_p_192 = {
crypto/openssl/crypto/bn/bn_nist.c
194
static const BIGNUM ossl_bignum_nist_p_224 = {
crypto/openssl/crypto/bn/bn_nist.c
202
static const BIGNUM ossl_bignum_nist_p_256 = {
crypto/openssl/crypto/bn/bn_nist.c
210
static const BIGNUM ossl_bignum_nist_p_384 = {
crypto/openssl/crypto/bn/bn_nist.c
218
static const BIGNUM ossl_bignum_nist_p_521 = {
crypto/openssl/crypto/bn/bn_nist.c
226
const BIGNUM *BN_get0_nist_prime_192(void)
crypto/openssl/crypto/bn/bn_nist.c
231
const BIGNUM *BN_get0_nist_prime_224(void)
crypto/openssl/crypto/bn/bn_nist.c
236
const BIGNUM *BN_get0_nist_prime_256(void)
crypto/openssl/crypto/bn/bn_nist.c
241
const BIGNUM *BN_get0_nist_prime_384(void)
crypto/openssl/crypto/bn/bn_nist.c
246
const BIGNUM *BN_get0_nist_prime_521(void)
crypto/openssl/crypto/bn/bn_nist.c
350
int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,
crypto/openssl/crypto/bn/bn_nist.c
361
static const BIGNUM ossl_bignum_nist_p_192_sqr = {
crypto/openssl/crypto/bn/bn_nist.c
485
int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,
crypto/openssl/crypto/bn/bn_nist.c
497
static const BIGNUM ossl_bignum_nist_p_224_sqr = {
crypto/openssl/crypto/bn/bn_nist.c
654
int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,
crypto/openssl/crypto/bn/bn_nist.c
666
static const BIGNUM ossl_bignum_nist_p_256_sqr = {
crypto/openssl/crypto/bn/bn_nist.c
887
int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,
crypto/openssl/crypto/bn/bn_nist.c
899
static const BIGNUM ossl_bignum_nist_p_384_sqr = {
crypto/openssl/crypto/bn/bn_prime.c
123
int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe,
crypto/openssl/crypto/bn/bn_prime.c
124
const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
crypto/openssl/crypto/bn/bn_prime.c
127
BIGNUM *t;
crypto/openssl/crypto/bn/bn_prime.c
211
int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe,
crypto/openssl/crypto/bn/bn_prime.c
212
const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb)
crypto/openssl/crypto/bn/bn_prime.c
22
static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods,
crypto/openssl/crypto/bn/bn_prime.c
228
int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
crypto/openssl/crypto/bn/bn_prime.c
234
int BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
24
static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
crypto/openssl/crypto/bn/bn_prime.c
242
int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
25
const BIGNUM *add, const BIGNUM *rem,
crypto/openssl/crypto/bn/bn_prime.c
258
int ossl_bn_check_generated_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
264
int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb)
crypto/openssl/crypto/bn/bn_prime.c
27
static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
275
static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
347
int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_prime.c
351
BIGNUM *g, *w1, *w3, *x, *m, *z, *b;
crypto/openssl/crypto/bn/bn_prime.c
487
static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods,
crypto/openssl/crypto/bn/bn_prime.c
545
static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
crypto/openssl/crypto/bn/bn_prime.c
546
const BIGNUM *add, const BIGNUM *rem,
crypto/openssl/crypto/bn/bn_prime.c
550
BIGNUM *t1;
crypto/openssl/crypto/bn/bn_prime.c
57
static const BIGNUM _bignum_small_prime_factors = {
crypto/openssl/crypto/bn/bn_prime.c
65
const BIGNUM *ossl_bn_get0_small_factors(void)
crypto/openssl/crypto/bn/bn_print.c
17
int BN_print_fp(FILE *fp, const BIGNUM *a)
crypto/openssl/crypto/bn/bn_print.c
31
int BN_print(BIO *bp, const BIGNUM *a)
crypto/openssl/crypto/bn/bn_rand.c
102
int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
crypto/openssl/crypto/bn/bn_rand.c
108
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/openssl/crypto/bn/bn_rand.c
113
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/openssl/crypto/bn/bn_rand.c
119
int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
crypto/openssl/crypto/bn/bn_rand.c
126
int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/openssl/crypto/bn/bn_rand.c
133
static int bnrand_range(BNRAND_FLAG flag, BIGNUM *r, const BIGNUM *range,
crypto/openssl/crypto/bn/bn_rand.c
203
int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
crypto/openssl/crypto/bn/bn_rand.c
210
int BN_rand_range(BIGNUM *r, const BIGNUM *range)
crypto/openssl/crypto/bn/bn_rand.c
216
int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
crypto/openssl/crypto/bn/bn_rand.c
223
int BN_priv_rand_range(BIGNUM *r, const BIGNUM *range)
crypto/openssl/crypto/bn/bn_rand.c
229
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/openssl/crypto/bn/bn_rand.c
234
int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range)
crypto/openssl/crypto/bn/bn_rand.c
241
int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range,
crypto/openssl/crypto/bn/bn_rand.c
25
static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom,
crypto/openssl/crypto/bn/bn_rand.c
293
int ossl_bn_gen_dsa_nonce_fixed_top(BIGNUM *out, const BIGNUM *range,
crypto/openssl/crypto/bn/bn_rand.c
294
const BIGNUM *priv,
crypto/openssl/crypto/bn/bn_rand.c
397
int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
crypto/openssl/crypto/bn/bn_rand.c
398
const BIGNUM *priv, const unsigned char *message,
crypto/openssl/crypto/bn/bn_recp.c
172
int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_recp.c
175
BIGNUM *t;
crypto/openssl/crypto/bn/bn_recp.c
43
int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_recp.c
53
int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
crypto/openssl/crypto/bn/bn_recp.c
57
BIGNUM *a;
crypto/openssl/crypto/bn/bn_recp.c
58
const BIGNUM *ca;
crypto/openssl/crypto/bn/bn_recp.c
82
int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
crypto/openssl/crypto/bn/bn_recp.c
86
BIGNUM *a, *b, *d, *r;
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
132
static int bn_rsa_fips186_4_find_aux_prob_prime(const BIGNUM *Xp1,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
133
BIGNUM *p1, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
184
int ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
185
BIGNUM *p1, BIGNUM *p2,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
186
const BIGNUM *Xp, const BIGNUM *Xp1,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
187
const BIGNUM *Xp2, int nlen,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
188
const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
192
BIGNUM *p1i = NULL, *p2i = NULL, *Xp1i = NULL, *Xp2i = NULL;
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
202
Xp1i = (Xp1 != NULL) ? (BIGNUM *)Xp1 : BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
203
Xp2i = (Xp2 != NULL) ? (BIGNUM *)Xp2 : BN_CTX_get(ctx);
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
274
int ossl_bn_rsa_fips186_4_derive_prime(BIGNUM *Y, BIGNUM *X, const BIGNUM *Xin,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
275
const BIGNUM *r1, const BIGNUM *r2,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
276
int nlen, const BIGNUM *e,
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
282
BIGNUM *tmp, *R, *r1r2x2, *y1, *r1x2;
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
283
BIGNUM *base, *range;
crypto/openssl/crypto/bn/bn_rsa_fips186_4.c
43
const BIGNUM ossl_bn_inv_sqrt_2 = {
crypto/openssl/crypto/bn/bn_s390x.c
149
int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_s390x.c
150
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
crypto/openssl/crypto/bn/bn_s390x.c
155
int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/bn/bn_s390x.c
156
const BIGNUM *dmp, const BIGNUM *dmq, const BIGNUM *iqmp)
crypto/openssl/crypto/bn/bn_s390x.c
23
static int s390x_mod_exp_hw(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_s390x.c
24
const BIGNUM *m)
crypto/openssl/crypto/bn/bn_s390x.c
71
int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/bn/bn_s390x.c
72
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
crypto/openssl/crypto/bn/bn_s390x.c
79
int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/bn/bn_s390x.c
80
const BIGNUM *dmp, const BIGNUM *dmq, const BIGNUM *iqmp)
crypto/openssl/crypto/bn/bn_shift.c
104
int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
14
int BN_lshift1(BIGNUM *r, const BIGNUM *a)
crypto/openssl/crypto/bn/bn_shift.c
150
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
176
int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_shift.c
45
int BN_rshift1(BIGNUM *r, const BIGNUM *a)
crypto/openssl/crypto/bn/bn_shift.c
81
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/openssl/crypto/bn/bn_sqr.c
17
int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_sqr.c
27
int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_sqr.c
31
BIGNUM *tmp, *rr;
crypto/openssl/crypto/bn/bn_sqrt.c
13
BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_sqrt.c
21
BIGNUM *ret = in;
crypto/openssl/crypto/bn/bn_sqrt.c
24
BIGNUM *A, *b, *q, *t, *x, *y;
crypto/openssl/crypto/bn/bn_srp.c
129
const BIGNUM ossl_bn_group_2048 = {
crypto/openssl/crypto/bn/bn_srp.c
188
const BIGNUM ossl_bn_group_3072 = {
crypto/openssl/crypto/bn/bn_srp.c
263
const BIGNUM ossl_bn_group_4096 = {
crypto/openssl/crypto/bn/bn_srp.c
370
const BIGNUM ossl_bn_group_6144 = {
crypto/openssl/crypto/bn/bn_srp.c
509
const BIGNUM ossl_bn_group_8192 = {
crypto/openssl/crypto/bn/bn_srp.c
51
const BIGNUM ossl_bn_group_1024 = {
crypto/openssl/crypto/bn/bn_srp.c
519
const BIGNUM ossl_bn_generator_19 = {
crypto/openssl/crypto/bn/bn_srp.c
528
const BIGNUM ossl_bn_generator_5 = {
crypto/openssl/crypto/bn/bn_srp.c
537
const BIGNUM ossl_bn_generator_2 = {
crypto/openssl/crypto/bn/bn_srp.c
86
const BIGNUM ossl_bn_group_1536 = {
crypto/openssl/crypto/bn/bn_word.c
13
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
133
int BN_sub_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
180
int BN_mul_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
31
BIGNUM *tmp = BN_dup(a);
crypto/openssl/crypto/bn/bn_word.c
60
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_word.c
97
int BN_add_word(BIGNUM *a, BN_ULONG w)
crypto/openssl/crypto/bn/bn_x931p.c
162
int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)
crypto/openssl/crypto/bn/bn_x931p.c
164
BIGNUM *t;
crypto/openssl/crypto/bn/bn_x931p.c
219
int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
crypto/openssl/crypto/bn/bn_x931p.c
220
BIGNUM *Xp1, BIGNUM *Xp2,
crypto/openssl/crypto/bn/bn_x931p.c
221
const BIGNUM *Xp,
crypto/openssl/crypto/bn/bn_x931p.c
222
const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb)
crypto/openssl/crypto/bn/bn_x931p.c
23
static int bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_x931p.c
53
int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
crypto/openssl/crypto/bn/bn_x931p.c
54
const BIGNUM *Xp, const BIGNUM *Xp1,
crypto/openssl/crypto/bn/bn_x931p.c
55
const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/crypto/bn/bn_x931p.c
60
BIGNUM *t, *p1p2, *pm1;
crypto/openssl/crypto/cms/cms_dh.c
221
BIGNUM *bn_pub_key = NULL;
crypto/openssl/crypto/cms/cms_dh.c
29
BIGNUM *bnpub = NULL;
crypto/openssl/crypto/der_writer.c
150
int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v)
crypto/openssl/crypto/deterministic_nonce.c
103
BIGNUM *z = BN_new();
crypto/openssl/crypto/deterministic_nonce.c
181
int ossl_gen_deterministic_nonce_rfc6979(BIGNUM *out, const BIGNUM *q,
crypto/openssl/crypto/deterministic_nonce.c
182
const BIGNUM *priv,
crypto/openssl/crypto/deterministic_nonce.c
28
static int bits2int(BIGNUM *out, int qlen_bits,
crypto/openssl/crypto/deterministic_nonce.c
55
static int bits2int_consttime(BIGNUM *out, int qlen_bits,
crypto/openssl/crypto/deterministic_nonce.c
83
static int int2octets(unsigned char *out, const BIGNUM *num, int rlen)
crypto/openssl/crypto/deterministic_nonce.c
99
static int bits2octets(unsigned char *out, const BIGNUM *q, int qlen_bits,
crypto/openssl/crypto/dh/dh_ameth.c
248
BIGNUM *priv_key, *pub_key;
crypto/openssl/crypto/dh/dh_ameth.c
458
const BIGNUM *p = DH_get0_p(dh), *g = DH_get0_g(dh), *q = DH_get0_q(dh);
crypto/openssl/crypto/dh/dh_ameth.c
460
const BIGNUM *pub_key = DH_get0_pub_key(dh);
crypto/openssl/crypto/dh/dh_ameth.c
461
const BIGNUM *priv_key = DH_get0_priv_key(dh);
crypto/openssl/crypto/dh/dh_asn1.c
146
ossl_ffc_params_get0_pqg(params, (const BIGNUM **)&dhx.p,
crypto/openssl/crypto/dh/dh_asn1.c
147
(const BIGNUM **)&dhx.q, (const BIGNUM **)&dhx.g);
crypto/openssl/crypto/dh/dh_asn1.c
49
ASN1_SIMPLE(DH, params.p, BIGNUM),
crypto/openssl/crypto/dh/dh_asn1.c
50
ASN1_SIMPLE(DH, params.g, BIGNUM),
crypto/openssl/crypto/dh/dh_asn1.c
63
BIGNUM *counter;
crypto/openssl/crypto/dh/dh_asn1.c
67
BIGNUM *p;
crypto/openssl/crypto/dh/dh_asn1.c
68
BIGNUM *q;
crypto/openssl/crypto/dh/dh_asn1.c
69
BIGNUM *g;
crypto/openssl/crypto/dh/dh_asn1.c
70
BIGNUM *j;
crypto/openssl/crypto/dh/dh_asn1.c
76
ASN1_SIMPLE(int_dhvparams, counter, BIGNUM)
crypto/openssl/crypto/dh/dh_asn1.c
81
ASN1_SIMPLE(int_dhx942_dh, p, BIGNUM),
crypto/openssl/crypto/dh/dh_asn1.c
82
ASN1_SIMPLE(int_dhx942_dh, g, BIGNUM),
crypto/openssl/crypto/dh/dh_asn1.c
83
ASN1_SIMPLE(int_dhx942_dh, q, BIGNUM),
crypto/openssl/crypto/dh/dh_asn1.c
84
ASN1_OPT(int_dhx942_dh, j, BIGNUM),
crypto/openssl/crypto/dh/dh_backend.c
105
const BIGNUM *priv = NULL, *pub = NULL;
crypto/openssl/crypto/dh/dh_backend.c
131
static ossl_inline int dh_bn_dup_check(BIGNUM **out, const BIGNUM *f)
crypto/openssl/crypto/dh/dh_backend.c
189
BIGNUM *privkey_bn = NULL;
crypto/openssl/crypto/dh/dh_backend.c
62
BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/openssl/crypto/dh/dh_check.c
149
BIGNUM *t1 = NULL, *t2 = NULL;
crypto/openssl/crypto/dh/dh_check.c
231
int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key)
crypto/openssl/crypto/dh/dh_check.c
251
int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/dh/dh_check.c
273
int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/dh/dh_check.c
279
int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret)
crypto/openssl/crypto/dh/dh_check.c
282
BIGNUM *two_powN = NULL, *upper;
crypto/openssl/crypto/dh/dh_check.c
337
BIGNUM *pub_key = NULL;
crypto/openssl/crypto/dh/dh_check.c
73
BIGNUM *tmp = NULL;
crypto/openssl/crypto/dh/dh_gen.c
159
BIGNUM *t1, *t2;
crypto/openssl/crypto/dh/dh_group_params.c
75
dh->params.q = (BIGNUM *)ossl_ffc_named_group_get_q(group);
crypto/openssl/crypto/dh/dh_key.c
114
int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/openssl/crypto/dh/dh_key.c
144
int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/openssl/crypto/dh/dh_key.c
189
static int dh_bn_mod_exp(const DH *dh, BIGNUM *r,
crypto/openssl/crypto/dh/dh_key.c
190
const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/dh/dh_key.c
191
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
crypto/openssl/crypto/dh/dh_key.c
230
const BIGNUM *priv_key, BIGNUM *pub_key)
crypto/openssl/crypto/dh/dh_key.c
233
BIGNUM *prk = BN_new();
crypto/openssl/crypto/dh/dh_key.c
273
BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/openssl/crypto/dh/dh_key.c
30
static int dh_bn_mod_exp(const DH *dh, BIGNUM *r,
crypto/openssl/crypto/dh/dh_key.c
31
const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/dh/dh_key.c
32
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/crypto/dh/dh_key.c
392
BIGNUM *pubkey = NULL;
crypto/openssl/crypto/dh/dh_key.c
393
const BIGNUM *p;
crypto/openssl/crypto/dh/dh_key.c
40
int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/openssl/crypto/dh/dh_key.c
420
const BIGNUM *pubkey;
crypto/openssl/crypto/dh/dh_key.c
422
const BIGNUM *p;
crypto/openssl/crypto/dh/dh_key.c
44
BIGNUM *z = NULL, *pminus1;
crypto/openssl/crypto/dh/dh_lib.c
226
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
crypto/openssl/crypto/dh/dh_lib.c
231
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
crypto/openssl/crypto/dh/dh_lib.c
259
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
crypto/openssl/crypto/dh/dh_lib.c
267
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
crypto/openssl/crypto/dh/dh_lib.c
282
const BIGNUM *DH_get0_p(const DH *dh)
crypto/openssl/crypto/dh/dh_lib.c
287
const BIGNUM *DH_get0_q(const DH *dh)
crypto/openssl/crypto/dh/dh_lib.c
292
const BIGNUM *DH_get0_g(const DH *dh)
crypto/openssl/crypto/dh/dh_lib.c
297
const BIGNUM *DH_get0_priv_key(const DH *dh)
crypto/openssl/crypto/dh/dh_lib.c
302
const BIGNUM *DH_get0_pub_key(const DH *dh)
crypto/openssl/crypto/dh/dh_local.h
26
BIGNUM *pub_key; /* g^x % p */
crypto/openssl/crypto/dh/dh_local.h
27
BIGNUM *priv_key; /* x */
crypto/openssl/crypto/dh/dh_local.h
47
int (*compute_key)(unsigned char *key, const BIGNUM *pub_key, DH *dh);
crypto/openssl/crypto/dh/dh_local.h
50
int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/dh/dh_local.h
51
const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
crypto/openssl/crypto/dh/dh_meth.c
113
int (*DH_meth_get_compute_key(const DH_METHOD *dhm))(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/openssl/crypto/dh/dh_meth.c
119
int (*compute_key)(unsigned char *key, const BIGNUM *pub_key, DH *dh))
crypto/openssl/crypto/dh/dh_meth.c
125
int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))(const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/dh/dh_meth.c
132
int (*bn_mod_exp)(const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/dh/dh_meth.c
133
const BIGNUM *, BN_CTX *, BN_MONT_CTX *))
crypto/openssl/crypto/dh/dh_pmeth.c
401
BIGNUM *dhpubbn;
crypto/openssl/crypto/dsa/dsa_ameth.c
275
const BIGNUM *priv_key, *pub_key;
crypto/openssl/crypto/dsa/dsa_ameth.c
390
const BIGNUM *r, *s;
crypto/openssl/crypto/dsa/dsa_ameth.c
434
const BIGNUM *p = DSA_get0_p(dsa), *g = DSA_get0_g(dsa);
crypto/openssl/crypto/dsa/dsa_ameth.c
435
const BIGNUM *q = DSA_get0_q(dsa), *pub_key = DSA_get0_pub_key(dsa);
crypto/openssl/crypto/dsa/dsa_ameth.c
436
const BIGNUM *priv_key = DSA_get0_priv_key(dsa);
crypto/openssl/crypto/dsa/dsa_asn1.c
43
ASN1_SIMPLE(DSA, params.p, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
44
ASN1_SIMPLE(DSA, params.q, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
45
ASN1_SIMPLE(DSA, params.g, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
46
ASN1_SIMPLE(DSA, pub_key, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
53
ASN1_SIMPLE(DSA, params.p, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
54
ASN1_SIMPLE(DSA, params.q, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
55
ASN1_SIMPLE(DSA, params.g, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
61
ASN1_SIMPLE(DSA, pub_key, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
62
ASN1_SIMPLE(DSA, params.p, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
63
ASN1_SIMPLE(DSA, params.q, BIGNUM),
crypto/openssl/crypto/dsa/dsa_asn1.c
64
ASN1_SIMPLE(DSA, params.g, BIGNUM)
crypto/openssl/crypto/dsa/dsa_backend.c
131
const BIGNUM *dsa_p, *dsa_g;
crypto/openssl/crypto/dsa/dsa_backend.c
132
BIGNUM *dsa_pubkey = NULL, *dsa_privkey = NULL;
crypto/openssl/crypto/dsa/dsa_backend.c
34
BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/openssl/crypto/dsa/dsa_backend.c
73
static ossl_inline int dsa_bn_dup_check(BIGNUM **out, const BIGNUM *f)
crypto/openssl/crypto/dsa/dsa_check.c
107
BIGNUM *pub_key = NULL;
crypto/openssl/crypto/dsa/dsa_check.c
66
int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/dsa/dsa_check.c
80
int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/dsa/dsa_check.c
89
int ossl_dsa_check_priv_key(const DSA *dsa, const BIGNUM *priv_key, int *ret)
crypto/openssl/crypto/dsa/dsa_key.c
151
BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/openssl/crypto/dsa/dsa_key.c
43
const BIGNUM *priv_key, BIGNUM *pub_key)
crypto/openssl/crypto/dsa/dsa_key.c
46
BIGNUM *prk = BN_new();
crypto/openssl/crypto/dsa/dsa_key.c
81
BIGNUM *pub_key2 = BN_new();
crypto/openssl/crypto/dsa/dsa_lib.c
262
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
crypto/openssl/crypto/dsa/dsa_lib.c
267
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g)
crypto/openssl/crypto/dsa/dsa_lib.c
283
const BIGNUM *DSA_get0_p(const DSA *d)
crypto/openssl/crypto/dsa/dsa_lib.c
288
const BIGNUM *DSA_get0_q(const DSA *d)
crypto/openssl/crypto/dsa/dsa_lib.c
293
const BIGNUM *DSA_get0_g(const DSA *d)
crypto/openssl/crypto/dsa/dsa_lib.c
298
const BIGNUM *DSA_get0_pub_key(const DSA *d)
crypto/openssl/crypto/dsa/dsa_lib.c
303
const BIGNUM *DSA_get0_priv_key(const DSA *d)
crypto/openssl/crypto/dsa/dsa_lib.c
309
const BIGNUM **pub_key, const BIGNUM **priv_key)
crypto/openssl/crypto/dsa/dsa_lib.c
317
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key)
crypto/openssl/crypto/dsa/dsa_lib.c
49
BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/openssl/crypto/dsa/dsa_local.h
22
BIGNUM *pub_key; /* y public key */
crypto/openssl/crypto/dsa/dsa_local.h
23
BIGNUM *priv_key; /* x private key */
crypto/openssl/crypto/dsa/dsa_local.h
42
BIGNUM *r;
crypto/openssl/crypto/dsa/dsa_local.h
43
BIGNUM *s;
crypto/openssl/crypto/dsa/dsa_local.h
49
int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/dsa/dsa_local.h
50
BIGNUM **rp);
crypto/openssl/crypto/dsa/dsa_local.h
53
int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, const BIGNUM *a1,
crypto/openssl/crypto/dsa/dsa_local.h
54
const BIGNUM *p1, const BIGNUM *a2, const BIGNUM *p2,
crypto/openssl/crypto/dsa/dsa_local.h
55
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
crypto/openssl/crypto/dsa/dsa_local.h
57
int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/dsa/dsa_local.h
58
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/crypto/dsa/dsa_meth.c
115
int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))(DSA *, BN_CTX *, BIGNUM **, BIGNUM **)
crypto/openssl/crypto/dsa/dsa_meth.c
121
int (*sign_setup)(DSA *, BN_CTX *, BIGNUM **, BIGNUM **))
crypto/openssl/crypto/dsa/dsa_meth.c
139
int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/dsa/dsa_meth.c
140
const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *)
crypto/openssl/crypto/dsa/dsa_meth.c
146
int (*mod_exp)(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/dsa/dsa_meth.c
147
const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
crypto/openssl/crypto/dsa/dsa_meth.c
154
int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
crypto/openssl/crypto/dsa/dsa_meth.c
161
int (*bn_mod_exp)(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/dsa/dsa_meth.c
162
const BIGNUM *, BN_CTX *, BN_MONT_CTX *))
crypto/openssl/crypto/dsa/dsa_ossl.c
211
BIGNUM **kinvp, BIGNUM **rp)
crypto/openssl/crypto/dsa/dsa_ossl.c
218
BIGNUM **kinvp, BIGNUM **rp,
crypto/openssl/crypto/dsa/dsa_ossl.c
224
BIGNUM *k, *kinv = NULL, *r = *rp;
crypto/openssl/crypto/dsa/dsa_ossl.c
225
BIGNUM *l;
crypto/openssl/crypto/dsa/dsa_ossl.c
29
static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/dsa/dsa_ossl.c
30
BIGNUM **rp);
crypto/openssl/crypto/dsa/dsa_ossl.c
31
static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/dsa/dsa_ossl.c
32
BIGNUM **rp, const unsigned char *dgst, int dlen,
crypto/openssl/crypto/dsa/dsa_ossl.c
359
BIGNUM *u1, *u2, *t1;
crypto/openssl/crypto/dsa/dsa_ossl.c
361
const BIGNUM *r, *s;
crypto/openssl/crypto/dsa/dsa_ossl.c
39
static BIGNUM *dsa_mod_inverse_fermat(const BIGNUM *k, const BIGNUM *q,
crypto/openssl/crypto/dsa/dsa_ossl.c
481
static BIGNUM *dsa_mod_inverse_fermat(const BIGNUM *k, const BIGNUM *q,
crypto/openssl/crypto/dsa/dsa_ossl.c
484
BIGNUM *res = NULL;
crypto/openssl/crypto/dsa/dsa_ossl.c
485
BIGNUM *r, *e;
crypto/openssl/crypto/dsa/dsa_ossl.c
80
BIGNUM *kinv = NULL;
crypto/openssl/crypto/dsa/dsa_ossl.c
81
BIGNUM *m, *blind, *blindm, *tmp;
crypto/openssl/crypto/dsa/dsa_sign.c
134
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
crypto/openssl/crypto/dsa/dsa_sign.c
142
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s)
crypto/openssl/crypto/dsa/dsa_sign.c
28
int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/openssl/crypto/ec/ec2_oct.c
132
BIGNUM *x, *y, *yxi;
crypto/openssl/crypto/ec/ec2_oct.c
260
BIGNUM *x, *y, *yxi;
crypto/openssl/crypto/ec/ec2_oct.c
41
const BIGNUM *x_, int y_bit,
crypto/openssl/crypto/ec/ec2_oct.c
44
BIGNUM *tmp, *x, *y, *z;
crypto/openssl/crypto/ec/ec2_smpl.c
100
const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec2_smpl.c
101
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
139
int ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p,
crypto/openssl/crypto/ec/ec2_smpl.c
140
BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
182
BIGNUM *b;
crypto/openssl/crypto/ec/ec2_smpl.c
288
const BIGNUM *x,
crypto/openssl/crypto/ec/ec2_smpl.c
289
const BIGNUM *y,
crypto/openssl/crypto/ec/ec2_smpl.c
320
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec2_smpl.c
357
BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t;
crypto/openssl/crypto/ec/ec2_smpl.c
510
BIGNUM *lh, *y2;
crypto/openssl/crypto/ec/ec2_smpl.c
511
int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ec2_smpl.c
512
const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ec2_smpl.c
513
int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ec2_smpl.c
582
BIGNUM *aX, *aY, *bX, *bY;
crypto/openssl/crypto/ec/ec2_smpl.c
633
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ec2_smpl.c
693
int ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ec2_smpl.c
694
const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
700
int ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ec2_smpl.c
701
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
707
int ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ec2_smpl.c
708
const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec2_smpl.c
805
BIGNUM *t0, *t1, *t2 = NULL;
crypto/openssl/crypto/ec/ec2_smpl.c
863
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec2_smpl.c
865
const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec2_smpl.c
923
static int ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ec2_smpl.c
924
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_ameth.c
481
const BIGNUM *priv_key = NULL;
crypto/openssl/crypto/ec/ec_asn1.c
1268
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
crypto/openssl/crypto/ec/ec_asn1.c
1276
const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig)
crypto/openssl/crypto/ec/ec_asn1.c
1281
const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig)
crypto/openssl/crypto/ec/ec_asn1.c
1286
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
crypto/openssl/crypto/ec/ec_asn1.c
1302
const BIGNUM *bn;
crypto/openssl/crypto/ec/ec_asn1.c
1314
sig.r = sig.s = (BIGNUM *)bn;
crypto/openssl/crypto/ec/ec_asn1.c
182
BIGNUM *tmp = NULL;
crypto/openssl/crypto/ec/ec_asn1.c
304
BIGNUM *tmp_1 = NULL, *tmp_2 = NULL;
crypto/openssl/crypto/ec/ec_asn1.c
377
const BIGNUM *tmp;
crypto/openssl/crypto/ec/ec_asn1.c
514
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/crypto/ec/ec_backend.c
188
BIGNUM *p = BN_CTX_get(bnctx);
crypto/openssl/crypto/ec/ec_backend.c
189
BIGNUM *a = BN_CTX_get(bnctx);
crypto/openssl/crypto/ec/ec_backend.c
190
BIGNUM *b = BN_CTX_get(bnctx);
crypto/openssl/crypto/ec/ec_backend.c
211
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/crypto/ec/ec_backend.c
259
const BIGNUM *cofactor = EC_GROUP_get0_cofactor(group);
crypto/openssl/crypto/ec/ec_backend.c
362
const BIGNUM *cofactor;
crypto/openssl/crypto/ec/ec_backend.c
400
BIGNUM *priv_key = NULL;
crypto/openssl/crypto/ec/ec_backend.c
428
const BIGNUM *order;
crypto/openssl/crypto/ec/ec_check.c
56
const BIGNUM *order;
crypto/openssl/crypto/ec/ec_curve.c
3033
BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL, *order = NULL;
crypto/openssl/crypto/ec/ec_curve.c
3259
const BIGNUM *cofactor = NULL;
crypto/openssl/crypto/ec/ec_curve.c
3261
BIGNUM *bn[NUM_BN_FIELDS] = { NULL, NULL, NULL, NULL, NULL, NULL };
crypto/openssl/crypto/ec/ec_cvt.c
21
EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_cvt.c
22
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_cvt.c
70
EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_cvt.c
71
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_deprecated.c
21
BIGNUM *EC_POINT_point2bn(const EC_GROUP *group,
crypto/openssl/crypto/ec/ec_deprecated.c
24
BIGNUM *ret, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_deprecated.c
42
const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_key.c
304
BIGNUM *priv_key = NULL;
crypto/openssl/crypto/ec/ec_key.c
305
const BIGNUM *tmp = NULL;
crypto/openssl/crypto/ec/ec_key.c
306
BIGNUM *order = NULL;
crypto/openssl/crypto/ec/ec_key.c
495
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ec_key.c
564
const BIGNUM *order = NULL;
crypto/openssl/crypto/ec/ec_key.c
565
const BIGNUM *cofactor = EC_GROUP_get0_cofactor(eckey->group);
crypto/openssl/crypto/ec/ec_key.c
690
int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x,
crypto/openssl/crypto/ec/ec_key.c
691
BIGNUM *y)
crypto/openssl/crypto/ec/ec_key.c
694
BIGNUM *tx, *ty;
crypto/openssl/crypto/ec/ec_key.c
781
const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key)
crypto/openssl/crypto/ec/ec_key.c
786
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key)
crypto/openssl/crypto/ec/ec_key.c
789
const BIGNUM *order = NULL;
crypto/openssl/crypto/ec/ec_key.c
790
BIGNUM *tmp_key = NULL;
crypto/openssl/crypto/ec/ec_kmeth.c
200
const BIGNUM *priv_key),
crypto/openssl/crypto/ec/ec_kmeth.c
231
const BIGNUM *kinv, const BIGNUM *r,
crypto/openssl/crypto/ec/ec_kmeth.c
234
BIGNUM **kinvp, BIGNUM **rp),
crypto/openssl/crypto/ec/ec_kmeth.c
237
const BIGNUM *in_kinv,
crypto/openssl/crypto/ec/ec_kmeth.c
238
const BIGNUM *in_r,
crypto/openssl/crypto/ec/ec_kmeth.c
266
const BIGNUM *priv_key),
crypto/openssl/crypto/ec/ec_kmeth.c
305
const BIGNUM *kinv, const BIGNUM *r,
crypto/openssl/crypto/ec/ec_kmeth.c
308
BIGNUM **kinvp, BIGNUM **rp),
crypto/openssl/crypto/ec/ec_kmeth.c
311
const BIGNUM *in_kinv,
crypto/openssl/crypto/ec/ec_kmeth.c
312
const BIGNUM *in_r,
crypto/openssl/crypto/ec/ec_lib.c
1068
int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/openssl/crypto/ec/ec_lib.c
1070
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
1115
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
crypto/openssl/crypto/ec/ec_lib.c
1116
const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
1234
static int ec_field_inverse_mod_ord(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ec_lib.c
1235
const BIGNUM *x, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
1237
BIGNUM *e = NULL;
crypto/openssl/crypto/ec/ec_lib.c
1295
int ossl_ec_group_do_inverse_ord(const EC_GROUP *group, BIGNUM *res,
crypto/openssl/crypto/ec/ec_lib.c
1296
const BIGNUM *x, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
1411
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/crypto/ec/ec_lib.c
1548
BIGNUM *p = NULL, *a = NULL, *b = NULL, *order = NULL, *cofactor = NULL;
crypto/openssl/crypto/ec/ec_lib.c
323
BIGNUM *q = NULL;
crypto/openssl/crypto/ec/ec_lib.c
369
const BIGNUM *order, const BIGNUM *cofactor)
crypto/openssl/crypto/ec/ec_lib.c
448
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
458
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group)
crypto/openssl/crypto/ec/ec_lib.c
468
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
crypto/openssl/crypto/ec/ec_lib.c
480
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group)
crypto/openssl/crypto/ec/ec_lib.c
498
const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group)
crypto/openssl/crypto/ec/ec_lib.c
557
int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_lib.c
558
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
567
int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/openssl/crypto/ec/ec_lib.c
578
int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_lib.c
579
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
584
int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
crypto/openssl/crypto/ec/ec_lib.c
585
BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
591
int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_lib.c
592
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
597
int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
crypto/openssl/crypto/ec/ec_lib.c
598
BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
626
BIGNUM *a1, *a2, *a3, *b1, *b2, *b3;
crypto/openssl/crypto/ec/ec_lib.c
679
const BIGNUM *ao, *bo, *ac, *bc;
crypto/openssl/crypto/ec/ec_lib.c
827
EC_POINT *point, const BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
828
const BIGNUM *y, const BIGNUM *z,
crypto/openssl/crypto/ec/ec_lib.c
844
const EC_POINT *point, BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
845
BIGNUM *y, BIGNUM *z,
crypto/openssl/crypto/ec/ec_lib.c
862
const BIGNUM *x, const BIGNUM *y,
crypto/openssl/crypto/ec/ec_lib.c
885
EC_POINT *point, const BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
886
const BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
893
EC_POINT *point, const BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
894
const BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
902
const EC_POINT *point, BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec_lib.c
922
const EC_POINT *point, BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
923
BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_lib.c
930
const EC_POINT *point, BIGNUM *x,
crypto/openssl/crypto/ec/ec_lib.c
931
BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_local.h
135
int (*mul)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/openssl/crypto/ec/ec_local.h
136
size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec_local.h
147
int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
148
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
149
int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
150
int (*field_div)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
151
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
158
int (*field_inv)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
160
int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
163
int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
165
int (*field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
169
int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
crypto/openssl/crypto/ec/ec_local.h
179
int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
180
BIGNUM **rp);
crypto/openssl/crypto/ec/ec_local.h
182
const BIGNUM *kinv, const BIGNUM *r,
crypto/openssl/crypto/ec/ec_local.h
187
int (*field_inverse_mod_ord)(const EC_GROUP *, BIGNUM *r,
crypto/openssl/crypto/ec/ec_local.h
188
const BIGNUM *x, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
215
BIGNUM *order, *cofactor;
crypto/openssl/crypto/ec/ec_local.h
233
BIGNUM *field;
crypto/openssl/crypto/ec/ec_local.h
249
BIGNUM *a, *b;
crypto/openssl/crypto/ec/ec_local.h
257
int (*field_mod_func)(BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ec_local.h
300
BIGNUM *priv_key;
crypto/openssl/crypto/ec/ec_local.h
323
BIGNUM *X;
crypto/openssl/crypto/ec/ec_local.h
324
BIGNUM *Y;
crypto/openssl/crypto/ec/ec_local.h
325
BIGNUM *Z; /* Jacobian projective coordinates: * (X, Y,
crypto/openssl/crypto/ec/ec_local.h
360
int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/openssl/crypto/ec/ec_local.h
362
const BIGNUM *scalars[], BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
371
int ossl_ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
372
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ec_local.h
374
int ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
375
BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
385
const BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
386
const BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
387
const BIGNUM *z,
crypto/openssl/crypto/ec/ec_local.h
391
BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
392
BIGNUM *y, BIGNUM *z,
crypto/openssl/crypto/ec/ec_local.h
395
const BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
396
const BIGNUM *y, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
398
const EC_POINT *, BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
399
BIGNUM *y, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
401
const BIGNUM *x, int y_bit,
crypto/openssl/crypto/ec/ec_local.h
420
int ossl_ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
421
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
422
int ossl_ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
424
int ossl_ec_GFp_simple_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
440
int ossl_ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
441
const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
442
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
446
int ossl_ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
447
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
448
int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
450
int ossl_ec_GFp_mont_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
452
int ossl_ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
454
int ossl_ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
456
int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
460
int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
461
const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
462
int ossl_ec_GFp_nist_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
463
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
464
int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
472
int ossl_ec_GF2m_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
473
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ec_local.h
475
int ossl_ec_GF2m_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
476
BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
486
const BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
487
const BIGNUM *y, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
489
const EC_POINT *, BIGNUM *x,
crypto/openssl/crypto/ec/ec_local.h
490
BIGNUM *y, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
492
const BIGNUM *x, int y_bit,
crypto/openssl/crypto/ec/ec_local.h
511
int ossl_ec_GF2m_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
512
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
513
int ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
515
int ossl_ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
516
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
525
int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
526
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
530
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
533
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
534
const EC_POINT *points[], const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec_local.h
537
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
539
const BIGNUM *scalars[], BN_CTX *ctx);
crypto/openssl/crypto/ec/ec_local.h
545
int ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
546
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
550
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
553
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
554
const EC_POINT *points[], const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec_local.h
557
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
559
const BIGNUM *scalars[], BN_CTX *ctx);
crypto/openssl/crypto/ec/ec_local.h
565
int ossl_ec_GFp_nistp384_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
566
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
57
int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ec_local.h
570
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
573
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
574
const EC_POINT *points[], const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec_local.h
577
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
579
const BIGNUM *scalars[], BN_CTX *ctx);
crypto/openssl/crypto/ec/ec_local.h
58
const BIGNUM *b, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
586
int ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ec_local.h
587
const BIGNUM *a, const BIGNUM *n,
crypto/openssl/crypto/ec/ec_local.h
59
int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/openssl/crypto/ec/ec_local.h
591
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
594
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
595
const EC_POINT *points[], const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ec_local.h
598
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ec_local.h
600
const BIGNUM *scalars[], BN_CTX *ctx);
crypto/openssl/crypto/ec/ec_local.h
671
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/openssl/crypto/ec/ec_local.h
676
int (*sign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
crypto/openssl/crypto/ec/ec_local.h
677
const BIGNUM *r, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
678
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
679
BIGNUM **rp);
crypto/openssl/crypto/ec/ec_local.h
681
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/openssl/crypto/ec/ec_local.h
702
BIGNUM *r;
crypto/openssl/crypto/ec/ec_local.h
703
BIGNUM *s;
crypto/openssl/crypto/ec/ec_local.h
706
int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
707
BIGNUM **rp);
crypto/openssl/crypto/ec/ec_local.h
710
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
crypto/openssl/crypto/ec/ec_local.h
712
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/openssl/crypto/ec/ec_local.h
718
int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ec_local.h
719
BIGNUM **rp);
crypto/openssl/crypto/ec/ec_local.h
721
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/openssl/crypto/ec/ec_local.h
756
const BIGNUM *scalar, const EC_POINT *point,
crypto/openssl/crypto/ec/ec_local.h
84
const BIGNUM *x, const BIGNUM *y,
crypto/openssl/crypto/ec/ec_local.h
87
BIGNUM *x, BIGNUM *y, BN_CTX *);
crypto/openssl/crypto/ec/ec_local.h
89
const BIGNUM *x, int y_bit,
crypto/openssl/crypto/ec/ec_mult.c
141
const BIGNUM *scalar, const EC_POINT *point,
crypto/openssl/crypto/ec/ec_mult.c
147
BIGNUM *k = NULL;
crypto/openssl/crypto/ec/ec_mult.c
148
BIGNUM *lambda = NULL;
crypto/openssl/crypto/ec/ec_mult.c
149
BIGNUM *cardinality = NULL;
crypto/openssl/crypto/ec/ec_mult.c
403
int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/openssl/crypto/ec/ec_mult.c
405
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_mult.c
818
const BIGNUM *order;
crypto/openssl/crypto/ec/ec_oct.c
25
const BIGNUM *x, int y_bit, BN_CTX *ctx)
crypto/openssl/crypto/ec/ec_oct.c
57
EC_POINT *point, const BIGNUM *x,
crypto/openssl/crypto/ec/ec_oct.c
65
EC_POINT *point, const BIGNUM *x,
crypto/openssl/crypto/ec/ecdh_ossl.c
54
BIGNUM *x = NULL;
crypto/openssl/crypto/ec/ecdh_ossl.c
55
const BIGNUM *priv_key;
crypto/openssl/crypto/ec/ecdsa_ossl.c
102
BIGNUM *kinv = NULL, *r = NULL;
crypto/openssl/crypto/ec/ecdsa_ossl.c
133
BIGNUM **kinvp, BIGNUM **rp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
139
BIGNUM *k = NULL, *r = NULL, *X = NULL;
crypto/openssl/crypto/ec/ecdsa_ossl.c
140
const BIGNUM *order;
crypto/openssl/crypto/ec/ecdsa_ossl.c
145
const BIGNUM *priv_key;
crypto/openssl/crypto/ec/ecdsa_ossl.c
263
int ossl_ecdsa_simple_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
264
BIGNUM **rp)
crypto/openssl/crypto/ec/ecdsa_ossl.c
271
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/openssl/crypto/ec/ecdsa_ossl.c
276
BIGNUM *kinv = NULL, *s, *m = NULL;
crypto/openssl/crypto/ec/ecdsa_ossl.c
277
const BIGNUM *order, *ckinv;
crypto/openssl/crypto/ec/ecdsa_ossl.c
281
const BIGNUM *priv_key;
crypto/openssl/crypto/ec/ecdsa_ossl.c
34
BIGNUM **kinvp, BIGNUM **rp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
39
int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_ossl.c
40
BIGNUM **rp)
crypto/openssl/crypto/ec/ecdsa_ossl.c
449
const BIGNUM *order;
crypto/openssl/crypto/ec/ecdsa_ossl.c
450
BIGNUM *u1, *u2, *m, *X;
crypto/openssl/crypto/ec/ecdsa_ossl.c
51
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/openssl/crypto/ec/ecdsa_ossl.c
76
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
26
const BIGNUM *kinv, const BIGNUM *rp,
crypto/openssl/crypto/ec/ecdsa_sign.c
41
unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
crypto/openssl/crypto/ec/ecdsa_sign.c
42
const BIGNUM *r, EC_KEY *eckey)
crypto/openssl/crypto/ec/ecdsa_sign.c
50
int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/openssl/crypto/ec/ecdsa_sign.c
51
BIGNUM **rp)
crypto/openssl/crypto/ec/eck_prn.c
75
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/crypto/ec/eck_prn.c
77
const BIGNUM *order = NULL, *cofactor = NULL;
crypto/openssl/crypto/ec/ecp_mont.c
142
int ossl_ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_mont.c
143
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_mont.c
148
BIGNUM *one = NULL;
crypto/openssl/crypto/ec/ecp_mont.c
196
int ossl_ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_mont.c
197
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_mont.c
207
int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_mont.c
223
int ossl_ec_GFp_mont_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_mont.c
226
BIGNUM *e = NULL;
crypto/openssl/crypto/ec/ecp_mont.c
267
int ossl_ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_mont.c
268
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_mont.c
278
int ossl_ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_mont.c
279
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_mont.c
289
int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_nist.c
128
int ossl_ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_nist.c
129
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nist.c
153
int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_nist.c
92
int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_nist.c
93
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_nistp224.c
1275
int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_nistp224.c
1276
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_nistp224.c
1280
BIGNUM *curve_p, *curve_a, *curve_b;
crypto/openssl/crypto/ec/ecp_nistp224.c
1319
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_nistp224.c
1391
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ecp_nistp224.c
1393
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistp224.c
1399
BIGNUM *x, *y, *z, *tmp_scalar;
crypto/openssl/crypto/ec/ecp_nistp224.c
1412
const BIGNUM *p_scalar = NULL;
crypto/openssl/crypto/ec/ecp_nistp224.c
1585
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_nistp224.c
330
static int BN_to_felem(felem out, const BIGNUM *bn)
crypto/openssl/crypto/ec/ecp_nistp224.c
349
static BIGNUM *felem_to_BN(BIGNUM *out, const felem in)
crypto/openssl/crypto/ec/ecp_nistp256.c
151
static int BN_to_felem(felem out, const BIGNUM *bn)
crypto/openssl/crypto/ec/ecp_nistp256.c
170
static BIGNUM *smallfelem_to_BN(BIGNUM *out, const smallfelem in)
crypto/openssl/crypto/ec/ecp_nistp256.c
1894
int ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_nistp256.c
1895
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_nistp256.c
1899
BIGNUM *curve_p, *curve_a, *curve_b;
crypto/openssl/crypto/ec/ecp_nistp256.c
1938
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_nistp256.c
2010
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ecp_nistp256.c
2012
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistp256.c
2017
BIGNUM *x, *y, *z, *tmp_scalar;
crypto/openssl/crypto/ec/ecp_nistp256.c
2032
const BIGNUM *p_scalar = NULL;
crypto/openssl/crypto/ec/ecp_nistp256.c
2211
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_nistp384.c
141
static int BN_to_felem(felem out, const BIGNUM *bn)
crypto/openssl/crypto/ec/ecp_nistp384.c
160
static BIGNUM *felem_to_BN(BIGNUM *out, const felem in)
crypto/openssl/crypto/ec/ecp_nistp384.c
1618
int ossl_ec_GFp_nistp384_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_nistp384.c
1619
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_nistp384.c
1623
BIGNUM *curve_p, *curve_a, *curve_b;
crypto/openssl/crypto/ec/ecp_nistp384.c
1662
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_nistp384.c
1731
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ecp_nistp384.c
1733
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistp384.c
1738
BIGNUM *x, *y, *z, *tmp_scalar;
crypto/openssl/crypto/ec/ecp_nistp384.c
1752
const BIGNUM *p_scalar = NULL;
crypto/openssl/crypto/ec/ecp_nistp384.c
1924
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_nistp521.c
1708
int ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/openssl/crypto/ec/ecp_nistp521.c
1709
const BIGNUM *a, const BIGNUM *b,
crypto/openssl/crypto/ec/ecp_nistp521.c
1713
BIGNUM *curve_p, *curve_a, *curve_b;
crypto/openssl/crypto/ec/ecp_nistp521.c
175
static int BN_to_felem(felem out, const BIGNUM *bn)
crypto/openssl/crypto/ec/ecp_nistp521.c
1752
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_nistp521.c
1825
const BIGNUM *scalar, size_t num,
crypto/openssl/crypto/ec/ecp_nistp521.c
1827
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistp521.c
1832
BIGNUM *x, *y, *z, *tmp_scalar;
crypto/openssl/crypto/ec/ecp_nistp521.c
1846
const BIGNUM *p_scalar = NULL;
crypto/openssl/crypto/ec/ecp_nistp521.c
194
static BIGNUM *felem_to_BN(BIGNUM *out, const felem in)
crypto/openssl/crypto/ec/ecp_nistp521.c
2023
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_nistz256.c
1101
new_scalars = OPENSSL_malloc((num + 1) * sizeof(BIGNUM *));
crypto/openssl/crypto/ec/ecp_nistz256.c
1109
memcpy(new_scalars, scalars, num * sizeof(BIGNUM *));
crypto/openssl/crypto/ec/ecp_nistz256.c
1148
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistz256.c
1260
static int ecp_nistz256_inv_mod_ord(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_nistz256.c
1261
const BIGNUM *x, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistz256.c
1305
BIGNUM *tmp;
crypto/openssl/crypto/ec/ecp_nistz256.c
1453
BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL, *one = NULL,
crypto/openssl/crypto/ec/ecp_nistz256.c
213
static BN_ULONG is_one(const BIGNUM *z)
crypto/openssl/crypto/ec/ecp_nistz256.c
599
const BIGNUM *in)
crypto/openssl/crypto/ec/ecp_nistz256.c
607
const BIGNUM **scalar,
crypto/openssl/crypto/ec/ecp_nistz256.c
619
const BIGNUM **scalars = NULL;
crypto/openssl/crypto/ec/ecp_nistz256.c
627
|| (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL)
crypto/openssl/crypto/ec/ecp_nistz256.c
638
BIGNUM *mod;
crypto/openssl/crypto/ec/ecp_nistz256.c
803
const BIGNUM *order;
crypto/openssl/crypto/ec/ecp_nistz256.c
932
const BIGNUM *scalar,
crypto/openssl/crypto/ec/ecp_nistz256.c
935
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_nistz256.c
942
const BIGNUM **new_scalars = NULL;
crypto/openssl/crypto/ec/ecp_nistz256.c
952
BIGNUM *tmp_scalar;
crypto/openssl/crypto/ec/ecp_oct.c
166
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_oct.c
24
const BIGNUM *x_, int y_bit,
crypto/openssl/crypto/ec/ecp_oct.c
28
BIGNUM *tmp1, *tmp2, *x, *y;
crypto/openssl/crypto/ec/ecp_oct.c
280
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
132
const BIGNUM *kinv,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
133
const BIGNUM *r,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
139
BIGNUM *k;
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
142
const BIGNUM *privkey;
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
237
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
309
const BIGNUM *scalar, \
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
312
const BIGNUM *scalars[], \
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
323
const BIGNUM *kinv, \
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
324
const BIGNUM *r, \
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
50
const BIGNUM *scalar,
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
52
const BIGNUM *scalars[],
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
56
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
58
const BIGNUM *scalar_ptr = NULL;
crypto/openssl/crypto/ec/ecp_sm2p256.c
450
const BIGNUM **scalar,
crypto/openssl/crypto/ec/ecp_sm2p256.c
456
const BIGNUM **scalars = NULL;
crypto/openssl/crypto/ec/ecp_sm2p256.c
465
|| (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) {
crypto/openssl/crypto/ec/ecp_sm2p256.c
477
BIGNUM *tmp;
crypto/openssl/crypto/ec/ecp_sm2p256.c
512
const BIGNUM *scalar,
crypto/openssl/crypto/ec/ecp_sm2p256.c
515
const BIGNUM *scalars[], BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_sm2p256.c
551
const BIGNUM *g_scalars[1];
crypto/openssl/crypto/ec/ecp_sm2p256.c
591
static int ecp_sm2p256_field_mul(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_sm2p256.c
592
const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_sm2p256.c
615
static int ecp_sm2p256_field_sqr(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_sm2p256.c
616
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
1068
int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ecp_smpl.c
1069
const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
1070
int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
1072
BIGNUM *tmp1, *tmp2, *Za23, *Zb23;
crypto/openssl/crypto/ec/ecp_smpl.c
1073
const BIGNUM *tmp1_, *tmp2_;
crypto/openssl/crypto/ec/ecp_smpl.c
1170
BIGNUM *x, *y;
crypto/openssl/crypto/ec/ecp_smpl.c
1209
BIGNUM *tmp, *tmp_Z;
crypto/openssl/crypto/ec/ecp_smpl.c
1210
BIGNUM **prod_Z = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
1362
int ossl_ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_smpl.c
1363
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
1368
int ossl_ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_smpl.c
1380
int ossl_ec_GFp_simple_field_inv(const EC_GROUP *group, BIGNUM *r,
crypto/openssl/crypto/ec/ecp_smpl.c
1381
const BIGNUM *a, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
1383
BIGNUM *e = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
142
const BIGNUM *p, const BIGNUM *a,
crypto/openssl/crypto/ec/ecp_smpl.c
143
const BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
1431
BIGNUM *lambda = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
1432
BIGNUM *temp = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
147
BIGNUM *tmp_a;
crypto/openssl/crypto/ec/ecp_smpl.c
1494
BIGNUM *t1, *t2, *t3, *t4, *t5 = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
1565
BIGNUM *t0, *t1, *t2, *t3, *t4, *t5, *t6 = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
1653
BIGNUM *t0, *t1, *t2, *t3, *t4, *t5, *t6 = NULL;
crypto/openssl/crypto/ec/ecp_smpl.c
200
int ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p,
crypto/openssl/crypto/ec/ecp_smpl.c
201
BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
254
BIGNUM *a, *b, *order, *tmp_1, *tmp_2;
crypto/openssl/crypto/ec/ecp_smpl.c
255
const BIGNUM *p = group->field;
crypto/openssl/crypto/ec/ecp_smpl.c
377
const BIGNUM *x,
crypto/openssl/crypto/ec/ecp_smpl.c
378
const BIGNUM *y,
crypto/openssl/crypto/ec/ecp_smpl.c
379
const BIGNUM *z,
crypto/openssl/crypto/ec/ecp_smpl.c
436
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_smpl.c
437
BIGNUM *z, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
485
const BIGNUM *x,
crypto/openssl/crypto/ec/ecp_smpl.c
486
const BIGNUM *y, BN_CTX *ctx)
crypto/openssl/crypto/ec/ecp_smpl.c
502
BIGNUM *x, BIGNUM *y,
crypto/openssl/crypto/ec/ecp_smpl.c
506
BIGNUM *Z, *Z_1, *Z_2, *Z_3;
crypto/openssl/crypto/ec/ecp_smpl.c
507
const BIGNUM *Z_;
crypto/openssl/crypto/ec/ecp_smpl.c
615
int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ecp_smpl.c
616
const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
617
int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
618
const BIGNUM *p;
crypto/openssl/crypto/ec/ecp_smpl.c
620
BIGNUM *n0, *n1, *n2, *n3, *n4, *n5, *n6;
crypto/openssl/crypto/ec/ecp_smpl.c
800
int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ecp_smpl.c
801
const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
802
int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
803
const BIGNUM *p;
crypto/openssl/crypto/ec/ecp_smpl.c
805
BIGNUM *n0, *n1, *n2, *n3;
crypto/openssl/crypto/ec/ecp_smpl.c
958
int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *,
crypto/openssl/crypto/ec/ecp_smpl.c
959
const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
960
int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/openssl/crypto/ec/ecp_smpl.c
961
const BIGNUM *p;
crypto/openssl/crypto/ec/ecp_smpl.c
963
BIGNUM *rh, *tmp, *Z4, *Z6;
crypto/openssl/crypto/encode_decode/encoder_lib.c
706
int ossl_bio_print_labeled_bignum(BIO *out, const char *label, const BIGNUM *bn)
crypto/openssl/crypto/evp/ctrl_params_translate.c
1576
ctx->p2 = (BIGNUM *)DH_get0_priv_key(dh);
crypto/openssl/crypto/evp/ctrl_params_translate.c
1583
ctx->p2 = (BIGNUM *)EC_KEY_get0_private_key(ec);
crypto/openssl/crypto/evp/ctrl_params_translate.c
1667
BIGNUM *x = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1668
BIGNUM *y = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1717
struct translation_ctx_st *ctx, const BIGNUM *bn)
crypto/openssl/crypto/evp/ctrl_params_translate.c
1723
ctx->p2 = (BIGNUM *)bn;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1732
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1757
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1779
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1839
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1853
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1867
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1883
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1894
const BIGNUM *factors[10];
crypto/openssl/crypto/evp/ctrl_params_translate.c
1911
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1922
const BIGNUM *exps[10], *coeffs[10];
crypto/openssl/crypto/evp/ctrl_params_translate.c
1939
const BIGNUM *bn = NULL;
crypto/openssl/crypto/evp/ctrl_params_translate.c
1947
const BIGNUM *exps[10], *coeffs[10];
crypto/openssl/crypto/evp/p_lib.c
2220
BIGNUM **bn)
crypto/openssl/crypto/evp/p_lib.c
2367
const BIGNUM *bn)
crypto/openssl/crypto/ffc/ffc_backend.c
24
BIGNUM *p = NULL, *q = NULL, *g = NULL, *j = NULL;
crypto/openssl/crypto/ffc/ffc_dh.c
115
const DH_NAMED_GROUP *ossl_ffc_numbers_to_dh_named_group(const BIGNUM *p,
crypto/openssl/crypto/ffc/ffc_dh.c
116
const BIGNUM *q,
crypto/openssl/crypto/ffc/ffc_dh.c
117
const BIGNUM *g)
crypto/openssl/crypto/ffc/ffc_dh.c
155
const BIGNUM *ossl_ffc_named_group_get_q(const DH_NAMED_GROUP *group)
crypto/openssl/crypto/ffc/ffc_dh.c
167
ossl_ffc_params_set0_pqg(ffc, (BIGNUM *)group->p, (BIGNUM *)group->q,
crypto/openssl/crypto/ffc/ffc_dh.c
168
(BIGNUM *)group->g);
crypto/openssl/crypto/ffc/ffc_dh.c
56
const BIGNUM *p;
crypto/openssl/crypto/ffc/ffc_dh.c
57
const BIGNUM *q;
crypto/openssl/crypto/ffc/ffc_dh.c
58
const BIGNUM *g;
crypto/openssl/crypto/ffc/ffc_key_generate.c
23
int N, int s, BIGNUM *priv)
crypto/openssl/crypto/ffc/ffc_key_generate.c
26
BIGNUM *m, *two_powN = NULL;
crypto/openssl/crypto/ffc/ffc_key_validate.c
102
int ossl_ffc_validate_private_key(const BIGNUM *upper, const BIGNUM *priv,
crypto/openssl/crypto/ffc/ffc_key_validate.c
20
const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/ffc/ffc_key_validate.c
23
BIGNUM *tmp = NULL;
crypto/openssl/crypto/ffc/ffc_key_validate.c
63
const BIGNUM *pub_key, int *ret)
crypto/openssl/crypto/ffc/ffc_key_validate.c
66
BIGNUM *tmp = NULL;
crypto/openssl/crypto/ffc/ffc_params.c
160
static int ffc_bn_cpy(BIGNUM **dst, const BIGNUM *src)
crypto/openssl/crypto/ffc/ffc_params.c
162
BIGNUM *a;
crypto/openssl/crypto/ffc/ffc_params.c
172
a = (BIGNUM *)src;
crypto/openssl/crypto/ffc/ffc_params.c
46
void ossl_ffc_params_set0_pqg(FFC_PARAMS *d, BIGNUM *p, BIGNUM *q, BIGNUM *g)
crypto/openssl/crypto/ffc/ffc_params.c
62
void ossl_ffc_params_get0_pqg(const FFC_PARAMS *d, const BIGNUM **p,
crypto/openssl/crypto/ffc/ffc_params.c
63
const BIGNUM **q, const BIGNUM **g)
crypto/openssl/crypto/ffc/ffc_params.c
74
void ossl_ffc_params_set0_j(FFC_PARAMS *d, BIGNUM *j)
crypto/openssl/crypto/ffc/ffc_params_generate.c
133
const EVP_MD *evpmd, BIGNUM *g, BIGNUM *tmp,
crypto/openssl/crypto/ffc/ffc_params_generate.c
134
const BIGNUM *p, const BIGNUM *e,
crypto/openssl/crypto/ffc/ffc_params_generate.c
192
unsigned char *buf, size_t buf_len, const BIGNUM *q,
crypto/openssl/crypto/ffc/ffc_params_generate.c
193
BIGNUM *p, int L, BN_GENCB *cb, int *counter,
crypto/openssl/crypto/ffc/ffc_params_generate.c
200
BIGNUM *W, *X, *tmp, *c, *test;
crypto/openssl/crypto/ffc/ffc_params_generate.c
313
static int generate_q_fips186_4(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd,
crypto/openssl/crypto/ffc/ffc_params_generate.c
389
static int generate_q_fips186_2(BN_CTX *ctx, BIGNUM *q, const EVP_MD *evpmd,
crypto/openssl/crypto/ffc/ffc_params_generate.c
525
BIGNUM *tmp, *pm1, *e, *test;
crypto/openssl/crypto/ffc/ffc_params_generate.c
526
BIGNUM *g = NULL, *q = NULL, *p = NULL;
crypto/openssl/crypto/ffc/ffc_params_generate.c
817
BIGNUM *r0, *test, *tmp, *g = NULL, *q = NULL, *p = NULL;
crypto/openssl/crypto/ffc/ffc_params_generate.c
95
static int generate_unverifiable_g(BN_CTX *ctx, BN_MONT_CTX *mont, BIGNUM *g,
crypto/openssl/crypto/ffc/ffc_params_generate.c
96
BIGNUM *hbn, const BIGNUM *p,
crypto/openssl/crypto/ffc/ffc_params_generate.c
97
const BIGNUM *e, const BIGNUM *pm1,
crypto/openssl/crypto/ffc/ffc_params_validate.c
24
const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/ffc/ffc_params_validate.c
25
const BIGNUM *g, BIGNUM *tmp,
crypto/openssl/crypto/objects/obj_dat.c
468
BIGNUM *bl;
crypto/openssl/crypto/param_build.c
194
const BIGNUM *bn, size_t sz, int type)
crypto/openssl/crypto/param_build.c
234
const BIGNUM *bn)
crypto/openssl/crypto/param_build.c
244
const BIGNUM *bn, size_t sz)
crypto/openssl/crypto/param_build.c
30
const BIGNUM *bn;
crypto/openssl/crypto/param_build_set.c
104
const BIGNUM *bn;
crypto/openssl/crypto/param_build_set.c
20
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
crypto/openssl/crypto/param_build_set.c
70
const char *key, const BIGNUM *bn, size_t sz)
crypto/openssl/crypto/param_build_set.c
87
const char *key, const BIGNUM *bn)
crypto/openssl/crypto/params.c
1082
int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val)
crypto/openssl/crypto/params.c
1084
BIGNUM *b = NULL;
crypto/openssl/crypto/params.c
1112
int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val)
crypto/openssl/crypto/params_from_text.c
137
void *buf, size_t buf_n, BIGNUM *tmpbn)
crypto/openssl/crypto/params_from_text.c
220
BIGNUM *bn;
crypto/openssl/crypto/params_from_text.c
29
size_t *buf_n, BIGNUM **tmpbn, int *found)
crypto/openssl/crypto/params_from_text.c
315
BIGNUM *tmpbn = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
381
BIGNUM *pbn = NULL, *qbn = NULL, *gbn = NULL, *priv_key = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
382
BIGNUM *pub_key = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
452
BIGNUM *e = NULL, *n = NULL, *d = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
453
BIGNUM *p = NULL, *q = NULL, *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
55
static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
crypto/openssl/crypto/pem/pvkfmt.c
553
static void write_lebn(unsigned char **out, const BIGNUM *bn, int len)
crypto/openssl/crypto/pem/pvkfmt.c
639
const BIGNUM *e;
crypto/openssl/crypto/pem/pvkfmt.c
651
const BIGNUM *d, *p, *q, *iqmp, *dmp1, *dmq1;
crypto/openssl/crypto/pem/pvkfmt.c
679
const BIGNUM *n, *d, *e, *p, *q, *iqmp, *dmp1, *dmq1;
crypto/openssl/crypto/pem/pvkfmt.c
702
const BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
703
const BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
730
const BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/crypto/pem/pvkfmt.c
731
const BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/openssl/crypto/rsa/rsa_ameth.c
350
BIGNUM *bn = NULL;
crypto/openssl/crypto/rsa/rsa_asn1.c
59
ASN1_SIMPLE(RSA, n, BIGNUM),
crypto/openssl/crypto/rsa/rsa_asn1.c
60
ASN1_SIMPLE(RSA, e, BIGNUM),
crypto/openssl/crypto/rsa/rsa_asn1.c
71
ASN1_SIMPLE(RSA, n, BIGNUM),
crypto/openssl/crypto/rsa/rsa_asn1.c
72
ASN1_SIMPLE(RSA, e, BIGNUM),
crypto/openssl/crypto/rsa/rsa_backend.c
256
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
crypto/openssl/crypto/rsa/rsa_backend.c
262
const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL;
crypto/openssl/crypto/rsa/rsa_backend.c
36
DEFINE_STACK_OF(BIGNUM)
crypto/openssl/crypto/rsa/rsa_backend.c
38
static int collect_numbers(STACK_OF(BIGNUM) *numbers,
crypto/openssl/crypto/rsa/rsa_backend.c
458
static ossl_inline int rsa_bn_dup_check(BIGNUM **out, const BIGNUM *f)
crypto/openssl/crypto/rsa/rsa_backend.c
50
BIGNUM *tmp = NULL;
crypto/openssl/crypto/rsa/rsa_backend.c
69
BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/crypto/rsa/rsa_backend.c
70
STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL;
crypto/openssl/crypto/rsa/rsa_chk.c
24
BIGNUM *i, *j, *k, *l, *m;
crypto/openssl/crypto/rsa/rsa_crpt.c
118
BIGNUM *e;
crypto/openssl/crypto/rsa/rsa_crpt.c
147
BIGNUM *n = BN_new();
crypto/openssl/crypto/rsa/rsa_crpt.c
88
static BIGNUM *rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p,
crypto/openssl/crypto/rsa/rsa_crpt.c
89
const BIGNUM *q, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_crpt.c
91
BIGNUM *ret = NULL, *r0, *r1, *r2;
crypto/openssl/crypto/rsa/rsa_depr.c
35
BIGNUM *e = BN_new();
crypto/openssl/crypto/rsa/rsa_gen.c
266
BIGNUM *e_value, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_gen.c
268
BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *tmp, *tmp2, *prime;
crypto/openssl/crypto/rsa/rsa_gen.c
273
STACK_OF(BIGNUM) *factors = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
274
STACK_OF(BIGNUM) *exps = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
275
STACK_OF(BIGNUM) *coeffs = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
32
BIGNUM *e_value, BN_GENCB *cb, int pairwise_test);
crypto/openssl/crypto/rsa/rsa_gen.c
399
BIGNUM *prev_prime;
crypto/openssl/crypto/rsa/rsa_gen.c
41
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_gen.c
51
BIGNUM *e_value, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_gen.c
612
BIGNUM *e_value, BN_GENCB *cb, int pairwise_test)
crypto/openssl/crypto/rsa/rsa_gen.c
74
DEFINE_STACK_OF(BIGNUM)
crypto/openssl/crypto/rsa/rsa_gen.c
83
BIGNUM *e_value,
crypto/openssl/crypto/rsa/rsa_gen.c
84
STACK_OF(BIGNUM) *factors,
crypto/openssl/crypto/rsa/rsa_gen.c
85
STACK_OF(BIGNUM) *exps,
crypto/openssl/crypto/rsa/rsa_gen.c
86
STACK_OF(BIGNUM) *coeffs)
crypto/openssl/crypto/rsa/rsa_gen.c
88
STACK_OF(BIGNUM) *pplist = NULL, *pdlist = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
89
BIGNUM *factor = NULL, *newpp = NULL, *newpd = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
90
BIGNUM *dval = NULL, *newexp = NULL, *newcoeff = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
91
BIGNUM *p = NULL, *q = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
92
BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
93
BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL;
crypto/openssl/crypto/rsa/rsa_gen.c
95
BIGNUM *tmp = NULL;
crypto/openssl/crypto/rsa/rsa_lib.c
1321
int EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp)
crypto/openssl/crypto/rsa/rsa_lib.c
1339
int EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp)
crypto/openssl/crypto/rsa/rsa_lib.c
399
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
crypto/openssl/crypto/rsa/rsa_lib.c
427
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q)
crypto/openssl/crypto/rsa/rsa_lib.c
451
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
crypto/openssl/crypto/rsa/rsa_lib.c
486
int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
crypto/openssl/crypto/rsa/rsa_lib.c
487
BIGNUM *coeffs[], int pnum)
crypto/openssl/crypto/rsa/rsa_lib.c
553
const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
crypto/openssl/crypto/rsa/rsa_lib.c
563
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q)
crypto/openssl/crypto/rsa/rsa_lib.c
582
int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[])
crypto/openssl/crypto/rsa/rsa_lib.c
604
const BIGNUM **dmp1, const BIGNUM **dmq1,
crypto/openssl/crypto/rsa/rsa_lib.c
605
const BIGNUM **iqmp)
crypto/openssl/crypto/rsa/rsa_lib.c
616
int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
crypto/openssl/crypto/rsa/rsa_lib.c
617
const BIGNUM *coeffs[])
crypto/openssl/crypto/rsa/rsa_lib.c
643
const BIGNUM *RSA_get0_n(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
648
const BIGNUM *RSA_get0_e(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
653
const BIGNUM *RSA_get0_d(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
658
const BIGNUM *RSA_get0_p(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
663
const BIGNUM *RSA_get0_q(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
668
const BIGNUM *RSA_get0_dmp1(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
673
const BIGNUM *RSA_get0_dmq1(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
678
const BIGNUM *RSA_get0_iqmp(const RSA *r)
crypto/openssl/crypto/rsa/rsa_lib.c
748
DEFINE_STACK_OF(BIGNUM)
crypto/openssl/crypto/rsa/rsa_lib.c
754
int ossl_rsa_set0_all_params(RSA *r, STACK_OF(BIGNUM) *primes,
crypto/openssl/crypto/rsa/rsa_lib.c
755
STACK_OF(BIGNUM) *exps,
crypto/openssl/crypto/rsa/rsa_lib.c
756
STACK_OF(BIGNUM) *coeffs)
crypto/openssl/crypto/rsa/rsa_lib.c
814
BIGNUM *prime = sk_BIGNUM_pop(primes);
crypto/openssl/crypto/rsa/rsa_lib.c
815
BIGNUM *exp = sk_BIGNUM_pop(exps);
crypto/openssl/crypto/rsa/rsa_lib.c
816
BIGNUM *coeff = sk_BIGNUM_pop(coeffs);
crypto/openssl/crypto/rsa/rsa_lib.c
870
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
crypto/openssl/crypto/rsa/rsa_local.h
114
int (*rsa_mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
crypto/openssl/crypto/rsa/rsa_local.h
116
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/rsa/rsa_local.h
117
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/crypto/rsa/rsa_local.h
145
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/openssl/crypto/rsa/rsa_local.h
147
BIGNUM *e, BN_GENCB *cb);
crypto/openssl/crypto/rsa/rsa_local.h
154
BIGNUM *e_value,
crypto/openssl/crypto/rsa/rsa_local.h
155
STACK_OF(BIGNUM) *factors, STACK_OF(BIGNUM) *exps,
crypto/openssl/crypto/rsa/rsa_local.h
156
STACK_OF(BIGNUM) *coeffs);
crypto/openssl/crypto/rsa/rsa_local.h
170
int ossl_rsa_check_pminusq_diff(BIGNUM *diff, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/rsa/rsa_local.h
172
int ossl_rsa_get_lcm(BN_CTX *ctx, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/rsa/rsa_local.h
173
BIGNUM *lcm, BIGNUM *gcd, BIGNUM *p1, BIGNUM *q1,
crypto/openssl/crypto/rsa/rsa_local.h
174
BIGNUM *p1q1);
crypto/openssl/crypto/rsa/rsa_local.h
176
int ossl_rsa_check_public_exponent(const BIGNUM *e);
crypto/openssl/crypto/rsa/rsa_local.h
178
int ossl_rsa_check_prime_factor(BIGNUM *p, BIGNUM *e, int nbits, BN_CTX *ctx);
crypto/openssl/crypto/rsa/rsa_local.h
179
int ossl_rsa_check_prime_factor_range(const BIGNUM *p, int nbits, BN_CTX *ctx);
crypto/openssl/crypto/rsa/rsa_local.h
185
int ossl_rsa_sp800_56b_check_keypair(const RSA *rsa, const BIGNUM *efixed,
crypto/openssl/crypto/rsa/rsa_local.h
187
int ossl_rsa_sp800_56b_generate_key(RSA *rsa, int nbits, const BIGNUM *efixed,
crypto/openssl/crypto/rsa/rsa_local.h
19
BIGNUM *r;
crypto/openssl/crypto/rsa/rsa_local.h
191
const BIGNUM *e, BN_CTX *ctx);
crypto/openssl/crypto/rsa/rsa_local.h
193
int nbits, const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/crypto/rsa/rsa_local.h
20
BIGNUM *d;
crypto/openssl/crypto/rsa/rsa_local.h
21
BIGNUM *t;
crypto/openssl/crypto/rsa/rsa_local.h
23
BIGNUM *pp;
crypto/openssl/crypto/rsa/rsa_local.h
33
BIGNUM *Xp1;
crypto/openssl/crypto/rsa/rsa_local.h
34
BIGNUM *Xp2;
crypto/openssl/crypto/rsa/rsa_local.h
35
BIGNUM *Xq1;
crypto/openssl/crypto/rsa/rsa_local.h
36
BIGNUM *Xq2;
crypto/openssl/crypto/rsa/rsa_local.h
37
BIGNUM *Xp;
crypto/openssl/crypto/rsa/rsa_local.h
38
BIGNUM *Xq;
crypto/openssl/crypto/rsa/rsa_local.h
41
BIGNUM *p1;
crypto/openssl/crypto/rsa/rsa_local.h
42
BIGNUM *p2;
crypto/openssl/crypto/rsa/rsa_local.h
43
BIGNUM *q1;
crypto/openssl/crypto/rsa/rsa_local.h
44
BIGNUM *q2;
crypto/openssl/crypto/rsa/rsa_local.h
62
BIGNUM *n;
crypto/openssl/crypto/rsa/rsa_local.h
63
BIGNUM *e;
crypto/openssl/crypto/rsa/rsa_local.h
64
BIGNUM *d;
crypto/openssl/crypto/rsa/rsa_local.h
65
BIGNUM *p;
crypto/openssl/crypto/rsa/rsa_local.h
66
BIGNUM *q;
crypto/openssl/crypto/rsa/rsa_local.h
67
BIGNUM *dmp1;
crypto/openssl/crypto/rsa/rsa_local.h
68
BIGNUM *dmq1;
crypto/openssl/crypto/rsa/rsa_local.h
69
BIGNUM *iqmp;
crypto/openssl/crypto/rsa/rsa_meth.c
163
int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_meth.c
169
int (*mod_exp)(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
crypto/openssl/crypto/rsa/rsa_meth.c
177
int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/crypto/rsa/rsa_meth.c
178
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
crypto/openssl/crypto/rsa/rsa_meth.c
184
int (*bn_mod_exp)(BIGNUM *r,
crypto/openssl/crypto/rsa/rsa_meth.c
185
const BIGNUM *a,
crypto/openssl/crypto/rsa/rsa_meth.c
186
const BIGNUM *p,
crypto/openssl/crypto/rsa/rsa_meth.c
187
const BIGNUM *m,
crypto/openssl/crypto/rsa/rsa_meth.c
254
int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_meth.c
260
int (*keygen)(RSA *rsa, int bits, BIGNUM *e,
crypto/openssl/crypto/rsa/rsa_meth.c
267
int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_meth.c
274
int primes, BIGNUM *e,
crypto/openssl/crypto/rsa/rsa_mp.c
62
BIGNUM *p1 = NULL, *p2 = NULL;
crypto/openssl/crypto/rsa/rsa_ossl.c
102
BIGNUM *f, *ret;
crypto/openssl/crypto/rsa/rsa_ossl.c
1029
BIGNUM *pr1 = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
1060
BIGNUM *pr2 = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
1139
BIGNUM *d = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
1193
static int rsa_ossl_s390x_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
crypto/openssl/crypto/rsa/rsa_ossl.c
165
BIGNUM *nminus1 = BN_CTX_get(ctx);
crypto/openssl/crypto/rsa/rsa_ossl.c
264
static int rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
crypto/openssl/crypto/rsa/rsa_ossl.c
288
static int rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
crypto/openssl/crypto/rsa/rsa_ossl.c
307
BIGNUM *f, *ret, *res;
crypto/openssl/crypto/rsa/rsa_ossl.c
317
BIGNUM *unblind = NULL;
crypto/openssl/crypto/rsa/rsa_ossl.c
32
static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
crypto/openssl/crypto/rsa/rsa_ossl.c
37
static int rsa_ossl_s390x_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
crypto/openssl/crypto/rsa/rsa_ossl.c
382
BIGNUM *d = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
442
BIGNUM *d = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
518
BIGNUM *f, *ret;
crypto/openssl/crypto/rsa/rsa_ossl.c
529
BIGNUM *unblind = NULL;
crypto/openssl/crypto/rsa/rsa_ossl.c
577
BIGNUM *nminus1 = BN_CTX_get(ctx);
crypto/openssl/crypto/rsa/rsa_ossl.c
626
BIGNUM *d = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
701
BIGNUM *f, *ret;
crypto/openssl/crypto/rsa/rsa_ossl.c
797
static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_ossl.c
799
BIGNUM *r1, *m1, *vrfy;
crypto/openssl/crypto/rsa/rsa_ossl.c
802
BIGNUM *r2, *m[RSA_MAX_PRIME_NUM - 2];
crypto/openssl/crypto/rsa/rsa_ossl.c
826
BIGNUM *factor = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
919
BIGNUM *c = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
930
BIGNUM *dmq1 = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
958
BIGNUM *dmp1 = BN_new();
crypto/openssl/crypto/rsa/rsa_ossl.c
975
BIGNUM *di = BN_new(), *cc = BN_new();
crypto/openssl/crypto/rsa/rsa_pmeth.c
36
BIGNUM *pub_exp;
crypto/openssl/crypto/rsa/rsa_pmeth.c
522
if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) || BN_is_one((BIGNUM *)p2)) {
crypto/openssl/crypto/rsa/rsa_pmeth.c
701
BIGNUM *pubexp = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
136
int ossl_rsa_check_prime_factor(BIGNUM *p, BIGNUM *e, int nbits, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
139
BIGNUM *p1 = NULL, *gcd = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
178
BIGNUM *r, *p1, *q1, *lcm, *p1q1, *gcd;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
226
int ossl_rsa_check_public_exponent(const BIGNUM *e)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
243
int ossl_rsa_check_pminusq_diff(BIGNUM *diff, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
266
int ossl_rsa_get_lcm(BN_CTX *ctx, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
267
BIGNUM *lcm, BIGNUM *gcd, BIGNUM *p1, BIGNUM *q1,
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
268
BIGNUM *p1q1)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
27
BIGNUM *r = NULL, *p1 = NULL, *q1 = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
287
BIGNUM *gcd = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
373
int ossl_rsa_sp800_56b_check_keypair(const RSA *rsa, const BIGNUM *efixed,
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
378
BIGNUM *r = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
88
int ossl_rsa_check_prime_factor_range(const BIGNUM *p, int nbits, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_check.c
91
BIGNUM *low;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
238
const BIGNUM *e, BN_CTX *ctx)
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
241
BIGNUM *p1, *q1, *lcm, *p1q1, *gcd;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
365
int ossl_rsa_sp800_56b_generate_key(RSA *rsa, int nbits, const BIGNUM *efixed,
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
371
BIGNUM *e = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
373
BIGNUM *tmp;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
397
e = (BIGNUM *)efixed;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
440
BIGNUM *k, *tmp;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
56
int nbits, const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
61
BIGNUM *Xpo = NULL, *Xqo = NULL, *tmp = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
63
BIGNUM *p1 = NULL, *p2 = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
64
BIGNUM *q1 = NULL, *q2 = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
66
BIGNUM *Xp = NULL, *Xp1 = NULL, *Xp2 = NULL;
crypto/openssl/crypto/rsa/rsa_sp800_56b_gen.c
67
BIGNUM *Xq = NULL, *Xq1 = NULL, *Xq2 = NULL;
crypto/openssl/crypto/rsa/rsa_x931g.c
150
int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e,
crypto/openssl/crypto/rsa/rsa_x931g.c
154
BIGNUM *Xp = NULL, *Xq = NULL;
crypto/openssl/crypto/rsa/rsa_x931g.c
25
int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
crypto/openssl/crypto/rsa/rsa_x931g.c
26
BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2,
crypto/openssl/crypto/rsa/rsa_x931g.c
27
const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2,
crypto/openssl/crypto/rsa/rsa_x931g.c
28
const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb)
crypto/openssl/crypto/rsa/rsa_x931g.c
30
BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
115
BIGNUM *k = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
116
BIGNUM *x1 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
117
BIGNUM *y1 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
118
BIGNUM *x2 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
119
BIGNUM *y2 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
123
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/crypto/sm2/sm2_crypt.c
286
BIGNUM *x2 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
287
BIGNUM *y2 = NULL;
crypto/openssl/crypto/sm2/sm2_crypt.c
32
BIGNUM *C1x;
crypto/openssl/crypto/sm2/sm2_crypt.c
33
BIGNUM *C1y;
crypto/openssl/crypto/sm2/sm2_crypt.c
39
ASN1_SIMPLE(SM2_Ciphertext, C1x, BIGNUM),
crypto/openssl/crypto/sm2/sm2_crypt.c
40
ASN1_SIMPLE(SM2_Ciphertext, C1y, BIGNUM),
crypto/openssl/crypto/sm2/sm2_crypt.c
49
const BIGNUM *p = EC_GROUP_get0_field(group);
crypto/openssl/crypto/sm2/sm2_key.c
25
BIGNUM *max = NULL;
crypto/openssl/crypto/sm2/sm2_key.c
27
const BIGNUM *priv_key = NULL, *order = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
149
static BIGNUM *sm2_compute_msg_hash(const EVP_MD *digest,
crypto/openssl/crypto/sm2/sm2_sign.c
158
BIGNUM *e = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
207
static ECDSA_SIG *sm2_sig_gen(const EC_KEY *key, const BIGNUM *e)
crypto/openssl/crypto/sm2/sm2_sign.c
209
const BIGNUM *dA = EC_KEY_get0_private_key(key);
crypto/openssl/crypto/sm2/sm2_sign.c
211
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/crypto/sm2/sm2_sign.c
215
BIGNUM *k = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
216
BIGNUM *rk = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
217
BIGNUM *r = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
218
BIGNUM *s = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
219
BIGNUM *x1 = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
220
BIGNUM *tmp = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
331
const BIGNUM *e)
crypto/openssl/crypto/sm2/sm2_sign.c
335
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/crypto/sm2/sm2_sign.c
338
BIGNUM *t = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
339
BIGNUM *x1 = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
34
BIGNUM *p = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
340
const BIGNUM *r = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
341
const BIGNUM *s = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
35
BIGNUM *a = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
36
BIGNUM *b = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
37
BIGNUM *xG = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
38
BIGNUM *yG = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
39
BIGNUM *xA = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
40
BIGNUM *yA = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
420
BIGNUM *e = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
443
BIGNUM *e = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
463
BIGNUM *e = NULL;
crypto/openssl/crypto/sm2/sm2_sign.c
505
BIGNUM *e = NULL;
crypto/openssl/crypto/srp/srp_lib.c
106
BIGNUM *SRP_Calc_B_ex(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_lib.c
107
const BIGNUM *v, OSSL_LIB_CTX *libctx, const char *propq)
crypto/openssl/crypto/srp/srp_lib.c
109
BIGNUM *kv = NULL, *gb = NULL;
crypto/openssl/crypto/srp/srp_lib.c
110
BIGNUM *B = NULL, *k = NULL;
crypto/openssl/crypto/srp/srp_lib.c
136
BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_lib.c
137
const BIGNUM *v)
crypto/openssl/crypto/srp/srp_lib.c
142
BIGNUM *SRP_Calc_x_ex(const BIGNUM *s, const char *user, const char *pass,
crypto/openssl/crypto/srp/srp_lib.c
148
BIGNUM *res = NULL;
crypto/openssl/crypto/srp/srp_lib.c
189
BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass)
crypto/openssl/crypto/srp/srp_lib.c
194
BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g)
crypto/openssl/crypto/srp/srp_lib.c
197
BIGNUM *A = NULL;
crypto/openssl/crypto/srp/srp_lib.c
210
BIGNUM *SRP_Calc_client_key_ex(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_lib.c
211
const BIGNUM *x, const BIGNUM *a, const BIGNUM *u,
crypto/openssl/crypto/srp/srp_lib.c
214
BIGNUM *tmp = NULL, *tmp2 = NULL, *tmp3 = NULL, *k = NULL, *K = NULL;
crypto/openssl/crypto/srp/srp_lib.c
215
BIGNUM *xtmp = NULL;
crypto/openssl/crypto/srp/srp_lib.c
255
BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_lib.c
256
const BIGNUM *x, const BIGNUM *a, const BIGNUM *u)
crypto/openssl/crypto/srp/srp_lib.c
26
static BIGNUM *srp_Calc_xy(const BIGNUM *x, const BIGNUM *y, const BIGNUM *N,
crypto/openssl/crypto/srp/srp_lib.c
261
int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N)
crypto/openssl/crypto/srp/srp_lib.c
263
BIGNUM *r;
crypto/openssl/crypto/srp/srp_lib.c
282
int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N)
crypto/openssl/crypto/srp/srp_lib.c
304
char *SRP_check_known_gN_param(const BIGNUM *g, const BIGNUM *N)
crypto/openssl/crypto/srp/srp_lib.c
32
BIGNUM *res = NULL;
crypto/openssl/crypto/srp/srp_lib.c
55
static BIGNUM *srp_Calc_k(const BIGNUM *N, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_lib.c
63
BIGNUM *SRP_Calc_u_ex(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N,
crypto/openssl/crypto/srp/srp_lib.c
70
BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N)
crypto/openssl/crypto/srp/srp_lib.c
76
BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u,
crypto/openssl/crypto/srp/srp_lib.c
77
const BIGNUM *b, const BIGNUM *N)
crypto/openssl/crypto/srp/srp_lib.c
79
BIGNUM *tmp = NULL, *S = NULL;
crypto/openssl/crypto/srp/srp_vfy.c
204
void SRP_user_pwd_set_gN(SRP_user_pwd *vinfo, const BIGNUM *g,
crypto/openssl/crypto/srp/srp_vfy.c
205
const BIGNUM *N)
crypto/openssl/crypto/srp/srp_vfy.c
250
int SRP_user_pwd_set0_sv(SRP_user_pwd *vinfo, BIGNUM *s, BIGNUM *v)
crypto/openssl/crypto/srp/srp_vfy.c
361
static BIGNUM *SRP_gN_place_bn(STACK_OF(SRP_gN_cache) *gN_cache, char *ch)
crypto/openssl/crypto/srp/srp_vfy.c
617
const BIGNUM *N_bn = NULL, *g_bn = NULL;
crypto/openssl/crypto/srp/srp_vfy.c
618
BIGNUM *N_bn_alloc = NULL, *g_bn_alloc = NULL, *s = NULL, *v = NULL;
crypto/openssl/crypto/srp/srp_vfy.c
716
int SRP_create_verifier_BN_ex(const char *user, const char *pass, BIGNUM **salt,
crypto/openssl/crypto/srp/srp_vfy.c
717
BIGNUM **verifier, const BIGNUM *N,
crypto/openssl/crypto/srp/srp_vfy.c
718
const BIGNUM *g, OSSL_LIB_CTX *libctx,
crypto/openssl/crypto/srp/srp_vfy.c
722
BIGNUM *x = NULL;
crypto/openssl/crypto/srp/srp_vfy.c
725
BIGNUM *salttmp = NULL, *verif;
crypto/openssl/crypto/srp/srp_vfy.c
766
int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
crypto/openssl/crypto/srp/srp_vfy.c
767
BIGNUM **verifier, const BIGNUM *N,
crypto/openssl/crypto/srp/srp_vfy.c
768
const BIGNUM *g)
crypto/openssl/crypto/store/store_lib.c
344
BIGNUM *number = NULL;
crypto/openssl/crypto/ts/ts_lib.c
21
BIGNUM *num_bn;
crypto/openssl/crypto/x509/v3_asid.c
264
BIGNUM *bn = NULL;
crypto/openssl/crypto/x509/v3_asid.c
355
BIGNUM *bn = NULL;
crypto/openssl/crypto/x509/v3_ncons.c
485
BIGNUM *bn = NULL;
crypto/openssl/crypto/x509/v3_utl.c
130
static char *bignum_to_string(const BIGNUM *bn)
crypto/openssl/crypto/x509/v3_utl.c
168
BIGNUM *bntmp = NULL;
crypto/openssl/crypto/x509/v3_utl.c
183
BIGNUM *bntmp = NULL;
crypto/openssl/crypto/x509/v3_utl.c
198
BIGNUM *bn = NULL;
crypto/openssl/crypto/x509/x_pubkey.c
757
const BIGNUM *p, *q, *g;
crypto/openssl/demos/pkey/EVP_PKEY_DSA_paramfromdata.c
29
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/demos/pkey/EVP_PKEY_EC_keygen.c
91
BIGNUM *out_priv = NULL;
crypto/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
128
BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL;
crypto/openssl/engines/e_capi.c
1060
BIGNUM *r = BN_new(), *s = BN_new();
crypto/openssl/engines/e_capi.c
615
static int lend_tobn(BIGNUM *bn, unsigned char *bin, int binlen)
crypto/openssl/engines/e_capi.c
670
BIGNUM *e = NULL, *n = NULL;
crypto/openssl/engines/e_capi.c
726
BIGNUM *p, *q, *g, *pub_key;
crypto/openssl/fuzz/asn1.c
83
ASN1_ITEM_ref(BIGNUM),
crypto/openssl/fuzz/bignum.c
35
BIGNUM *b1;
crypto/openssl/fuzz/bignum.c
36
BIGNUM *b2;
crypto/openssl/fuzz/bignum.c
37
BIGNUM *b3;
crypto/openssl/fuzz/bignum.c
38
BIGNUM *b4;
crypto/openssl/fuzz/bignum.c
39
BIGNUM *b5;
crypto/openssl/fuzz/bndiv.c
25
static BIGNUM *b1;
crypto/openssl/fuzz/bndiv.c
26
static BIGNUM *b2;
crypto/openssl/fuzz/bndiv.c
27
static BIGNUM *b3;
crypto/openssl/fuzz/bndiv.c
28
static BIGNUM *b4;
crypto/openssl/fuzz/bndiv.c
29
static BIGNUM *b5;
crypto/openssl/include/crypto/asn1_dsa.h
17
int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n);
crypto/openssl/include/crypto/asn1_dsa.h
18
int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s);
crypto/openssl/include/crypto/asn1_dsa.h
20
int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n);
crypto/openssl/include/crypto/asn1_dsa.h
21
size_t ossl_decode_der_dsa_sig(BIGNUM *r, BIGNUM *s, const unsigned char **ppin,
crypto/openssl/include/crypto/bn.h
107
int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx,
crypto/openssl/include/crypto/bn.h
109
int ossl_bn_check_generated_prime(const BIGNUM *w, int checks, BN_CTX *ctx,
crypto/openssl/include/crypto/bn.h
112
const BIGNUM *ossl_bn_get0_small_factors(void);
crypto/openssl/include/crypto/bn.h
114
int ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout,
crypto/openssl/include/crypto/bn.h
115
BIGNUM *p1, BIGNUM *p2,
crypto/openssl/include/crypto/bn.h
116
const BIGNUM *Xp, const BIGNUM *Xp1,
crypto/openssl/include/crypto/bn.h
117
const BIGNUM *Xp2, int nlen,
crypto/openssl/include/crypto/bn.h
118
const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/include/crypto/bn.h
121
int ossl_bn_rsa_fips186_4_derive_prime(BIGNUM *Y, BIGNUM *X, const BIGNUM *Xin,
crypto/openssl/include/crypto/bn.h
122
const BIGNUM *r1, const BIGNUM *r2,
crypto/openssl/include/crypto/bn.h
123
int nlen, const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/include/crypto/bn.h
128
extern const BIGNUM ossl_bn_inv_sqrt_2;
crypto/openssl/include/crypto/bn.h
135
int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/crypto/bn.h
136
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/include/crypto/bn.h
137
int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q,
crypto/openssl/include/crypto/bn.h
138
const BIGNUM *dmp, const BIGNUM *dmq, const BIGNUM *iqmp);
crypto/openssl/include/crypto/bn.h
142
int ossl_bn_mont_ctx_set(BN_MONT_CTX *ctx, const BIGNUM *modulus, int ri,
crypto/openssl/include/crypto/bn.h
17
BIGNUM *bn_wexpand(BIGNUM *a, int words);
crypto/openssl/include/crypto/bn.h
18
BIGNUM *bn_expand2(BIGNUM *a, int words);
crypto/openssl/include/crypto/bn.h
20
void bn_correct_top(BIGNUM *a);
crypto/openssl/include/crypto/bn.h
30
signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len);
crypto/openssl/include/crypto/bn.h
32
int bn_get_top(const BIGNUM *a);
crypto/openssl/include/crypto/bn.h
34
int bn_get_dmax(const BIGNUM *a);
crypto/openssl/include/crypto/bn.h
37
void bn_set_all_zero(BIGNUM *a);
crypto/openssl/include/crypto/bn.h
43
int bn_copy_words(BN_ULONG *out, const BIGNUM *in, int size);
crypto/openssl/include/crypto/bn.h
45
BN_ULONG *bn_get_words(const BIGNUM *a);
crypto/openssl/include/crypto/bn.h
51
void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size);
crypto/openssl/include/crypto/bn.h
62
int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words);
crypto/openssl/include/crypto/bn.h
74
int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/crypto/bn.h
76
int bn_mod_exp_mont_fixed_top(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/crypto/bn.h
77
const BIGNUM *m, BN_CTX *ctx,
crypto/openssl/include/crypto/bn.h
79
int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/include/crypto/bn.h
81
int bn_from_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/include/crypto/bn.h
83
int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/crypto/bn.h
84
const BIGNUM *m);
crypto/openssl/include/crypto/bn.h
85
int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/crypto/bn.h
86
const BIGNUM *m);
crypto/openssl/include/crypto/bn.h
87
int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/crypto/bn.h
88
int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
crypto/openssl/include/crypto/bn.h
89
int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/crypto/bn.h
90
int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/crypto/bn.h
91
int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
crypto/openssl/include/crypto/bn.h
92
const BIGNUM *d, BN_CTX *ctx);
crypto/openssl/include/crypto/bn.h
93
int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n);
crypto/openssl/include/crypto/bn.h
94
int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/crypto/bn.h
95
int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range,
crypto/openssl/include/crypto/bn.h
97
int ossl_bn_gen_dsa_nonce_fixed_top(BIGNUM *out, const BIGNUM *range,
crypto/openssl/include/crypto/bn.h
98
const BIGNUM *priv,
crypto/openssl/include/crypto/bn_dh.h
11
extern const BIGNUM ossl_bignum_dh##x##_p; \
crypto/openssl/include/crypto/bn_dh.h
12
extern const BIGNUM ossl_bignum_dh##x##_q; \
crypto/openssl/include/crypto/bn_dh.h
13
extern const BIGNUM ossl_bignum_dh##x##_g;
crypto/openssl/include/crypto/bn_dh.h
19
extern const BIGNUM ossl_bignum_const_2;
crypto/openssl/include/crypto/bn_dh.h
21
extern const BIGNUM ossl_bignum_ffdhe2048_p;
crypto/openssl/include/crypto/bn_dh.h
22
extern const BIGNUM ossl_bignum_ffdhe3072_p;
crypto/openssl/include/crypto/bn_dh.h
23
extern const BIGNUM ossl_bignum_ffdhe4096_p;
crypto/openssl/include/crypto/bn_dh.h
24
extern const BIGNUM ossl_bignum_ffdhe6144_p;
crypto/openssl/include/crypto/bn_dh.h
25
extern const BIGNUM ossl_bignum_ffdhe8192_p;
crypto/openssl/include/crypto/bn_dh.h
26
extern const BIGNUM ossl_bignum_ffdhe2048_q;
crypto/openssl/include/crypto/bn_dh.h
27
extern const BIGNUM ossl_bignum_ffdhe3072_q;
crypto/openssl/include/crypto/bn_dh.h
28
extern const BIGNUM ossl_bignum_ffdhe4096_q;
crypto/openssl/include/crypto/bn_dh.h
29
extern const BIGNUM ossl_bignum_ffdhe6144_q;
crypto/openssl/include/crypto/bn_dh.h
30
extern const BIGNUM ossl_bignum_ffdhe8192_q;
crypto/openssl/include/crypto/bn_dh.h
32
extern const BIGNUM ossl_bignum_modp_1536_p;
crypto/openssl/include/crypto/bn_dh.h
33
extern const BIGNUM ossl_bignum_modp_2048_p;
crypto/openssl/include/crypto/bn_dh.h
34
extern const BIGNUM ossl_bignum_modp_3072_p;
crypto/openssl/include/crypto/bn_dh.h
35
extern const BIGNUM ossl_bignum_modp_4096_p;
crypto/openssl/include/crypto/bn_dh.h
36
extern const BIGNUM ossl_bignum_modp_6144_p;
crypto/openssl/include/crypto/bn_dh.h
37
extern const BIGNUM ossl_bignum_modp_8192_p;
crypto/openssl/include/crypto/bn_dh.h
38
extern const BIGNUM ossl_bignum_modp_1536_q;
crypto/openssl/include/crypto/bn_dh.h
39
extern const BIGNUM ossl_bignum_modp_2048_q;
crypto/openssl/include/crypto/bn_dh.h
40
extern const BIGNUM ossl_bignum_modp_3072_q;
crypto/openssl/include/crypto/bn_dh.h
41
extern const BIGNUM ossl_bignum_modp_4096_q;
crypto/openssl/include/crypto/bn_dh.h
42
extern const BIGNUM ossl_bignum_modp_6144_q;
crypto/openssl/include/crypto/bn_dh.h
43
extern const BIGNUM ossl_bignum_modp_8192_q;
crypto/openssl/include/crypto/bn_srp.h
12
extern const BIGNUM ossl_bn_group_1024;
crypto/openssl/include/crypto/bn_srp.h
14
extern const BIGNUM ossl_bn_group_1536;
crypto/openssl/include/crypto/bn_srp.h
16
extern const BIGNUM ossl_bn_group_2048;
crypto/openssl/include/crypto/bn_srp.h
18
extern const BIGNUM ossl_bn_group_3072;
crypto/openssl/include/crypto/bn_srp.h
20
extern const BIGNUM ossl_bn_group_4096;
crypto/openssl/include/crypto/bn_srp.h
22
extern const BIGNUM ossl_bn_group_6144;
crypto/openssl/include/crypto/bn_srp.h
24
extern const BIGNUM ossl_bn_group_8192;
crypto/openssl/include/crypto/bn_srp.h
26
extern const BIGNUM ossl_bn_generator_19;
crypto/openssl/include/crypto/bn_srp.h
28
extern const BIGNUM ossl_bn_generator_5;
crypto/openssl/include/crypto/bn_srp.h
30
extern const BIGNUM ossl_bn_generator_2;
crypto/openssl/include/crypto/dh.h
25
const BIGNUM *priv_key, BIGNUM *pub_key);
crypto/openssl/include/crypto/dh.h
41
int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
crypto/openssl/include/crypto/dh.h
43
int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret);
crypto/openssl/include/crypto/dh.h
44
int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret);
crypto/openssl/include/crypto/dsa.h
46
const BIGNUM *priv_key, BIGNUM *pub_key);
crypto/openssl/include/crypto/dsa.h
48
int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret);
crypto/openssl/include/crypto/dsa.h
49
int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key,
crypto/openssl/include/crypto/dsa.h
51
int ossl_dsa_check_priv_key(const DSA *dsa, const BIGNUM *priv_key, int *ret);
crypto/openssl/include/crypto/ec.h
50
__owur int ossl_ec_group_do_inverse_ord(const EC_GROUP *group, BIGNUM *res,
crypto/openssl/include/crypto/ec.h
51
const BIGNUM *x, BN_CTX *ctx);
crypto/openssl/include/crypto/evp.h
140
BIGNUM *rsa_pubexp;
crypto/openssl/include/crypto/rsa.h
65
int ossl_rsa_set0_all_params(RSA *r, STACK_OF(BIGNUM) *primes,
crypto/openssl/include/crypto/rsa.h
66
STACK_OF(BIGNUM) *exps,
crypto/openssl/include/crypto/rsa.h
67
STACK_OF(BIGNUM) *coeffs);
crypto/openssl/include/internal/der.h
82
int ossl_DER_w_bn(WPACKET *pkt, int tag, const BIGNUM *v);
crypto/openssl/include/internal/deterministic_nonce.h
16
int ossl_gen_deterministic_nonce_rfc6979(BIGNUM *out, const BIGNUM *q,
crypto/openssl/include/internal/deterministic_nonce.h
17
const BIGNUM *priv,
crypto/openssl/include/internal/encoder.h
20
const BIGNUM *bn);
crypto/openssl/include/internal/ffc.h
127
void ossl_ffc_params_set0_pqg(FFC_PARAMS *params, BIGNUM *p, BIGNUM *q,
crypto/openssl/include/internal/ffc.h
128
BIGNUM *g);
crypto/openssl/include/internal/ffc.h
129
void ossl_ffc_params_get0_pqg(const FFC_PARAMS *params, const BIGNUM **p,
crypto/openssl/include/internal/ffc.h
130
const BIGNUM **q, const BIGNUM **g);
crypto/openssl/include/internal/ffc.h
131
void ossl_ffc_params_set0_j(FFC_PARAMS *d, BIGNUM *j);
crypto/openssl/include/internal/ffc.h
186
int N, int s, BIGNUM *priv);
crypto/openssl/include/internal/ffc.h
189
const BIGNUM *p, const BIGNUM *q,
crypto/openssl/include/internal/ffc.h
190
const BIGNUM *g, BIGNUM *tmp,
crypto/openssl/include/internal/ffc.h
194
const BIGNUM *pub_key, int *ret);
crypto/openssl/include/internal/ffc.h
196
const BIGNUM *pub_key, int *ret);
crypto/openssl/include/internal/ffc.h
197
int ossl_ffc_validate_private_key(const BIGNUM *upper, const BIGNUM *priv_key,
crypto/openssl/include/internal/ffc.h
208
const DH_NAMED_GROUP *ossl_ffc_numbers_to_dh_named_group(const BIGNUM *p,
crypto/openssl/include/internal/ffc.h
209
const BIGNUM *q,
crypto/openssl/include/internal/ffc.h
210
const BIGNUM *g);
crypto/openssl/include/internal/ffc.h
216
const BIGNUM *ossl_ffc_named_group_get_q(const DH_NAMED_GROUP *group);
crypto/openssl/include/internal/ffc.h
92
BIGNUM *p;
crypto/openssl/include/internal/ffc.h
93
BIGNUM *q;
crypto/openssl/include/internal/ffc.h
95
BIGNUM *g;
crypto/openssl/include/internal/ffc.h
97
BIGNUM *j;
crypto/openssl/include/internal/param_build_set.h
39
const char *key, const BIGNUM *bn);
crypto/openssl/include/internal/param_build_set.h
41
const char *key, const BIGNUM *bn, size_t sz);
crypto/openssl/include/internal/param_build_set.h
43
const char *key, const BIGNUM *bn);
crypto/openssl/include/internal/param_build_set.h
45
const char *key, const BIGNUM *bn,
crypto/openssl/include/openssl/asn1.h
871
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
crypto/openssl/include/openssl/asn1.h
872
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
crypto/openssl/include/openssl/asn1.h
879
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
crypto/openssl/include/openssl/asn1.h
880
BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
crypto/openssl/include/openssl/asn1.h
975
int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
crypto/openssl/include/openssl/asn1t.h
865
DECLARE_ASN1_ITEM(BIGNUM)
crypto/openssl/include/openssl/bn.h
190
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/openssl/bn.h
191
int BN_is_zero(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
192
int BN_is_one(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
193
int BN_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/openssl/include/openssl/bn.h
194
int BN_is_odd(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
198
void BN_zero_ex(BIGNUM *a);
crypto/openssl/include/openssl/bn.h
206
const BIGNUM *BN_value_one(void);
crypto/openssl/include/openssl/bn.h
214
BIGNUM *BN_CTX_get(BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
216
int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
crypto/openssl/include/openssl/bn.h
218
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/openssl/include/openssl/bn.h
219
int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
crypto/openssl/include/openssl/bn.h
221
int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/openssl/include/openssl/bn.h
222
int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
crypto/openssl/include/openssl/bn.h
224
int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
crypto/openssl/include/openssl/bn.h
225
int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range,
crypto/openssl/include/openssl/bn.h
227
int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
crypto/openssl/include/openssl/bn.h
230
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/openssl/include/openssl/bn.h
232
int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
crypto/openssl/include/openssl/bn.h
234
int BN_num_bits(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
237
BIGNUM *BN_new(void);
crypto/openssl/include/openssl/bn.h
238
BIGNUM *BN_secure_new(void);
crypto/openssl/include/openssl/bn.h
239
void BN_clear_free(BIGNUM *a);
crypto/openssl/include/openssl/bn.h
240
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
241
void BN_swap(BIGNUM *a, BIGNUM *b);
crypto/openssl/include/openssl/bn.h
242
BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
243
BIGNUM *BN_signed_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
244
int BN_bn2bin(const BIGNUM *a, unsigned char *to);
crypto/openssl/include/openssl/bn.h
245
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
246
int BN_signed_bn2bin(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
247
BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
248
BIGNUM *BN_signed_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
249
int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
250
int BN_signed_bn2lebin(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
251
BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
252
BIGNUM *BN_signed_native2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
253
int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
254
int BN_signed_bn2native(const BIGNUM *a, unsigned char *to, int tolen);
crypto/openssl/include/openssl/bn.h
255
BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/include/openssl/bn.h
256
int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
crypto/openssl/include/openssl/bn.h
257
int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
258
int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
259
int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
260
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
261
int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
262
int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
267
void BN_set_negative(BIGNUM *b, int n);
crypto/openssl/include/openssl/bn.h
272
int BN_is_negative(const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
274
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
crypto/openssl/include/openssl/bn.h
277
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
278
int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
280
int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
281
const BIGNUM *m);
crypto/openssl/include/openssl/bn.h
282
int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
284
int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
285
const BIGNUM *m);
crypto/openssl/include/openssl/bn.h
286
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
288
int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
289
int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
290
int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
crypto/openssl/include/openssl/bn.h
291
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
293
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
crypto/openssl/include/openssl/bn.h
295
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
296
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
297
int BN_mul_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
298
int BN_add_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
299
int BN_sub_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
300
int BN_set_word(BIGNUM *a, BN_ULONG w);
crypto/openssl/include/openssl/bn.h
301
BN_ULONG BN_get_word(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
303
int BN_cmp(const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
304
void BN_free(BIGNUM *a);
crypto/openssl/include/openssl/bn.h
305
int BN_is_bit_set(const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
306
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
307
int BN_lshift1(BIGNUM *r, const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
308
int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
310
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
311
const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
312
int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
313
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/include/openssl/bn.h
314
int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
315
const BIGNUM *m, BN_CTX *ctx,
crypto/openssl/include/openssl/bn.h
317
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
318
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/openssl/include/openssl/bn.h
319
int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
crypto/openssl/include/openssl/bn.h
320
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
322
int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
323
const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
324
int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1,
crypto/openssl/include/openssl/bn.h
325
const BIGNUM *m1, BN_MONT_CTX *in_mont1,
crypto/openssl/include/openssl/bn.h
326
BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2,
crypto/openssl/include/openssl/bn.h
327
const BIGNUM *m2, BN_MONT_CTX *in_mont2,
crypto/openssl/include/openssl/bn.h
330
int BN_mask_bits(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
332
int BN_print_fp(FILE *fp, const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
334
int BN_print(BIO *bio, const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
335
int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
336
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
337
int BN_rshift1(BIGNUM *r, const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
338
void BN_clear(BIGNUM *a);
crypto/openssl/include/openssl/bn.h
339
BIGNUM *BN_dup(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
340
int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
341
int BN_set_bit(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
342
int BN_clear_bit(BIGNUM *a, int n);
crypto/openssl/include/openssl/bn.h
343
char *BN_bn2hex(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
344
char *BN_bn2dec(const BIGNUM *a);
crypto/openssl/include/openssl/bn.h
345
int BN_hex2bn(BIGNUM **a, const char *str);
crypto/openssl/include/openssl/bn.h
346
int BN_dec2bn(BIGNUM **a, const char *str);
crypto/openssl/include/openssl/bn.h
347
int BN_asc2bn(BIGNUM **a, const char *str);
crypto/openssl/include/openssl/bn.h
348
int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
349
int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); /* returns
crypto/openssl/include/openssl/bn.h
352
int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
353
BIGNUM *BN_mod_inverse(BIGNUM *ret,
crypto/openssl/include/openssl/bn.h
354
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
355
BIGNUM *BN_mod_sqrt(BIGNUM *ret,
crypto/openssl/include/openssl/bn.h
356
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
358
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
crypto/openssl/include/openssl/bn.h
363
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
crypto/openssl/include/openssl/bn.h
364
const BIGNUM *add, const BIGNUM *rem,
crypto/openssl/include/openssl/bn.h
368
int BN_is_prime(const BIGNUM *p, int nchecks,
crypto/openssl/include/openssl/bn.h
372
int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
crypto/openssl/include/openssl/bn.h
379
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
crypto/openssl/include/openssl/bn.h
381
int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
crypto/openssl/include/openssl/bn.h
385
int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe,
crypto/openssl/include/openssl/bn.h
386
const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
crypto/openssl/include/openssl/bn.h
388
int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
crypto/openssl/include/openssl/bn.h
389
const BIGNUM *rem, BN_GENCB *cb);
crypto/openssl/include/openssl/bn.h
390
int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
crypto/openssl/include/openssl/bn.h
394
int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
397
int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
crypto/openssl/include/openssl/bn.h
398
const BIGNUM *Xp, const BIGNUM *Xp1,
crypto/openssl/include/openssl/bn.h
399
const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
crypto/openssl/include/openssl/bn.h
402
int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
crypto/openssl/include/openssl/bn.h
403
BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
crypto/openssl/include/openssl/bn.h
408
int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
410
int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/include/openssl/bn.h
412
int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/openssl/include/openssl/bn.h
415
int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
418
const BIGNUM *mod, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
424
BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
crypto/openssl/include/openssl/bn.h
427
int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
428
int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
429
int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
crypto/openssl/include/openssl/bn.h
430
int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
crypto/openssl/include/openssl/bn.h
441
const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
crypto/openssl/include/openssl/bn.h
442
int (*bn_mod_exp)(BIGNUM *r,
crypto/openssl/include/openssl/bn.h
443
const BIGNUM *a,
crypto/openssl/include/openssl/bn.h
444
const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
445
const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
458
int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
459
int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
crypto/openssl/include/openssl/bn.h
461
int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
462
const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
463
int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
crypto/openssl/include/openssl/bn.h
478
int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/openssl/include/openssl/bn.h
483
int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
crypto/openssl/include/openssl/bn.h
485
int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
486
const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
488
int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
490
int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
492
int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
493
const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
495
int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
496
const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
498
int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
501
int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/openssl/include/openssl/bn.h
511
int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
crypto/openssl/include/openssl/bn.h
513
int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
516
int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
crypto/openssl/include/openssl/bn.h
519
int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
crypto/openssl/include/openssl/bn.h
522
int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
525
int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/openssl/include/openssl/bn.h
528
int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
crypto/openssl/include/openssl/bn.h
531
int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
crypto/openssl/include/openssl/bn.h
533
int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
crypto/openssl/include/openssl/bn.h
534
int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
crypto/openssl/include/openssl/bn.h
541
int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
542
int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
543
int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
544
int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
545
int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
547
const BIGNUM *BN_get0_nist_prime_192(void);
crypto/openssl/include/openssl/bn.h
548
const BIGNUM *BN_get0_nist_prime_224(void);
crypto/openssl/include/openssl/bn.h
549
const BIGNUM *BN_get0_nist_prime_256(void);
crypto/openssl/include/openssl/bn.h
550
const BIGNUM *BN_get0_nist_prime_384(void);
crypto/openssl/include/openssl/bn.h
551
const BIGNUM *BN_get0_nist_prime_521(void);
crypto/openssl/include/openssl/bn.h
553
int (*BN_nist_mod_func(const BIGNUM *p))(BIGNUM *r, const BIGNUM *a,
crypto/openssl/include/openssl/bn.h
554
const BIGNUM *field, BN_CTX *ctx);
crypto/openssl/include/openssl/bn.h
556
int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
crypto/openssl/include/openssl/bn.h
557
const BIGNUM *priv, const unsigned char *message,
crypto/openssl/include/openssl/bn.h
561
BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
562
BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
565
BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
566
BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
567
BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
568
BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
569
BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
570
BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
crypto/openssl/include/openssl/bn.h
583
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/openssl/include/openssl/bn.h
76
void BN_set_flags(BIGNUM *b, int n);
crypto/openssl/include/openssl/bn.h
77
int BN_get_flags(const BIGNUM *b, int n);
crypto/openssl/include/openssl/bn.h
94
void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags);
crypto/openssl/include/openssl/dh.h
229
OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
crypto/openssl/include/openssl/dh.h
232
OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
crypto/openssl/include/openssl/dh.h
236
const BIGNUM *pub_key, DH *dh);
crypto/openssl/include/openssl/dh.h
238
const BIGNUM *pub_key, DH *dh);
crypto/openssl/include/openssl/dh.h
264
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
crypto/openssl/include/openssl/dh.h
265
const BIGNUM **q, const BIGNUM **g);
crypto/openssl/include/openssl/dh.h
266
OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
crypto/openssl/include/openssl/dh.h
267
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
crypto/openssl/include/openssl/dh.h
268
const BIGNUM **priv_key);
crypto/openssl/include/openssl/dh.h
269
OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
crypto/openssl/include/openssl/dh.h
270
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_p(const DH *dh);
crypto/openssl/include/openssl/dh.h
271
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_q(const DH *dh);
crypto/openssl/include/openssl/dh.h
272
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_g(const DH *dh);
crypto/openssl/include/openssl/dh.h
273
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_priv_key(const DH *dh);
crypto/openssl/include/openssl/dh.h
274
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DH_get0_pub_key(const DH *dh);
crypto/openssl/include/openssl/dh.h
295
const BIGNUM *pub_key,
crypto/openssl/include/openssl/dh.h
299
const BIGNUM *pub_key,
crypto/openssl/include/openssl/dh.h
301
OSSL_DEPRECATEDIN_3_0 int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))(const DH *, BIGNUM *,
crypto/openssl/include/openssl/dh.h
302
const BIGNUM *,
crypto/openssl/include/openssl/dh.h
303
const BIGNUM *,
crypto/openssl/include/openssl/dh.h
304
const BIGNUM *, BN_CTX *,
crypto/openssl/include/openssl/dh.h
307
int (*bn_mod_exp)(const DH *, BIGNUM *,
crypto/openssl/include/openssl/dh.h
308
const BIGNUM *, const BIGNUM *,
crypto/openssl/include/openssl/dh.h
309
const BIGNUM *, BN_CTX *,
crypto/openssl/include/openssl/dsa.h
139
BIGNUM **kinvp, BIGNUM **rp);
crypto/openssl/include/openssl/dsa.h
205
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
crypto/openssl/include/openssl/dsa.h
206
const BIGNUM **q, const BIGNUM **g);
crypto/openssl/include/openssl/dsa.h
207
OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
crypto/openssl/include/openssl/dsa.h
208
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
crypto/openssl/include/openssl/dsa.h
209
const BIGNUM **priv_key);
crypto/openssl/include/openssl/dsa.h
210
OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
crypto/openssl/include/openssl/dsa.h
211
BIGNUM *priv_key);
crypto/openssl/include/openssl/dsa.h
212
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d);
crypto/openssl/include/openssl/dsa.h
213
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d);
crypto/openssl/include/openssl/dsa.h
214
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d);
crypto/openssl/include/openssl/dsa.h
215
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d);
crypto/openssl/include/openssl/dsa.h
216
OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_priv_key(const DSA *d);
crypto/openssl/include/openssl/dsa.h
236
OSSL_DEPRECATEDIN_3_0 int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))(DSA *, BN_CTX *, BIGNUM **, BIGNUM **);
crypto/openssl/include/openssl/dsa.h
238
int (*sign_setup)(DSA *, BN_CTX *, BIGNUM **, BIGNUM **));
crypto/openssl/include/openssl/dsa.h
242
OSSL_DEPRECATEDIN_3_0 int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/include/openssl/dsa.h
243
const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *);
crypto/openssl/include/openssl/dsa.h
245
int (*mod_exp)(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/include/openssl/dsa.h
246
const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
crypto/openssl/include/openssl/dsa.h
248
OSSL_DEPRECATEDIN_3_0 int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/include/openssl/dsa.h
251
int (*bn_mod_exp)(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssl/include/openssl/dsa.h
252
const BIGNUM *, BN_CTX *, BN_MONT_CTX *));
crypto/openssl/include/openssl/dsa.h
70
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
crypto/openssl/include/openssl/dsa.h
71
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
crypto/openssl/include/openssl/ec.h
1059
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
crypto/openssl/include/openssl/ec.h
1067
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
crypto/openssl/include/openssl/ec.h
1134
BIGNUM *x,
crypto/openssl/include/openssl/ec.h
1135
BIGNUM *y);
crypto/openssl/include/openssl/ec.h
1349
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
crypto/openssl/include/openssl/ec.h
1354
const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
crypto/openssl/include/openssl/ec.h
1359
const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
crypto/openssl/include/openssl/ec.h
1366
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
crypto/openssl/include/openssl/ec.h
1390
int dgstlen, const BIGNUM *kinv,
crypto/openssl/include/openssl/ec.h
1391
const BIGNUM *rp, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1413
BIGNUM **kinv, BIGNUM **rp);
crypto/openssl/include/openssl/ec.h
1444
unsigned int *siglen, const BIGNUM *kinv,
crypto/openssl/include/openssl/ec.h
1445
const BIGNUM *rp, EC_KEY *eckey);
crypto/openssl/include/openssl/ec.h
1479
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/openssl/include/openssl/ec.h
1493
const BIGNUM *kinv, const BIGNUM *r,
crypto/openssl/include/openssl/ec.h
1496
BIGNUM **kinvp, BIGNUM **rp),
crypto/openssl/include/openssl/ec.h
1499
const BIGNUM *in_kinv,
crypto/openssl/include/openssl/ec.h
1500
const BIGNUM *in_r,
crypto/openssl/include/openssl/ec.h
1516
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/openssl/include/openssl/ec.h
1531
const BIGNUM *kinv, const BIGNUM *r,
crypto/openssl/include/openssl/ec.h
1534
BIGNUM **kinvp, BIGNUM **rp),
crypto/openssl/include/openssl/ec.h
1537
const BIGNUM *in_kinv,
crypto/openssl/include/openssl/ec.h
1538
const BIGNUM *in_r,
crypto/openssl/include/openssl/ec.h
222
const BIGNUM *order, const BIGNUM *cofactor);
crypto/openssl/include/openssl/ec.h
242
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
248
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
crypto/openssl/include/openssl/ec.h
262
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
crypto/openssl/include/openssl/ec.h
269
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
crypto/openssl/include/openssl/ec.h
287
const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group);
crypto/openssl/include/openssl/ec.h
316
int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/openssl/include/openssl/ec.h
317
const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
329
int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/openssl/include/openssl/ec.h
343
const BIGNUM *p,
crypto/openssl/include/openssl/ec.h
344
const BIGNUM *a,
crypto/openssl/include/openssl/ec.h
345
const BIGNUM *b,
crypto/openssl/include/openssl/ec.h
358
BIGNUM *p,
crypto/openssl/include/openssl/ec.h
359
BIGNUM *a, BIGNUM *b,
crypto/openssl/include/openssl/ec.h
373
const BIGNUM *p,
crypto/openssl/include/openssl/ec.h
374
const BIGNUM *a,
crypto/openssl/include/openssl/ec.h
375
const BIGNUM *b,
crypto/openssl/include/openssl/ec.h
388
BIGNUM *p,
crypto/openssl/include/openssl/ec.h
389
BIGNUM *a, BIGNUM *b,
crypto/openssl/include/openssl/ec.h
435
EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
crypto/openssl/include/openssl/ec.h
436
const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
446
EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
crypto/openssl/include/openssl/ec.h
447
const BIGNUM *b, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
614
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z,
crypto/openssl/include/openssl/ec.h
627
BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
639
const BIGNUM *x, const BIGNUM *y,
crypto/openssl/include/openssl/ec.h
651
BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
664
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
676
BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
688
const BIGNUM *x, int y_bit,
crypto/openssl/include/openssl/ec.h
702
const BIGNUM *x, int y_bit, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
714
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
726
BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
738
const BIGNUM *x, int y_bit, BN_CTX *ctx);
crypto/openssl/include/openssl/ec.h
781
OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *,
crypto/openssl/include/openssl/ec.h
784
BIGNUM *, BN_CTX *);
crypto/openssl/include/openssl/ec.h
786
const BIGNUM *,
crypto/openssl/include/openssl/ec.h
871
const BIGNUM *n, size_t num,
crypto/openssl/include/openssl/ec.h
872
const EC_POINT *p[], const BIGNUM *m[],
crypto/openssl/include/openssl/ec.h
885
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
crypto/openssl/include/openssl/ec.h
886
const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
crypto/openssl/include/openssl/evp.h
2061
BIGNUM **bn);
crypto/openssl/include/openssl/evp.h
2073
const BIGNUM *bn);
crypto/openssl/include/openssl/param_build.h
48
const BIGNUM *bn);
crypto/openssl/include/openssl/param_build.h
50
const BIGNUM *bn, size_t sz);
crypto/openssl/include/openssl/params.h
131
int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val);
crypto/openssl/include/openssl/params.h
132
int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val);
crypto/openssl/include/openssl/rsa.h
129
int EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
crypto/openssl/include/openssl/rsa.h
134
int EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
crypto/openssl/include/openssl/rsa.h
218
OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
crypto/openssl/include/openssl/rsa.h
219
OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
crypto/openssl/include/openssl/rsa.h
221
BIGNUM *dmp1, BIGNUM *dmq1,
crypto/openssl/include/openssl/rsa.h
222
BIGNUM *iqmp);
crypto/openssl/include/openssl/rsa.h
224
BIGNUM *primes[],
crypto/openssl/include/openssl/rsa.h
225
BIGNUM *exps[],
crypto/openssl/include/openssl/rsa.h
226
BIGNUM *coeffs[],
crypto/openssl/include/openssl/rsa.h
229
const BIGNUM **n, const BIGNUM **e,
crypto/openssl/include/openssl/rsa.h
230
const BIGNUM **d);
crypto/openssl/include/openssl/rsa.h
232
const BIGNUM **p, const BIGNUM **q);
crypto/openssl/include/openssl/rsa.h
235
const BIGNUM *primes[]);
crypto/openssl/include/openssl/rsa.h
237
const BIGNUM **dmp1,
crypto/openssl/include/openssl/rsa.h
238
const BIGNUM **dmq1,
crypto/openssl/include/openssl/rsa.h
239
const BIGNUM **iqmp);
crypto/openssl/include/openssl/rsa.h
241
int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
crypto/openssl/include/openssl/rsa.h
242
const BIGNUM *coeffs[]);
crypto/openssl/include/openssl/rsa.h
243
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d);
crypto/openssl/include/openssl/rsa.h
244
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d);
crypto/openssl/include/openssl/rsa.h
245
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d);
crypto/openssl/include/openssl/rsa.h
246
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_p(const RSA *d);
crypto/openssl/include/openssl/rsa.h
247
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_q(const RSA *d);
crypto/openssl/include/openssl/rsa.h
248
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_dmp1(const RSA *r);
crypto/openssl/include/openssl/rsa.h
249
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_dmq1(const RSA *r);
crypto/openssl/include/openssl/rsa.h
250
OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_iqmp(const RSA *r);
crypto/openssl/include/openssl/rsa.h
270
OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
crypto/openssl/include/openssl/rsa.h
274
int primes, BIGNUM *e,
crypto/openssl/include/openssl/rsa.h
278
int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2,
crypto/openssl/include/openssl/rsa.h
279
BIGNUM *q1, BIGNUM *q2,
crypto/openssl/include/openssl/rsa.h
280
const BIGNUM *Xp1, const BIGNUM *Xp2,
crypto/openssl/include/openssl/rsa.h
281
const BIGNUM *Xp, const BIGNUM *Xq1,
crypto/openssl/include/openssl/rsa.h
282
const BIGNUM *Xq2, const BIGNUM *Xq,
crypto/openssl/include/openssl/rsa.h
283
const BIGNUM *e, BN_GENCB *cb);
crypto/openssl/include/openssl/rsa.h
285
const BIGNUM *e,
crypto/openssl/include/openssl/rsa.h
535
int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0,
crypto/openssl/include/openssl/rsa.h
536
const BIGNUM *i,
crypto/openssl/include/openssl/rsa.h
540
int (*mod_exp)(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
crypto/openssl/include/openssl/rsa.h
543
int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r,
crypto/openssl/include/openssl/rsa.h
544
const BIGNUM *a,
crypto/openssl/include/openssl/rsa.h
545
const BIGNUM *p,
crypto/openssl/include/openssl/rsa.h
546
const BIGNUM *m,
crypto/openssl/include/openssl/rsa.h
551
int (*bn_mod_exp)(BIGNUM *r,
crypto/openssl/include/openssl/rsa.h
552
const BIGNUM *a,
crypto/openssl/include/openssl/rsa.h
553
const BIGNUM *p,
crypto/openssl/include/openssl/rsa.h
554
const BIGNUM *m,
crypto/openssl/include/openssl/rsa.h
593
BIGNUM *e, BN_GENCB *cb);
crypto/openssl/include/openssl/rsa.h
596
int (*keygen)(RSA *rsa, int bits, BIGNUM *e,
crypto/openssl/include/openssl/rsa.h
602
BIGNUM *e,
crypto/openssl/include/openssl/rsa.h
607
int primes, BIGNUM *e,
crypto/openssl/include/openssl/srp.h
126
void SRP_user_pwd_set_gN(SRP_user_pwd *user_pwd, const BIGNUM *g,
crypto/openssl/include/openssl/srp.h
127
const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
132
int SRP_user_pwd_set0_sv(SRP_user_pwd *user_pwd, BIGNUM *s, BIGNUM *v);
crypto/openssl/include/openssl/srp.h
139
const BIGNUM *default_g;
crypto/openssl/include/openssl/srp.h
140
const BIGNUM *default_N;
crypto/openssl/include/openssl/srp.h
148
const BIGNUM *g;
crypto/openssl/include/openssl/srp.h
149
const BIGNUM *N;
crypto/openssl/include/openssl/srp.h
203
int SRP_create_verifier_BN_ex(const char *user, const char *pass, BIGNUM **salt,
crypto/openssl/include/openssl/srp.h
204
BIGNUM **verifier, const BIGNUM *N,
crypto/openssl/include/openssl/srp.h
205
const BIGNUM *g, OSSL_LIB_CTX *libctx,
crypto/openssl/include/openssl/srp.h
208
int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
crypto/openssl/include/openssl/srp.h
209
BIGNUM **verifier, const BIGNUM *N,
crypto/openssl/include/openssl/srp.h
210
const BIGNUM *g);
crypto/openssl/include/openssl/srp.h
234
char *SRP_check_known_gN_param(const BIGNUM *g, const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
240
BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u,
crypto/openssl/include/openssl/srp.h
241
const BIGNUM *b, const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
243
BIGNUM *SRP_Calc_B_ex(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/include/openssl/srp.h
244
const BIGNUM *v, OSSL_LIB_CTX *libctx, const char *propq);
crypto/openssl/include/openssl/srp.h
246
BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/include/openssl/srp.h
247
const BIGNUM *v);
crypto/openssl/include/openssl/srp.h
250
int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
252
BIGNUM *SRP_Calc_u_ex(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N,
crypto/openssl/include/openssl/srp.h
255
BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
260
BIGNUM *SRP_Calc_x_ex(const BIGNUM *s, const char *user, const char *pass,
crypto/openssl/include/openssl/srp.h
263
BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass);
crypto/openssl/include/openssl/srp.h
265
BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g);
crypto/openssl/include/openssl/srp.h
267
BIGNUM *SRP_Calc_client_key_ex(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g,
crypto/openssl/include/openssl/srp.h
268
const BIGNUM *x, const BIGNUM *a, const BIGNUM *u,
crypto/openssl/include/openssl/srp.h
271
BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g,
crypto/openssl/include/openssl/srp.h
272
const BIGNUM *x, const BIGNUM *a, const BIGNUM *u);
crypto/openssl/include/openssl/srp.h
274
int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N);
crypto/openssl/include/openssl/srp.h
47
BIGNUM *bn;
crypto/openssl/include/openssl/srp.h
82
BIGNUM *s;
crypto/openssl/include/openssl/srp.h
83
BIGNUM *v;
crypto/openssl/include/openssl/srp.h
85
const BIGNUM *g;
crypto/openssl/include/openssl/srp.h
86
const BIGNUM *N;
crypto/openssl/include/openssl/ssl.h
1938
int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/include/openssl/ssl.h
1939
BIGNUM *sa, BIGNUM *v, char *info);
crypto/openssl/include/openssl/ssl.h
1944
OSSL_DEPRECATEDIN_3_0 __owur BIGNUM *SSL_get_srp_g(SSL *s);
crypto/openssl/include/openssl/ssl.h
1945
OSSL_DEPRECATEDIN_3_0 __owur BIGNUM *SSL_get_srp_N(SSL *s);
crypto/openssl/include/openssl/types.h
105
STACK_OF(BIGNUM);
crypto/openssl/include/openssl/types.h
91
#ifdef BIGNUM
crypto/openssl/providers/common/securitycheck.c
152
const BIGNUM *p, *q;
crypto/openssl/providers/common/securitycheck.c
199
const BIGNUM *p, *q;
crypto/openssl/providers/fips/self_test_kats.c
172
BIGNUM *bn = BN_CTX_get(ctx);
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
483
const BIGNUM *bn = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
505
const BIGNUM *bn = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
584
const BIGNUM *p = DSA_get0_p(dsa);
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
585
const BIGNUM *q = DSA_get0_q(dsa);
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
586
const BIGNUM *g = DSA_get0_g(dsa);
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
599
const BIGNUM *bn = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
621
const BIGNUM *bn = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
120
const BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
122
const BIGNUM *p = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
187
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
255
const BIGNUM *order = NULL, *cofactor = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
341
const BIGNUM *priv_key = EC_KEY_get0_private_key(ec);
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
37
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
46
const BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
464
const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL;
crypto/openssl/providers/implementations/encode_decode/encode_key2text.c
48
const BIGNUM *p = NULL;
crypto/openssl/providers/implementations/exchange/dh_exch.c
182
const BIGNUM *pub_key = NULL;
crypto/openssl/providers/implementations/exchange/ecdh_exch.c
469
const BIGNUM *cofactor;
crypto/openssl/providers/implementations/include/prov/ecx.h
29
int ossl_ec_dhkem_derive_private(EC_KEY *ec, BIGNUM *privout,
crypto/openssl/providers/implementations/kem/ec_kem.c
382
int ossl_ec_dhkem_derive_private(EC_KEY *ec, BIGNUM *priv,
crypto/openssl/providers/implementations/kem/ec_kem.c
390
const BIGNUM *order;
crypto/openssl/providers/implementations/kem/ec_kem.c
70
BIGNUM *rem = NULL;
crypto/openssl/providers/implementations/kem/ec_kem.c
71
const BIGNUM *priv = EC_KEY_get0_private_key(ec);
crypto/openssl/providers/implementations/kem/ec_kem.c
84
const BIGNUM *order = EC_GROUP_get0_order(group);
crypto/openssl/providers/implementations/kem/rsa_kem.c
247
BIGNUM *z, *nminus3;
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
164
const BIGNUM *pa = DH_get0_pub_key(dh1);
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
165
const BIGNUM *pb = DH_get0_pub_key(dh2);
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
174
const BIGNUM *pa = DH_get0_priv_key(dh1);
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
175
const BIGNUM *pb = DH_get0_priv_key(dh2);
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
384
const BIGNUM *pub_key = NULL;
crypto/openssl/providers/implementations/keymgmt/dh_kmgmt.c
404
const BIGNUM *priv_key = NULL;
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
104
const BIGNUM *priv = NULL, *pub = NULL;
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
165
const BIGNUM *pa = DSA_get0_pub_key(dsa1);
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
166
const BIGNUM *pb = DSA_get0_pub_key(dsa2);
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
175
const BIGNUM *pa = DSA_get0_priv_key(dsa1);
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
176
const BIGNUM *pb = DSA_get0_priv_key(dsa2);
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
360
const BIGNUM *pub_key = NULL;
crypto/openssl/providers/implementations/keymgmt/dsa_kmgmt.c
371
const BIGNUM *priv_key = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
117
BIGNUM *x = NULL, *y = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
118
const BIGNUM *priv_key = NULL;
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
357
const BIGNUM *pa = EC_KEY_get0_private_key(ec1);
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
358
const BIGNUM *pb = EC_KEY_get0_private_key(ec2);
crypto/openssl/providers/implementations/keymgmt/ec_kmgmt.c
958
BIGNUM *p, *a, *b, *order, *cofactor;
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
150
const BIGNUM *pa = RSA_get0_n(rsa1);
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
151
const BIGNUM *pb = RSA_get0_n(rsa2);
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
160
const BIGNUM *pa = RSA_get0_d(rsa1);
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
161
const BIGNUM *pb = RSA_get0_d(rsa2);
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
417
BIGNUM *pub_exp;
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
59
DEFINE_STACK_OF(BIGNUM)
crypto/openssl/providers/implementations/keymgmt/rsa_kmgmt.c
60
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
crypto/openssl/providers/implementations/signature/ecdsa_sig.c
117
BIGNUM *kinv;
crypto/openssl/providers/implementations/signature/ecdsa_sig.c
118
BIGNUM *r;
crypto/openssl/ssl/ssl_local.h
581
BIGNUM *N, *g, *s, *B, *A;
crypto/openssl/ssl/ssl_local.h
582
BIGNUM *a, *b, *v;
crypto/openssl/ssl/statem/statem_clnt.c
2290
BIGNUM *p = NULL, *g = NULL, *bnpub_key = NULL;
crypto/openssl/ssl/statem/statem_srvr.c
2561
BIGNUM *r[4];
crypto/openssl/ssl/t1_lib.c
4281
BIGNUM *p;
crypto/openssl/ssl/tls_srp.c
244
int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g,
crypto/openssl/ssl/tls_srp.c
245
BIGNUM *sa, BIGNUM *v, char *info)
crypto/openssl/ssl/tls_srp.c
303
BIGNUM *K = NULL, *u = NULL;
crypto/openssl/ssl/tls_srp.c
336
BIGNUM *x = NULL, *u = NULL, *K = NULL;
crypto/openssl/ssl/tls_srp.c
454
BIGNUM *SSL_get_srp_g(SSL *s)
crypto/openssl/ssl/tls_srp.c
466
BIGNUM *SSL_get_srp_N(SSL *s)
crypto/openssl/test/acvp_test.c
1160
BIGNUM *pub_bn = NULL, *priv_bn = NULL;
crypto/openssl/test/acvp_test.c
1271
BIGNUM *e_bn = NULL, *d_bn = NULL, *n_bn = NULL;
crypto/openssl/test/acvp_test.c
1313
BIGNUM *e_bn = NULL;
crypto/openssl/test/acvp_test.c
1314
BIGNUM *xp1_bn = NULL, *xp2_bn = NULL, *xp_bn = NULL;
crypto/openssl/test/acvp_test.c
1315
BIGNUM *xq1_bn = NULL, *xq2_bn = NULL, *xq_bn = NULL;
crypto/openssl/test/acvp_test.c
245
const BIGNUM *r1, *s1;
crypto/openssl/test/acvp_test.c
315
BIGNUM *rbn = NULL, *sbn = NULL;
crypto/openssl/test/acvp_test.c
663
BIGNUM *p_bn = NULL, *q_bn = NULL, *g_bn = NULL, *pub_bn = NULL;
crypto/openssl/test/acvp_test.c
73
BIGNUM *bn = NULL;
crypto/openssl/test/acvp_test.c
758
const BIGNUM *r1, *s1;
crypto/openssl/test/acvp_test.c
829
BIGNUM *rbn = NULL, *sbn = NULL;
crypto/openssl/test/asn1_dsa_internal_test.c
87
BIGNUM *r;
crypto/openssl/test/asn1_dsa_internal_test.c
88
BIGNUM *s;
crypto/openssl/test/asn1_internal_test.c
127
BIGNUM *n = NULL;
crypto/openssl/test/asn1_internal_test.c
128
BIGNUM *e = NULL;
crypto/openssl/test/bn_internal_test.c
31
BIGNUM *bn = NULL;
crypto/openssl/test/bn_internal_test.c
52
BIGNUM *bn = NULL;
crypto/openssl/test/bn_internal_test.c
71
BIGNUM *b = NULL;
crypto/openssl/test/bntest.c
1043
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
1044
BIGNUM *e = NULL, *f = NULL;
crypto/openssl/test/bntest.c
1088
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
1089
BIGNUM *e = NULL;
crypto/openssl/test/bntest.c
1142
BIGNUM *a = NULL, *b = NULL, *r = NULL, *t = NULL;
crypto/openssl/test/bntest.c
115
BIGNUM *ret;
crypto/openssl/test/bntest.c
1220
BIGNUM *a = NULL, *b = NULL, *sum = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
130
static int equalBN(const char *op, const BIGNUM *expected, const BIGNUM *actual)
crypto/openssl/test/bntest.c
1329
BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1330
BIGNUM *two = NULL, *remainder = NULL;
crypto/openssl/test/bntest.c
1381
BIGNUM *a = NULL, *lshift = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1406
BIGNUM *a = NULL, *rshift = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1436
BIGNUM *a = NULL, *square = NULL, *zero = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1437
BIGNUM *remainder = NULL, *tmp = NULL;
crypto/openssl/test/bntest.c
1496
BIGNUM *a = NULL, *b = NULL, *product = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1497
BIGNUM *remainder = NULL, *zero = NULL;
crypto/openssl/test/bntest.c
153
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
1533
BIGNUM *a = NULL, *b = NULL, *quotient = NULL, *remainder = NULL;
crypto/openssl/test/bntest.c
1534
BIGNUM *ret = NULL, *ret2 = NULL, *nnmod = NULL;
crypto/openssl/test/bntest.c
1617
BIGNUM *a = NULL, *b = NULL, *m = NULL, *mod_mul = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1634
BIGNUM *a_tmp = BN_new();
crypto/openssl/test/bntest.c
1635
BIGNUM *b_tmp = BN_new();
crypto/openssl/test/bntest.c
1669
BIGNUM *a = NULL, *e = NULL, *m = NULL, *mod_exp = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1670
BIGNUM *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
1724
BIGNUM *a = NULL, *e = NULL, *exp = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1748
BIGNUM *a = NULL, *p = NULL, *mod_sqrt = NULL, *ret = NULL, *ret2 = NULL;
crypto/openssl/test/bntest.c
1789
BIGNUM *a = NULL, *b = NULL, *gcd = NULL, *ret = NULL;
crypto/openssl/test/bntest.c
1815
BIGNUM *n;
crypto/openssl/test/bntest.c
1935
BIGNUM *bn = NULL, *bn2 = NULL;
crypto/openssl/test/bntest.c
2002
BIGNUM *bn = NULL;
crypto/openssl/test/bntest.c
2071
BIGNUM *bn = NULL;
crypto/openssl/test/bntest.c
2137
BIGNUM *bn = NULL;
crypto/openssl/test/bntest.c
2203
BIGNUM *bn = NULL;
crypto/openssl/test/bntest.c
2204
BIGNUM *bn2 = NULL;
crypto/openssl/test/bntest.c
2236
BIGNUM *zbn = NULL;
crypto/openssl/test/bntest.c
2266
BIGNUM *bn_be = NULL, *bn_expected_be = NULL;
crypto/openssl/test/bntest.c
2267
BIGNUM *bn_le = NULL, *bn_expected_le = NULL;
crypto/openssl/test/bntest.c
2303
BIGNUM *bn = NULL;
crypto/openssl/test/bntest.c
2356
BIGNUM *rng = NULL, *val = NULL;
crypto/openssl/test/bntest.c
2409
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
241
BIGNUM *a = NULL, *b = NULL, *c = NULL;
crypto/openssl/test/bntest.c
2410
BIGNUM *numerator = NULL, *denominator = NULL;
crypto/openssl/test/bntest.c
2478
BIGNUM *a = NULL, *b = NULL, *zero = NULL;
crypto/openssl/test/bntest.c
2544
BIGNUM *a = NULL, *r = NULL, *zero = NULL;
crypto/openssl/test/bntest.c
2578
BIGNUM *r = BN_new();
crypto/openssl/test/bntest.c
2579
BIGNUM *a = BN_new();
crypto/openssl/test/bntest.c
2580
BIGNUM *p = BN_new();
crypto/openssl/test/bntest.c
2581
BIGNUM *m = BN_new();
crypto/openssl/test/bntest.c
2624
BIGNUM *r;
crypto/openssl/test/bntest.c
2649
BIGNUM *r;
crypto/openssl/test/bntest.c
2677
BIGNUM *r = NULL;
crypto/openssl/test/bntest.c
2701
BIGNUM *r = NULL;
crypto/openssl/test/bntest.c
2723
BIGNUM *b[15];
crypto/openssl/test/bntest.c
2743
BIGNUM *b[30];
crypto/openssl/test/bntest.c
278
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/bntest.c
2807
BIGNUM *a = NULL, *b = NULL;
crypto/openssl/test/bntest.c
2826
BIGNUM *a = NULL, *b = NULL, *gcd = NULL;
crypto/openssl/test/bntest.c
3049
BIGNUM *result = NULL;
crypto/openssl/test/bntest.c
3050
BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
crypto/openssl/test/bntest.c
3083
BIGNUM *result = NULL;
crypto/openssl/test/bntest.c
3084
BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
crypto/openssl/test/bntest.c
3124
BIGNUM *exp_result = NULL;
crypto/openssl/test/bntest.c
3125
BIGNUM *exp_a1 = NULL, *exp_p1 = NULL, *exp_a2 = NULL, *exp_p2 = NULL,
crypto/openssl/test/bntest.c
3166
BIGNUM *a = NULL;
crypto/openssl/test/bntest.c
3167
BIGNUM *b = NULL;
crypto/openssl/test/bntest.c
3168
BIGNUM *r = NULL;
crypto/openssl/test/bntest.c
3201
BIGNUM *a = NULL;
crypto/openssl/test/bntest.c
3202
BIGNUM *b = NULL;
crypto/openssl/test/bntest.c
3203
BIGNUM *c = NULL;
crypto/openssl/test/bntest.c
3204
BIGNUM *r = NULL;
crypto/openssl/test/bntest.c
331
static BIGNUM *set_signed_bn(int value)
crypto/openssl/test/bntest.c
333
BIGNUM *bn = BN_new();
crypto/openssl/test/bntest.c
347
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
370
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
393
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/bntest.c
474
BIGNUM *a = NULL, *p = NULL, *m = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/bntest.c
475
BIGNUM *b = NULL, *n = NULL, *c = NULL;
crypto/openssl/test/bntest.c
72
static int parse_bigBN(BIGNUM **out, const char *bn_strings[])
crypto/openssl/test/bntest.c
740
BIGNUM *a = NULL, *b = NULL, *c = NULL;
crypto/openssl/test/bntest.c
774
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/bntest.c
814
BIGNUM *a, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
815
BIGNUM *e = NULL, *f = NULL, *g = NULL, *h = NULL;
crypto/openssl/test/bntest.c
84
static int parseBN(BIGNUM **out, const char *in)
crypto/openssl/test/bntest.c
867
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
90
static int parsedecBN(BIGNUM **out, const char *in)
crypto/openssl/test/bntest.c
906
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
951
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
952
BIGNUM *e = NULL, *f = NULL;
crypto/openssl/test/bntest.c
96
static BIGNUM *getBN(STANZA *s, const char *attribute)
crypto/openssl/test/bntest.c
99
BIGNUM *ret = NULL;
crypto/openssl/test/bntest.c
995
BIGNUM *a = NULL, *b[2] = { NULL, NULL }, *c = NULL, *d = NULL;
crypto/openssl/test/bntest.c
996
BIGNUM *e = NULL, *f = NULL;
crypto/openssl/test/dhtest.c
266
BIGNUM *p = NULL, *q = NULL, *g = NULL, *pub = NULL, *priv = NULL;
crypto/openssl/test/dhtest.c
40
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/dhtest.c
41
const BIGNUM *p2, *q2, *g2;
crypto/openssl/test/dhtest.c
42
BIGNUM *priv_key = NULL;
crypto/openssl/test/dhtest.c
43
const BIGNUM *pub_key2, *priv_key2;
crypto/openssl/test/dhtest.c
48
const BIGNUM *ap = NULL, *ag = NULL, *apub_key = NULL;
crypto/openssl/test/dhtest.c
49
const BIGNUM *bpub_key = NULL, *bpriv_key = NULL;
crypto/openssl/test/dhtest.c
50
BIGNUM *bp = NULL, *bg = NULL, *cpriv_key = NULL;
crypto/openssl/test/dhtest.c
586
BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/openssl/test/dhtest.c
587
const BIGNUM *pub_key_tmp;
crypto/openssl/test/dhtest.c
665
const BIGNUM *apub_key = NULL, *bpub_key = NULL;
crypto/openssl/test/dhtest.c
735
const BIGNUM *p, *q, *g;
crypto/openssl/test/dhtest.c
807
const BIGNUM *p, *q, *g;
crypto/openssl/test/dhtest.c
808
BIGNUM *pcpy = NULL, *gcpy = NULL, *qcpy = NULL;
crypto/openssl/test/dsa_no_digest_size_test.c
99
BIGNUM *p, *q, *g;
crypto/openssl/test/dsatest.c
199
const BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/dsatest.c
300
BIGNUM *p_in = NULL, *q_in = NULL, *g_in = NULL;
crypto/openssl/test/dsatest.c
301
BIGNUM *p_out = NULL, *q_out = NULL, *g_out = NULL;
crypto/openssl/test/dsatest.c
478
BIGNUM *p = NULL, *q = NULL, *g = NULL, *priv = NULL, *pub = NULL, *priv2 = NULL;
crypto/openssl/test/dsatest.c
479
BIGNUM *badq = NULL, *badpriv = NULL;
crypto/openssl/test/dsatest.c
569
BIGNUM *p = NULL, *q = NULL, *g = NULL, *priv = NULL, *pub = NULL;
crypto/openssl/test/ec_internal_test.c
159
BIGNUM *p, *a, *b;
crypto/openssl/test/ec_internal_test.c
247
BIGNUM *x1 = NULL, *y1 = NULL, *z1 = NULL, *x2 = NULL, *y2 = NULL;
crypto/openssl/test/ec_internal_test.c
248
BIGNUM *k = NULL;
crypto/openssl/test/ec_internal_test.c
28
BIGNUM *a = NULL, *b = NULL, *c = NULL;
crypto/openssl/test/ec_internal_test.c
479
static int check_bn_mont_ctx(BN_MONT_CTX *mont, BIGNUM *mod, BN_CTX *ctx)
crypto/openssl/test/ec_internal_test.c
75
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/test/ecdsatest.c
358
BIGNUM *kinv = NULL, *rp = NULL;
crypto/openssl/test/ecdsatest.c
40
BIGNUM *tmp = NULL;
crypto/openssl/test/ecdsatest.c
85
BIGNUM *r = NULL, *s = NULL;
crypto/openssl/test/ecdsatest.c
86
BIGNUM *kinv = NULL, *rp = NULL;
crypto/openssl/test/ecdsatest.c
87
const BIGNUM *sig_r = NULL, *sig_s = NULL;
crypto/openssl/test/ecstresstest.c
41
static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point,
crypto/openssl/test/ecstresstest.c
44
BIGNUM *scalar = NULL;
crypto/openssl/test/ecstresstest.c
70
BIGNUM *result = NULL, *expected_result = NULL;
crypto/openssl/test/ectest.c
1075
BIGNUM *x = NULL, *y = NULL;
crypto/openssl/test/ectest.c
1149
BIGNUM *secp521r1_field = NULL;
crypto/openssl/test/ectest.c
1150
BIGNUM *sect163r2_field = NULL;
crypto/openssl/test/ectest.c
1291
BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL;
crypto/openssl/test/ectest.c
1292
BIGNUM *n = NULL, *m = NULL, *order = NULL, *yplusone = NULL;
crypto/openssl/test/ectest.c
161
BIGNUM *p = NULL, *a = NULL, *b = NULL, *scalar3 = NULL;
crypto/openssl/test/ectest.c
164
BIGNUM *x = NULL, *y = NULL, *z = NULL, *yplusone = NULL;
crypto/openssl/test/ectest.c
167
const BIGNUM *scalars[4];
crypto/openssl/test/ectest.c
1902
BIGNUM *group_p = NULL, *group_a = NULL, *group_b = NULL;
crypto/openssl/test/ectest.c
1903
BIGNUM *other_p = NULL, *other_a = NULL, *other_b = NULL;
crypto/openssl/test/ectest.c
1904
BIGNUM *group_cofactor = NULL, *other_cofactor = NULL;
crypto/openssl/test/ectest.c
1905
BIGNUM *other_order = NULL;
crypto/openssl/test/ectest.c
1906
const BIGNUM *group_order = NULL;
crypto/openssl/test/ectest.c
2222
BIGNUM *group_cofactor = NULL, *other_cofactor = NULL;
crypto/openssl/test/ectest.c
2223
BIGNUM *other_gen_x = NULL, *other_gen_y = NULL;
crypto/openssl/test/ectest.c
2224
const BIGNUM *group_order = NULL;
crypto/openssl/test/ectest.c
2225
BIGNUM *other_order = NULL;
crypto/openssl/test/ectest.c
2450
BIGNUM *p, *a, *b;
crypto/openssl/test/ectest.c
2619
BIGNUM *cf = NULL;
crypto/openssl/test/ectest.c
2651
BIGNUM *g1_p = NULL, *g1_a = NULL, *g1_b = NULL, *g1_x = NULL, *g1_y = NULL,
crypto/openssl/test/ectest.c
2730
const BIGNUM *field = NULL;
crypto/openssl/test/ectest.c
2731
BIGNUM *x = NULL, *y = NULL;
crypto/openssl/test/ectest.c
2887
BIGNUM *p, *a, *b;
crypto/openssl/test/ectest.c
2888
BIGNUM *p_out = NULL, *a_out = NULL, *b_out = NULL;
crypto/openssl/test/ectest.c
2889
BIGNUM *order_out = NULL, *cofactor_out = NULL;
crypto/openssl/test/ectest.c
3107
BIGNUM *k = NULL;
crypto/openssl/test/ectest.c
3197
BIGNUM *k = NULL;
crypto/openssl/test/ectest.c
3199
const BIGNUM *z = NULL, *cof = NULL, *priv1 = NULL;
crypto/openssl/test/ectest.c
3200
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/test/ectest.c
41
BIGNUM *n1 = NULL, *n2 = NULL, *order = NULL;
crypto/openssl/test/ectest.c
771
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/test/ectest.c
772
BIGNUM *x = NULL, *y = NULL, *z = NULL, *cof = NULL, *yplusone = NULL;
crypto/openssl/test/ectest.c
777
const BIGNUM *scalars[3];
crypto/openssl/test/ectest.c
78
const BIGNUM *scalars[6];
crypto/openssl/test/ectest.c
925
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/openssl/test/ectest.c
928
BIGNUM *x = NULL, *y = NULL, *z = NULL, *cof = NULL, *yplusone = NULL;
crypto/openssl/test/endecode_test.c
1114
BIGNUM *a, *b, *prime, *order;
crypto/openssl/test/endecode_test.c
1212
BIGNUM *a, *b, *poly, *order, *cofactor;
crypto/openssl/test/evp_extra_test.c
1115
BIGNUM *p = NULL, *q = NULL, *g = NULL, *pub = NULL, *priv = NULL;
crypto/openssl/test/evp_extra_test.c
1252
BIGNUM *priv = NULL;
crypto/openssl/test/evp_extra_test.c
1419
BIGNUM *priv = NULL;
crypto/openssl/test/evp_extra_test.c
1420
BIGNUM *x = NULL;
crypto/openssl/test/evp_extra_test.c
1421
BIGNUM *y = NULL;
crypto/openssl/test/evp_extra_test.c
1475
BIGNUM *priv = NULL;
crypto/openssl/test/evp_extra_test.c
1545
BIGNUM *priv = NULL;
crypto/openssl/test/evp_extra_test.c
1546
BIGNUM *x = NULL;
crypto/openssl/test/evp_extra_test.c
1547
BIGNUM *y = NULL;
crypto/openssl/test/evp_extra_test.c
3755
BIGNUM *p = NULL, *q = NULL, *g = NULL, *pub = NULL, *priv = NULL;
crypto/openssl/test/evp_extra_test.c
3823
BIGNUM *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/evp_extra_test.c
3999
BIGNUM *p = NULL;
crypto/openssl/test/evp_extra_test.c
4000
BIGNUM *q = NULL;
crypto/openssl/test/evp_extra_test.c
4001
BIGNUM *n = NULL;
crypto/openssl/test/evp_extra_test.c
4002
BIGNUM *e = NULL;
crypto/openssl/test/evp_extra_test.c
4003
BIGNUM *d = NULL;
crypto/openssl/test/evp_extra_test.c
4143
BIGNUM *p, *g = NULL;
crypto/openssl/test/evp_extra_test.c
4144
BIGNUM *pubkey = NULL;
crypto/openssl/test/evp_extra_test2.c
1532
BIGNUM *bn = NULL;
crypto/openssl/test/evp_extra_test2.c
1603
const BIGNUM *privkey;
crypto/openssl/test/evp_extra_test2.c
1849
BIGNUM *p_bn = NULL;
crypto/openssl/test/evp_extra_test2.c
1850
BIGNUM *g_bn = NULL;
crypto/openssl/test/evp_extra_test2.c
1851
BIGNUM *priv_bn = NULL;
crypto/openssl/test/evp_extra_test2.c
3087
BIGNUM *bn = NULL;
crypto/openssl/test/evp_libctx_test.c
123
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/evp_libctx_test.c
129
static const BIGNUM *bn[] = {
crypto/openssl/test/evp_libctx_test.c
186
static int do_dh_param_keygen(int tstid, const BIGNUM **bn)
crypto/openssl/test/evp_libctx_test.c
195
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/evp_libctx_test.c
254
static const BIGNUM *bn[] = {
crypto/openssl/test/evp_pkey_dhkem_test.c
123
BIGNUM *priv = NULL;
crypto/openssl/test/evp_pkey_dhkem_test.c
484
BIGNUM *priv = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1131
BIGNUM *pub = NULL, *priv = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1132
BIGNUM *pub_out = NULL, *priv_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1133
BIGNUM *p = NULL, *q = NULL, *g = NULL, *j = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1604
BIGNUM *ec_priv_bn = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1605
BIGNUM *bn_priv = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1645
BIGNUM *group_a = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1646
BIGNUM *group_b = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1647
BIGNUM *group_p = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1648
BIGNUM *a = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1649
BIGNUM *b = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1650
BIGNUM *p = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1879
BIGNUM *pub = NULL, *priv = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1880
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1881
BIGNUM *pub_out = NULL, *priv_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
1882
BIGNUM *p_out = NULL, *q_out = NULL, *g_out = NULL, *j_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
381
BIGNUM *bn = BN_new();
crypto/openssl/test/evp_pkey_provided_test.c
382
BIGNUM *bn_from = BN_new();
crypto/openssl/test/evp_pkey_provided_test.c
453
BIGNUM *comparebn;
crypto/openssl/test/evp_pkey_provided_test.c
462
BIGNUM *check_bn = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
547
BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
548
BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
636
BIGNUM *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
637
BIGNUM *p = NULL, *q = NULL, *p2 = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
638
BIGNUM *dmp1 = NULL, *dmq1 = NULL, *iqmp = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
639
BIGNUM *exp3 = NULL, *coeff2 = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
836
BIGNUM *n = NULL, *e = NULL, *d = NULL, *n_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
891
BIGNUM *pub = NULL, *priv = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
892
BIGNUM *pub_out = NULL, *priv_out = NULL;
crypto/openssl/test/evp_pkey_provided_test.c
893
BIGNUM *p = NULL, *q = NULL, *g = NULL, *j = NULL;
crypto/openssl/test/exptest.c
156
BIGNUM *r_mont = NULL;
crypto/openssl/test/exptest.c
157
BIGNUM *r_mont_const = NULL;
crypto/openssl/test/exptest.c
158
BIGNUM *r_recp = NULL;
crypto/openssl/test/exptest.c
159
BIGNUM *r_simple = NULL;
crypto/openssl/test/exptest.c
160
BIGNUM *a = NULL;
crypto/openssl/test/exptest.c
161
BIGNUM *b = NULL;
crypto/openssl/test/exptest.c
162
BIGNUM *m = NULL;
crypto/openssl/test/exptest.c
243
BIGNUM *r_mont_const_x2_1 = NULL;
crypto/openssl/test/exptest.c
244
BIGNUM *r_mont_const_x2_2 = NULL;
crypto/openssl/test/exptest.c
245
BIGNUM *r_simple1 = NULL;
crypto/openssl/test/exptest.c
246
BIGNUM *r_simple2 = NULL;
crypto/openssl/test/exptest.c
247
BIGNUM *a1 = NULL;
crypto/openssl/test/exptest.c
248
BIGNUM *b1 = NULL;
crypto/openssl/test/exptest.c
249
BIGNUM *m1 = NULL;
crypto/openssl/test/exptest.c
250
BIGNUM *a2 = NULL;
crypto/openssl/test/exptest.c
251
BIGNUM *b2 = NULL;
crypto/openssl/test/exptest.c
252
BIGNUM *m2 = NULL;
crypto/openssl/test/exptest.c
31
static int a_is_zero_mod_one(const char *method, const BIGNUM *r,
crypto/openssl/test/exptest.c
32
const BIGNUM *a)
crypto/openssl/test/exptest.c
48
BIGNUM *a = NULL, *p = NULL, *m = NULL;
crypto/openssl/test/exptest.c
49
BIGNUM *r = NULL;
crypto/openssl/test/ffc_internal_test.c
178
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/openssl/test/ffc_internal_test.c
179
BIGNUM *p1 = NULL, *g1 = NULL;
crypto/openssl/test/ffc_internal_test.c
248
BIGNUM *p = NULL, *q = NULL;
crypto/openssl/test/ffc_internal_test.c
395
BIGNUM *bn = NULL;
crypto/openssl/test/ffc_internal_test.c
445
BIGNUM *pub = NULL;
crypto/openssl/test/ffc_internal_test.c
543
BIGNUM *priv = NULL;
crypto/openssl/test/ffc_internal_test.c
610
BIGNUM *priv = NULL;
crypto/openssl/test/helpers/predefined_dhparams.c
19
BIGNUM *p, BIGNUM *g, BIGNUM *q)
crypto/openssl/test/helpers/predefined_dhparams.c
54
BIGNUM *p = NULL, *g = NULL, *q = NULL;
crypto/openssl/test/helpers/predefined_dhparams.c
583
BIGNUM *p = NULL, *g = NULL;
crypto/openssl/test/helpers/predefined_dhparams.c
604
BIGNUM *p = NULL, *g = NULL;
crypto/openssl/test/keymgmt_internal_test.c
147
BIGNUM *bn1 = NULL, *bn2 = NULL, *bn3 = NULL;
crypto/openssl/test/keymgmt_internal_test.c
151
BIGNUM *bn_primes[1] = { NULL };
crypto/openssl/test/keymgmt_internal_test.c
152
BIGNUM *bn_exps[1] = { NULL };
crypto/openssl/test/keymgmt_internal_test.c
153
BIGNUM *bn_coeffs[1] = { NULL };
crypto/openssl/test/keymgmt_internal_test.c
91
BIGNUM *n = NULL;
crypto/openssl/test/param_build_test.c
23
BIGNUM *zbn = NULL, *zbn_res = NULL;
crypto/openssl/test/param_build_test.c
246
BIGNUM *zbn = NULL, *zbn_res = NULL;
crypto/openssl/test/param_build_test.c
247
BIGNUM *pbn = NULL, *pbn_res = NULL;
crypto/openssl/test/param_build_test.c
248
BIGNUM *nbn = NULL, *nbn_res = NULL;
crypto/openssl/test/param_build_test.c
453
BIGNUM *bn_priv = NULL, *bn_priv_res = NULL;
crypto/openssl/test/param_build_test.c
454
BIGNUM *bn_pub = NULL, *bn_pub_res = NULL;
crypto/openssl/test/param_build_test.c
56
BIGNUM *zbn = NULL, *zbn_res = NULL;
crypto/openssl/test/param_build_test.c
90
BIGNUM *zbn = NULL, *zbn_res = NULL;
crypto/openssl/test/param_build_test.c
91
BIGNUM *pbn = NULL, *pbn_res = NULL;
crypto/openssl/test/param_build_test.c
92
BIGNUM *nbn = NULL, *nbn_res = NULL;
crypto/openssl/test/params_api_test.c
507
BIGNUM *b = NULL, *c = NULL;
crypto/openssl/test/params_api_test.c
542
BIGNUM *b = NULL, *c = NULL;
crypto/openssl/test/params_api_test.c
621
BIGNUM *bn = NULL, *bn2 = NULL;
crypto/openssl/test/params_api_test.c
80
BIGNUM *bn;
crypto/openssl/test/params_test.c
306
static BIGNUM *app_p3 = NULL; /* "p3" */
crypto/openssl/test/params_test.c
438
BIGNUM *verify_p3 = NULL;
crypto/openssl/test/params_test.c
54
BIGNUM *p3;
crypto/openssl/test/rsa_mp_test.c
143
BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL;
crypto/openssl/test/rsa_mp_test.c
160
pris = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/rsa_mp_test.c
161
exps = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/rsa_mp_test.c
162
coeffs = OPENSSL_zalloc(sizeof(BIGNUM *));
crypto/openssl/test/rsa_mp_test.c
194
STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL;
crypto/openssl/test/rsa_mp_test.c
195
BIGNUM *num = NULL;
crypto/openssl/test/rsa_mp_test.c
288
BIGNUM *ebn = NULL;
crypto/openssl/test/rsa_mp_test.c
34
DEFINE_STACK_OF(BIGNUM)
crypto/openssl/test/rsa_sp800_56b_test.c
101
BIGNUM *ret = BN_new();
crypto/openssl/test/rsa_sp800_56b_test.c
111
BIGNUM *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
139
BIGNUM *p = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
140
BIGNUM *bn_p1 = NULL, *bn_p2 = NULL, *bn_p3 = NULL, *bn_p4 = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
185
BIGNUM *p = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
186
BIGNUM *bn_p1 = NULL, *bn_p2 = NULL, *bn_p3 = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
226
BIGNUM *p = NULL, *q = NULL, *e = NULL, *d = NULL, *n = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
287
BIGNUM *p = NULL, *q = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
361
BIGNUM *p = NULL, *q = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
389
BIGNUM *tmp = NULL, *p = NULL, *q = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
415
BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
506
BIGNUM *n = NULL, *d = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
539
BIGNUM *n = NULL, *e = NULL;
crypto/openssl/test/rsa_sp800_56b_test.c
99
static BIGNUM *bn_load_new(const unsigned char *data, int sz)
crypto/openssl/test/rsa_test.c
377
BIGNUM *p;
crypto/openssl/test/rsa_test.c
378
BIGNUM *q;
crypto/openssl/test/rsa_test.c
379
BIGNUM *n;
crypto/openssl/test/rsa_test.c
380
BIGNUM *d;
crypto/openssl/test/rsa_test.c
381
BIGNUM *e;
crypto/openssl/test/rsa_test.c
492
BIGNUM *pn = NULL, *pe = NULL, *pd = NULL;
crypto/openssl/test/rsa_x931_test.c
23
BIGNUM *e = NULL;
crypto/openssl/test/sm2_internal_test.c
140
BIGNUM *priv = NULL;
crypto/openssl/test/sm2_internal_test.c
310
BIGNUM *priv = NULL;
crypto/openssl/test/sm2_internal_test.c
314
const BIGNUM *sig_r = NULL;
crypto/openssl/test/sm2_internal_test.c
315
const BIGNUM *sig_s = NULL;
crypto/openssl/test/sm2_internal_test.c
316
BIGNUM *r = NULL;
crypto/openssl/test/sm2_internal_test.c
317
BIGNUM *s = NULL;
crypto/openssl/test/sm2_internal_test.c
80
BIGNUM *p = NULL;
crypto/openssl/test/sm2_internal_test.c
81
BIGNUM *a = NULL;
crypto/openssl/test/sm2_internal_test.c
82
BIGNUM *b = NULL;
crypto/openssl/test/sm2_internal_test.c
83
BIGNUM *g_x = NULL;
crypto/openssl/test/sm2_internal_test.c
84
BIGNUM *g_y = NULL;
crypto/openssl/test/sm2_internal_test.c
85
BIGNUM *order = NULL;
crypto/openssl/test/sm2_internal_test.c
86
BIGNUM *cof = NULL;
crypto/openssl/test/srptest.c
120
static int check_bn(const char *name, const BIGNUM *bn, const char *hexbn)
crypto/openssl/test/srptest.c
122
BIGNUM *tmp = NULL;
crypto/openssl/test/srptest.c
139
BIGNUM *s = NULL;
crypto/openssl/test/srptest.c
140
BIGNUM *v = NULL;
crypto/openssl/test/srptest.c
141
BIGNUM *a = NULL;
crypto/openssl/test/srptest.c
142
BIGNUM *b = NULL;
crypto/openssl/test/srptest.c
143
BIGNUM *u = NULL;
crypto/openssl/test/srptest.c
144
BIGNUM *x = NULL;
crypto/openssl/test/srptest.c
145
BIGNUM *Apub = NULL;
crypto/openssl/test/srptest.c
146
BIGNUM *Bpub = NULL;
crypto/openssl/test/srptest.c
147
BIGNUM *Kclient = NULL;
crypto/openssl/test/srptest.c
148
BIGNUM *Kserver = NULL;
crypto/openssl/test/srptest.c
33
BIGNUM *s = NULL;
crypto/openssl/test/srptest.c
34
BIGNUM *v = NULL;
crypto/openssl/test/srptest.c
35
BIGNUM *a = NULL;
crypto/openssl/test/srptest.c
36
BIGNUM *b = NULL;
crypto/openssl/test/srptest.c
37
BIGNUM *u = NULL;
crypto/openssl/test/srptest.c
38
BIGNUM *x = NULL;
crypto/openssl/test/srptest.c
39
BIGNUM *Apub = NULL;
crypto/openssl/test/srptest.c
40
BIGNUM *Bpub = NULL;
crypto/openssl/test/srptest.c
41
BIGNUM *Kclient = NULL;
crypto/openssl/test/srptest.c
42
BIGNUM *Kserver = NULL;
crypto/openssl/test/ssl_old_test.c
2935
BIGNUM *bn = NULL;
crypto/openssl/test/sslapitest.c
10644
BIGNUM *p = NULL;
crypto/openssl/test/sslapitest.c
7625
BIGNUM *verifier = NULL, *salt = NULL;
crypto/openssl/test/test_test.c
314
BIGNUM *a = NULL, *b = NULL, *c = NULL;
crypto/openssl/test/test_test.c
404
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
crypto/openssl/test/test_test.c
524
BIGNUM *b = NULL;
crypto/openssl/test/testutil.h
388
DECLARE_COMPARISONS(BIGNUM *, BN)
crypto/openssl/test/testutil.h
389
int test_BN_eq_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
390
int test_BN_ne_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
391
int test_BN_lt_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
392
int test_BN_le_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
393
int test_BN_gt_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
394
int test_BN_ge_zero(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
395
int test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
396
int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
397
int test_BN_even(const char *file, int line, const char *s, const BIGNUM *a);
crypto/openssl/test/testutil.h
399
const BIGNUM *a, BN_ULONG w);
crypto/openssl/test/testutil.h
401
const char *ws, const BIGNUM *a, BN_ULONG w);
crypto/openssl/test/testutil.h
571
void test_output_bignum(const char *name, const BIGNUM *bn);
crypto/openssl/test/testutil/format_output.c
183
static const char *test_bignum_zero_null(const BIGNUM *bn)
crypto/openssl/test/testutil/format_output.c
194
static void test_bignum_zero_print(const BIGNUM *bn, char sep)
crypto/openssl/test/testutil/format_output.c
207
char *out, int *lz, const BIGNUM *bn)
crypto/openssl/test/testutil/format_output.c
269
const BIGNUM *bn1, const BIGNUM *bn2)
crypto/openssl/test/testutil/format_output.c
370
const BIGNUM *bn1, const BIGNUM *bn2)
crypto/openssl/test/testutil/format_output.c
379
const char *op, const BIGNUM *bn)
crypto/openssl/test/testutil/format_output.c
385
void test_output_bignum(const char *name, const BIGNUM *bn)
crypto/openssl/test/testutil/tests.c
363
const BIGNUM *t1, const BIGNUM *t2) \
crypto/openssl/test/testutil/tests.c
372
const char *s, const BIGNUM *a) \
crypto/openssl/test/testutil/tests.c
388
int test_BN_eq_one(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
396
int test_BN_odd(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
404
int test_BN_even(const char *file, int line, const char *s, const BIGNUM *a)
crypto/openssl/test/testutil/tests.c
414
const BIGNUM *a, BN_ULONG w)
crypto/openssl/test/testutil/tests.c
416
BIGNUM *bw;
crypto/openssl/test/testutil/tests.c
428
const char *ws, const BIGNUM *a, BN_ULONG w)
crypto/openssl/test/testutil/tests.c
430
BIGNUM *bw, *aa;
crypto/openssl/test/testutil/tu_local.h
36
const BIGNUM *bn1, const BIGNUM *bn2);
crypto/openssl/test/testutil/tu_local.h
40
const char *op, const BIGNUM *bn);
lib/libmp/mp.h
10
BIGNUM *bn;
lib/libmp/mpasbn.c
101
static void _moveb(const char *, const BIGNUM *, MINT *);
lib/libmp/mpasbn.c
145
BIGNUM *b;
lib/libmp/mpasbn.c
190
BIGNUM *b;
lib/libmp/mpasbn.c
234
BIGNUM *q, *r;
lib/libmp/mpasbn.c
337
_moveb(const char *msg, const BIGNUM *sbp, MINT *tmp)
lib/libmp/mpasbn.c
411
BIGNUM *b;
lib/libmp/mpasbn.c
492
BIGNUM *b;
lib/libmp/mpasbn.c
521
BIGNUM *b;
lib/libmp/mpasbn.c
543
BIGNUM *b;
lib/libmp/mpasbn.c
568
BIGNUM *q, *r;
lib/libsecureboot/openpgp/decode.c
219
BIGNUM *
lib/libsecureboot/openpgp/decode.c
222
BIGNUM *bn = NULL;
lib/libsecureboot/openpgp/decode.h
35
BIGNUM * mpi2bn(unsigned char **pptr);
usr.bin/factor/factor.c
100
static void convert_str2bn(BIGNUM **, char *);
usr.bin/factor/factor.c
102
static void pr_fact(BIGNUM *); /* print factors of a value */
usr.bin/factor/factor.c
103
static void pr_print(BIGNUM *); /* print a prime */
usr.bin/factor/factor.c
112
BIGNUM *val;
usr.bin/factor/factor.c
166
pr_fact(BIGNUM *val)
usr.bin/factor/factor.c
196
BIGNUM *bnfact;
usr.bin/factor/factor.c
226
pr_print(BIGNUM *val)
usr.bin/factor/factor.c
248
pollard_pminus1(BIGNUM *val)
usr.bin/factor/factor.c
250
BIGNUM *base, *rbase, *num, *i, *x;
usr.bin/factor/factor.c
301
BN_print_dec_fp(FILE *fp, const BIGNUM *num)
usr.bin/factor/factor.c
315
BN_print_fp(FILE *fp, const BIGNUM *num)
usr.bin/factor/factor.c
321
BN_print_dec_fp(FILE *fp, const BIGNUM *num)
usr.bin/factor/factor.c
327
BN_dec2bn(BIGNUM **a, const char *str)
usr.bin/factor/factor.c
337
BN_hex2bn(BIGNUM **a, const char *str)
usr.bin/factor/factor.c
347
BN_div_word(BIGNUM *a, BN_ULONG b)
usr.bin/factor/factor.c
383
convert_str2bn(BIGNUM **val, char *p)
usr.bin/factor/factor.c
70
BN_check_prime(BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb)
usr.bin/factor/factor.c
78
static void pollard_pminus1(BIGNUM *); /* print factors for big numbers */
usr.bin/factor/factor.c
87
#define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
usr.bin/factor/factor.c
92
static int BN_dec2bn(BIGNUM **, const char *);
usr.bin/factor/factor.c
93
static int BN_hex2bn(BIGNUM **, const char *);
usr.bin/factor/factor.c
94
static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG);
usr.bin/factor/factor.c
95
static void BN_print_fp(FILE *, const BIGNUM *);
usr.bin/factor/factor.c
99
static void BN_print_dec_fp(FILE *, const BIGNUM *);