crypto/libressl/apps/openssl/apps.c
1188
BIGNUM *
crypto/libressl/apps/openssl/apps.c
1192
BIGNUM *ret = NULL;
crypto/libressl/apps/openssl/apps.c
1239
save_serial(char *serialfile, char *suffix, BIGNUM *serial,
crypto/libressl/apps/openssl/apps.c
1328
rand_serial(BIGNUM *b, ASN1_INTEGER *ai)
crypto/libressl/apps/openssl/apps.c
1330
BIGNUM *btmp;
crypto/libressl/apps/openssl/apps.h
226
BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai);
crypto/libressl/apps/openssl/apps.h
227
int save_serial(char *serialfile, char *suffix, BIGNUM *serial,
crypto/libressl/apps/openssl/apps.h
230
int rand_serial(BIGNUM *b, ASN1_INTEGER *ai);
crypto/libressl/apps/openssl/ca.c
126
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
133
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
140
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
148
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
1601
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
1669
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
1726
CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn,
crypto/libressl/apps/openssl/ca.c
2313
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
crypto/libressl/apps/openssl/ca.c
2456
BIGNUM *bn = NULL;
crypto/libressl/apps/openssl/ca.c
664
BIGNUM *serial = NULL;
crypto/libressl/apps/openssl/ca.c
665
BIGNUM *crlnumber = NULL;
crypto/libressl/apps/openssl/ecparam.c
255
BIGNUM *ec_p = NULL, *ec_a = NULL, *ec_b = NULL, *ec_gen = NULL;
crypto/libressl/apps/openssl/ecparam.c
256
BIGNUM *ec_order = NULL, *ec_cofactor = NULL;
crypto/libressl/apps/openssl/ecparam.c
586
ecparam_print_var(BIO * out, BIGNUM * in, const char *var,
crypto/libressl/apps/openssl/ecparam.c
90
static int ecparam_print_var(BIO *, BIGNUM *, const char *, int,
crypto/libressl/apps/openssl/genrsa.c
279
BIGNUM *bn = NULL;
crypto/libressl/apps/openssl/ocsp.c
1300
BIGNUM *bn = NULL;
crypto/libressl/apps/openssl/prime.c
115
BIGNUM *bn = NULL;
crypto/libressl/apps/openssl/req.c
1055
const BIGNUM *n = NULL;
crypto/libressl/apps/openssl/testdsa.h
219
BIGNUM *priv_key = NULL, *pub_key = NULL;
crypto/libressl/apps/openssl/testdsa.h
220
BIGNUM *p = NULL, *q = NULL, *g = NULL;
crypto/libressl/apps/openssl/ts.c
1003
BIGNUM *bn = NULL;
crypto/libressl/apps/openssl/x509.c
1056
const BIGNUM *n = NULL;
crypto/libressl/apps/openssl/x509.c
1062
const BIGNUM *pub_key = NULL;
crypto/libressl/apps/openssl/x509.c
1343
BIGNUM *serial = NULL;
crypto/libressl/apps/openssl/x509.c
973
BIGNUM *bnser;
crypto/libressl/crypto/asn1/a_enum.c
167
BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai)
crypto/libressl/crypto/asn1/a_enum.c
209
BIGNUM *
crypto/libressl/crypto/asn1/a_enum.c
210
ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn)
crypto/libressl/crypto/asn1/a_enum.c
212
BIGNUM *ret;
crypto/libressl/crypto/asn1/a_int.c
323
BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
crypto/libressl/crypto/asn1/a_int.c
369
BIGNUM *
crypto/libressl/crypto/asn1/a_int.c
370
ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
crypto/libressl/crypto/asn1/a_int.c
372
BIGNUM *ret;
crypto/libressl/crypto/asn1/t_pkey.c
68
ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
crypto/libressl/crypto/asn1/x_bignum.c
125
BN_free((BIGNUM *)*pval);
crypto/libressl/crypto/asn1/x_bignum.c
143
const BIGNUM *bn;
crypto/libressl/crypto/asn1/x_bignum.c
149
bn = (const BIGNUM *)*pval;
crypto/libressl/crypto/asn1/x_bignum.c
169
BIGNUM *bn;
crypto/libressl/crypto/asn1/x_bignum.c
197
const BIGNUM *bn = (BIGNUM *)*pval;
crypto/libressl/crypto/bn/bn_add.c
108
const BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_add.c
147
BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_add.c
194
BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_add.c
66
BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_add.c
98
BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_blind.c
123
BIGNUM *A;
crypto/libressl/crypto/bn/bn_blind.c
124
BIGNUM *Ai;
crypto/libressl/crypto/bn/bn_blind.c
125
BIGNUM *e;
crypto/libressl/crypto/bn/bn_blind.c
126
BIGNUM *mod; /* just a reference */
crypto/libressl/crypto/bn/bn_blind.c
135
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_blind.c
136
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/crypto/bn/bn_blind.c
140
BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod)
crypto/libressl/crypto/bn/bn_blind.c
225
BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_blind.c
231
BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_blind.c
260
BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_blind.c
266
BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_blind.c
319
BN_BLINDING_create_param(BN_BLINDING *b, const BIGNUM *e, BIGNUM *m,
crypto/libressl/crypto/bn/bn_blind.c
320
BN_CTX *ctx, int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_blind.c
321
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
123
bn_lucas(BIGNUM *U, BIGNUM *V, const BIGNUM *k, const BIGNUM *D,
crypto/libressl/crypto/bn/bn_bpsw.c
124
const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
159
bn_strong_lucas_test(int *is_prime, const BIGNUM *n, const BIGNUM *D,
crypto/libressl/crypto/bn/bn_bpsw.c
162
BIGNUM *k, *U, *V;
crypto/libressl/crypto/bn/bn_bpsw.c
238
bn_strong_lucas_selfridge(int *is_prime, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
240
BIGNUM *D, *two;
crypto/libressl/crypto/bn/bn_bpsw.c
30
bn_div_by_two_mod_odd_n(BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
308
bn_miller_rabin_base_2(int *is_prime, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
310
BIGNUM *n_minus_one, *k, *x;
crypto/libressl/crypto/bn/bn_bpsw.c
395
bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
63
bn_lucas_step(BIGNUM *U, BIGNUM *V, int digit, const BIGNUM *D,
crypto/libressl/crypto/bn/bn_bpsw.c
64
const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_bpsw.c
66
BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_const.c
101
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
102
BN_get_rfc3526_prime_1536(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
114
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
115
get_rfc3526_prime_2048(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
14
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
144
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
145
BN_get_rfc3526_prime_2048(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
15
get_rfc2409_prime_768(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
157
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
158
get_rfc3526_prime_3072(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
197
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
198
BN_get_rfc3526_prime_3072(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
210
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
211
get_rfc3526_prime_4096(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
261
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
262
BN_get_rfc3526_prime_4096(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
274
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
275
get_rfc3526_prime_6144(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
30
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
31
BN_get_rfc2409_prime_768(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
346
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
347
BN_get_rfc3526_prime_6144(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
359
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
360
get_rfc3526_prime_8192(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
44
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
45
get_rfc2409_prime_1024(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
453
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
454
BN_get_rfc3526_prime_8192(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
63
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
64
BN_get_rfc2409_prime_1024(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_const.c
77
BIGNUM *
crypto/libressl/crypto/bn/bn_const.c
78
get_rfc3526_prime_1536(BIGNUM *bn)
crypto/libressl/crypto/bn/bn_ctx.c
114
static BIGNUM * BN_POOL_get(BN_POOL *);
crypto/libressl/crypto/bn/bn_ctx.c
305
BIGNUM *
crypto/libressl/crypto/bn/bn_ctx.c
308
BIGNUM *ret;
crypto/libressl/crypto/bn/bn_ctx.c
400
BIGNUM *bn = p->head->vals;
crypto/libressl/crypto/bn/bn_ctx.c
419
BIGNUM *bn = item->vals;
crypto/libressl/crypto/bn/bn_ctx.c
432
static BIGNUM *
crypto/libressl/crypto/bn/bn_ctx.c
436
BIGNUM *bn;
crypto/libressl/crypto/bn/bn_ctx.c
96
BIGNUM vals[BN_CTX_POOL_SIZE];
crypto/libressl/crypto/bn/bn_div.c
120
BN_div_internal(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
crypto/libressl/crypto/bn/bn_div.c
124
BIGNUM *tmp, wnum, *snum, *sdiv, *res;
crypto/libressl/crypto/bn/bn_div.c
382
BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
crypto/libressl/crypto/bn/bn_div.c
392
BN_div_nonct(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
crypto/libressl/crypto/bn/bn_div.c
399
BN_div_ct(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
crypto/libressl/crypto/bn/bn_exp.c
1062
BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
1067
BIGNUM *d;
crypto/libressl/crypto/bn/bn_exp.c
1069
BIGNUM *val[TABLE_SIZE];
crypto/libressl/crypto/bn/bn_exp.c
125
BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_exp.c
128
BIGNUM *v, *rr;
crypto/libressl/crypto/bn/bn_exp.c
176
BN_mod_exp_internal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
230
BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
238
BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
246
BN_mod_exp_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
254
BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
259
BIGNUM *aa;
crypto/libressl/crypto/bn/bn_exp.c
261
BIGNUM *val[TABLE_SIZE];
crypto/libressl/crypto/bn/bn_exp.c
389
BN_mod_exp_mont_internal(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
394
BIGNUM *d, *r;
crypto/libressl/crypto/bn/bn_exp.c
395
const BIGNUM *aa;
crypto/libressl/crypto/bn/bn_exp.c
397
BIGNUM *val[TABLE_SIZE];
crypto/libressl/crypto/bn/bn_exp.c
541
BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
549
BN_mod_exp_mont_ct(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
556
BN_mod_exp_mont_nonct(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
568
MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top, unsigned char *buf,
crypto/libressl/crypto/bn/bn_exp.c
586
MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx,
crypto/libressl/crypto/bn/bn_exp.c
649
BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_exp.c
650
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
crypto/libressl/crypto/bn/bn_exp.c
659
BIGNUM tmp, am;
crypto/libressl/crypto/bn/bn_exp.c
909
BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_exp.c
916
BIGNUM *d, *r, *t;
crypto/libressl/crypto/bn/bn_exp.c
917
BIGNUM *swap_tmp;
crypto/libressl/crypto/bn/bn_exp2.c
121
BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
crypto/libressl/crypto/bn/bn_exp2.c
122
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m, BN_CTX *ctx,
crypto/libressl/crypto/bn/bn_exp2.c
127
BIGNUM *d, *r;
crypto/libressl/crypto/bn/bn_exp2.c
128
const BIGNUM *a_mod_m;
crypto/libressl/crypto/bn/bn_exp2.c
130
BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE];
crypto/libressl/crypto/bn/bn_gcd.c
116
static BIGNUM *euclid(BIGNUM *a, BIGNUM *b);
crypto/libressl/crypto/bn/bn_gcd.c
117
static BIGNUM *BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n,
crypto/libressl/crypto/bn/bn_gcd.c
121
BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
123
BIGNUM *a, *b, *t;
crypto/libressl/crypto/bn/bn_gcd.c
162
BN_gcd_ct(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
170
BN_gcd_nonct(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
176
static BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
177
euclid(BIGNUM *a, BIGNUM *b)
crypto/libressl/crypto/bn/bn_gcd.c
179
BIGNUM *t;
crypto/libressl/crypto/bn/bn_gcd.c
248
static BIGNUM *BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a,
crypto/libressl/crypto/bn/bn_gcd.c
249
const BIGNUM *n, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_gcd.c
251
static BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
252
BN_mod_inverse_internal(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
crypto/libressl/crypto/bn/bn_gcd.c
255
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
256
BIGNUM *ret = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
396
BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_gcd.c
543
BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
544
BN_mod_inverse(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
551
BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
552
BN_mod_inverse_nonct(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
557
BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
558
BN_mod_inverse_ct(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gcd.c
566
static BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
567
BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n,
crypto/libressl/crypto/bn/bn_gcd.c
570
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
571
BIGNUM local_A, local_B;
crypto/libressl/crypto/bn/bn_gcd.c
572
BIGNUM *pA, *pB;
crypto/libressl/crypto/bn/bn_gcd.c
573
BIGNUM *ret = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
633
BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_gcd.c
736
static BIGNUM *
crypto/libressl/crypto/bn/bn_gcd.c
737
BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n,
crypto/libressl/crypto/bn/bn_gcd.c
740
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
741
BIGNUM local_A, local_B;
crypto/libressl/crypto/bn/bn_gcd.c
742
BIGNUM *pA, *pB;
crypto/libressl/crypto/bn/bn_gcd.c
743
BIGNUM *ret = NULL;
crypto/libressl/crypto/bn/bn_gcd.c
800
BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_gf2m.c
1041
BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_gf2m.c
1071
BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
1074
BIGNUM *u;
crypto/libressl/crypto/bn/bn_gf2m.c
1106
BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
1132
BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a_, const int p[],
crypto/libressl/crypto/bn/bn_gf2m.c
1136
BIGNUM *a, *z, *rho, *w, *w2, *tmp;
crypto/libressl/crypto/bn/bn_gf2m.c
1241
BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
1271
BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max)
crypto/libressl/crypto/bn/bn_gf2m.c
1306
BN_GF2m_arr2poly(const int p[], BIGNUM *a)
crypto/libressl/crypto/bn/bn_gf2m.c
323
BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_gf2m.c
326
const BIGNUM *at, *bt;
crypto/libressl/crypto/bn/bn_gf2m.c
365
BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[])
crypto/libressl/crypto/bn/bn_gf2m.c
464
BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
crypto/libressl/crypto/bn/bn_gf2m.c
486
BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[],
crypto/libressl/crypto/bn/bn_gf2m.c
490
BIGNUM *s;
crypto/libressl/crypto/bn/bn_gf2m.c
542
BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_gf2m.c
570
BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
573
BIGNUM *s;
crypto/libressl/crypto/bn/bn_gf2m.c
606
BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
636
BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
638
BIGNUM *b, *c = NULL, *u = NULL, *v = NULL, *tmp;
crypto/libressl/crypto/bn/bn_gf2m.c
812
BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *xx, const int p[], BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_gf2m.c
814
BIGNUM *field;
crypto/libressl/crypto/bn/bn_gf2m.c
838
BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_gf2m.c
841
BIGNUM *xinv = NULL;
crypto/libressl/crypto/bn/bn_gf2m.c
871
BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_gf2m.c
874
BIGNUM *a, *b, *u, *v;
crypto/libressl/crypto/bn/bn_gf2m.c
963
BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *yy, const BIGNUM *xx,
crypto/libressl/crypto/bn/bn_gf2m.c
966
BIGNUM *field;
crypto/libressl/crypto/bn/bn_gf2m.c
992
BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[],
crypto/libressl/crypto/bn/bn_gf2m.c
996
BIGNUM *u;
crypto/libressl/crypto/bn/bn_isqrt.c
203
bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_isqrt.c
45
bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *in_ctx)
crypto/libressl/crypto/bn/bn_isqrt.c
48
BIGNUM *a, *b;
crypto/libressl/crypto/bn/bn_kron.c
66
BN_kronecker(const BIGNUM *A, const BIGNUM *B, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_kron.c
70
BIGNUM *a, *b, *tmp;
crypto/libressl/crypto/bn/bn_lcl.h
133
BIGNUM RR; /* used to convert to montgomery form */
crypto/libressl/crypto/bn/bn_lcl.h
134
BIGNUM N; /* The modulus */
crypto/libressl/crypto/bn/bn_lcl.h
135
BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1
crypto/libressl/crypto/bn/bn_lcl.h
146
BIGNUM N; /* the divisor */
crypto/libressl/crypto/bn/bn_lcl.h
147
BIGNUM Nr; /* the reciprocal */
crypto/libressl/crypto/bn/bn_lcl.h
525
BIGNUM *bn_expand2(BIGNUM *a, int words);
crypto/libressl/crypto/bn/bn_lcl.h
526
BIGNUM *bn_expand(BIGNUM *a, int bits);
crypto/libressl/crypto/bn/bn_lcl.h
528
BIGNUM *bn_dup_expand(const BIGNUM *a, int words); /* unused */
crypto/libressl/crypto/bn/bn_lcl.h
566
const BIGNUM *_bnum1 = (a); \
crypto/libressl/crypto/bn/bn_lcl.h
585
const BIGNUM *_bnum2 = (a); \
crypto/libressl/crypto/bn/bn_lcl.h
598
const BIGNUM *_bnum2 = (bn); \
crypto/libressl/crypto/bn/bn_lcl.h
632
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/libressl/crypto/bn/bn_lcl.h
633
int bn_rand_interval(BIGNUM *rnd, const BIGNUM *lower_inc, const BIGNUM *upper_exc);
crypto/libressl/crypto/bn/bn_lcl.h
636
int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_lcl.h
637
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
638
int BN_mod_exp_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_lcl.h
639
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
640
int BN_mod_exp_mont_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_lcl.h
641
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/crypto/bn/bn_lcl.h
642
int BN_mod_exp_mont_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/bn/bn_lcl.h
643
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/crypto/bn/bn_lcl.h
644
int BN_div_nonct(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
crypto/libressl/crypto/bn/bn_lcl.h
646
int BN_div_ct(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
crypto/libressl/crypto/bn/bn_lcl.h
650
BIGNUM *BN_mod_inverse_ct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,
crypto/libressl/crypto/bn/bn_lcl.h
652
BIGNUM *BN_mod_inverse_nonct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,
crypto/libressl/crypto/bn/bn_lcl.h
654
int BN_gcd_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
655
int BN_gcd_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
657
int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords);
crypto/libressl/crypto/bn/bn_lcl.h
659
int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
660
int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_lcl.h
662
int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx);
crypto/libressl/crypto/bn/bn_lib.c
100
if ((ret = malloc(sizeof(BIGNUM))) == NULL) {
crypto/libressl/crypto/bn/bn_lib.c
1019
BN_swap_ct(BN_ULONG condition, BIGNUM *a, BIGNUM *b, size_t nwords)
crypto/libressl/crypto/bn/bn_lib.c
1065
BN_zero_ex(BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
1073
BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
1079
BN_is_zero(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
1085
BN_is_one(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
1091
BN_is_word(const BIGNUM *a, const BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
1097
BN_is_odd(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
1103
BN_is_negative(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
114
BN_init(BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
116
memset(a, 0, sizeof(BIGNUM));
crypto/libressl/crypto/bn/bn_lib.c
121
BN_clear(BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
131
BN_clear_free(BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
141
explicit_bzero(a, sizeof(BIGNUM));
crypto/libressl/crypto/bn/bn_lib.c
147
BN_free(BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
198
BN_set_flags(BIGNUM *b, int n)
crypto/libressl/crypto/bn/bn_lib.c
204
BN_get_flags(const BIGNUM *b, int n)
crypto/libressl/crypto/bn/bn_lib.c
210
BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags)
crypto/libressl/crypto/bn/bn_lib.c
221
const BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
225
static const BIGNUM const_one = {
crypto/libressl/crypto/bn/bn_lib.c
255
BN_num_bits(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
269
bn_expand_internal(const BIGNUM *b, int words)
crypto/libressl/crypto/bn/bn_lib.c
344
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
345
bn_dup_expand(const BIGNUM *b, int words)
crypto/libressl/crypto/bn/bn_lib.c
347
BIGNUM *r = NULL;
crypto/libressl/crypto/bn/bn_lib.c
389
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
390
bn_expand2(BIGNUM *b, int words)
crypto/libressl/crypto/bn/bn_lib.c
429
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
430
BN_dup(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
432
BIGNUM *t;
crypto/libressl/crypto/bn/bn_lib.c
449
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
450
BN_copy(BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_lib.c
496
BN_swap(BIGNUM *a, BIGNUM *b)
crypto/libressl/crypto/bn/bn_lib.c
532
BN_get_word(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_lib.c
542
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
543
bn_expand(BIGNUM *a, int bits)
crypto/libressl/crypto/bn/bn_lib.c
555
BN_set_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_lib.c
567
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
568
BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/libressl/crypto/bn/bn_lib.c
573
BIGNUM *bn = NULL;
crypto/libressl/crypto/bn/bn_lib.c
617
bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, endianness_t endianness)
crypto/libressl/crypto/bn/bn_lib.c
632
BIGNUM temp = *a;
crypto/libressl/crypto/bn/bn_lib.c
673
BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen)
crypto/libressl/crypto/bn/bn_lib.c
681
BN_bn2bin(const BIGNUM *a, unsigned char *to)
crypto/libressl/crypto/bn/bn_lib.c
686
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
687
BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret)
crypto/libressl/crypto/bn/bn_lib.c
691
BIGNUM *bn = NULL;
crypto/libressl/crypto/bn/bn_lib.c
741
BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen)
crypto/libressl/crypto/bn/bn_lib.c
750
BN_ucmp(const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_lib.c
773
BN_cmp(const BIGNUM *a, const BIGNUM *b)
crypto/libressl/crypto/bn/bn_lib.c
821
BN_set_bit(BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_lib.c
844
BN_clear_bit(BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_lib.c
863
BN_is_bit_set(const BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_lib.c
878
BN_mask_bits(BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_lib.c
901
BN_set_negative(BIGNUM *a, int b)
crypto/libressl/crypto/bn/bn_lib.c
95
BIGNUM *
crypto/libressl/crypto/bn/bn_lib.c
967
BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
crypto/libressl/crypto/bn/bn_lib.c
98
BIGNUM *ret;
crypto/libressl/crypto/bn/bn_mod.c
119
BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mod.c
136
BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_mod.c
147
BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
crypto/libressl/crypto/bn/bn_mod.c
157
BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_mod.c
168
BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
crypto/libressl/crypto/bn/bn_mod.c
179
BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
crypto/libressl/crypto/bn/bn_mod.c
182
BIGNUM *t;
crypto/libressl/crypto/bn/bn_mod.c
210
BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mod.c
219
BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mod.c
230
BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m)
crypto/libressl/crypto/bn/bn_mod.c
241
BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mod.c
243
BIGNUM *abs_m = NULL;
crypto/libressl/crypto/bn/bn_mod.c
266
BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m)
crypto/libressl/crypto/bn/bn_mont.c
127
static int BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont);
crypto/libressl/crypto/bn/bn_mont.c
131
BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/crypto/bn/bn_mont.c
134
BIGNUM *tmp;
crypto/libressl/crypto/bn/bn_mont.c
179
BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mont.c
186
BN_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont)
crypto/libressl/crypto/bn/bn_mont.c
188
BIGNUM *n;
crypto/libressl/crypto/bn/bn_mont.c
282
BN_from_montgomery(BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mont.c
286
BIGNUM *t;
crypto/libressl/crypto/bn/bn_mont.c
293
BIGNUM *t1, *t2;
crypto/libressl/crypto/bn/bn_mont.c
367
BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mont.c
370
BIGNUM *Ri, *R;
crypto/libressl/crypto/bn/bn_mont.c
385
BIGNUM tmod;
crypto/libressl/crypto/bn/bn_mont.c
518
BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, int lock, const BIGNUM *mod,
crypto/libressl/crypto/bn/bn_mul.c
1039
BIGNUM *tmp_bn = (BIGNUM *)b;
crypto/libressl/crypto/bn/bn_mul.c
1046
BIGNUM *tmp_bn = (BIGNUM *)a;
crypto/libressl/crypto/bn/bn_mul.c
940
BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_mul.c
944
BIGNUM *rr;
crypto/libressl/crypto/bn/bn_mul.c
949
BIGNUM *t = NULL;
crypto/libressl/crypto/bn/bn_nist.c
1029
BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_nist.c
1282
BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_nist.c
289
static const BIGNUM _bignum_nist_p_192 = {
crypto/libressl/crypto/bn/bn_nist.c
297
static const BIGNUM _bignum_nist_p_192_sqr = {
crypto/libressl/crypto/bn/bn_nist.c
305
static const BIGNUM _bignum_nist_p_224 = {
crypto/libressl/crypto/bn/bn_nist.c
313
static const BIGNUM _bignum_nist_p_224_sqr = {
crypto/libressl/crypto/bn/bn_nist.c
321
static const BIGNUM _bignum_nist_p_256 = {
crypto/libressl/crypto/bn/bn_nist.c
329
static const BIGNUM _bignum_nist_p_256_sqr = {
crypto/libressl/crypto/bn/bn_nist.c
337
static const BIGNUM _bignum_nist_p_384 = {
crypto/libressl/crypto/bn/bn_nist.c
345
static const BIGNUM _bignum_nist_p_384_sqr = {
crypto/libressl/crypto/bn/bn_nist.c
353
static const BIGNUM _bignum_nist_p_521 = {
crypto/libressl/crypto/bn/bn_nist.c
361
static const BIGNUM _bignum_nist_p_521_sqr = {
crypto/libressl/crypto/bn/bn_nist.c
369
const BIGNUM *
crypto/libressl/crypto/bn/bn_nist.c
375
const BIGNUM *
crypto/libressl/crypto/bn/bn_nist.c
381
const BIGNUM *
crypto/libressl/crypto/bn/bn_nist.c
387
const BIGNUM *
crypto/libressl/crypto/bn/bn_nist.c
393
const BIGNUM *
crypto/libressl/crypto/bn/bn_nist.c
465
BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_nist.c
613
BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_nist.c
797
BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_prime.c
132
static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1,
crypto/libressl/crypto/bn/bn_prime.c
133
const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
crypto/libressl/crypto/bn/bn_prime.c
134
static int probable_prime(BIGNUM *rnd, int bits);
crypto/libressl/crypto/bn/bn_prime.c
135
static int probable_prime_dh(BIGNUM *rnd, int bits,
crypto/libressl/crypto/bn/bn_prime.c
136
const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_prime.c
137
static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
crypto/libressl/crypto/bn/bn_prime.c
138
const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
crypto/libressl/crypto/bn/bn_prime.c
164
BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
crypto/libressl/crypto/bn/bn_prime.c
165
const BIGNUM *rem, BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_prime.c
167
BIGNUM *t;
crypto/libressl/crypto/bn/bn_prime.c
257
BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb)
crypto/libressl/crypto/bn/bn_prime.c
263
BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
crypto/libressl/crypto/bn/bn_prime.c
267
BIGNUM *A1, *A1_odd, *check; /* taken from ctx */
crypto/libressl/crypto/bn/bn_prime.c
269
const BIGNUM *A = NULL;
crypto/libressl/crypto/bn/bn_prime.c
313
BIGNUM *t;
crypto/libressl/crypto/bn/bn_prime.c
383
witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, const BIGNUM *a1_odd,
crypto/libressl/crypto/bn/bn_prime.c
409
probable_prime(BIGNUM *rnd, int bits)
crypto/libressl/crypto/bn/bn_prime.c
445
probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem,
crypto/libressl/crypto/bn/bn_prime.c
449
BIGNUM *t1;
crypto/libressl/crypto/bn/bn_prime.c
495
probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd,
crypto/libressl/crypto/bn/bn_prime.c
496
const BIGNUM *rem, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_prime.c
499
BIGNUM *t1, *qadd, *q;
crypto/libressl/crypto/bn/bn_print.c
110
BN_bn2dec(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_print.c
115
BIGNUM *t = NULL;
crypto/libressl/crypto/bn/bn_print.c
190
BN_hex2bn(BIGNUM **bn, const char *a)
crypto/libressl/crypto/bn/bn_print.c
192
BIGNUM *ret = NULL;
crypto/libressl/crypto/bn/bn_print.c
267
BN_dec2bn(BIGNUM **bn, const char *a)
crypto/libressl/crypto/bn/bn_print.c
269
BIGNUM *ret = NULL;
crypto/libressl/crypto/bn/bn_print.c
335
BN_asc2bn(BIGNUM **bn, const char *a)
crypto/libressl/crypto/bn/bn_print.c
355
BN_print_fp(FILE *fp, const BIGNUM *a)
crypto/libressl/crypto/bn/bn_print.c
369
BN_print(BIO *bp, const BIGNUM *a)
crypto/libressl/crypto/bn/bn_print.c
75
BN_bn2hex(const BIGNUM *a)
crypto/libressl/crypto/bn/bn_rand.c
122
bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
crypto/libressl/crypto/bn/bn_rand.c
198
BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/libressl/crypto/bn/bn_rand.c
204
BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/libressl/crypto/bn/bn_rand.c
211
BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
crypto/libressl/crypto/bn/bn_rand.c
220
bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range)
crypto/libressl/crypto/bn/bn_rand.c
222
int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand;
crypto/libressl/crypto/bn/bn_rand.c
280
BN_rand_range(BIGNUM *r, const BIGNUM *range)
crypto/libressl/crypto/bn/bn_rand.c
286
bn_rand_interval(BIGNUM *rnd, const BIGNUM *lower_inc, const BIGNUM *upper_exc)
crypto/libressl/crypto/bn/bn_rand.c
288
BIGNUM *len = NULL;
crypto/libressl/crypto/bn/bn_rand.c
313
BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range)
crypto/libressl/crypto/bn/bn_recp.c
100
BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_recp.c
111
BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
crypto/libressl/crypto/bn/bn_recp.c
115
BIGNUM *a;
crypto/libressl/crypto/bn/bn_recp.c
116
const BIGNUM *ca;
crypto/libressl/crypto/bn/bn_recp.c
142
BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp,
crypto/libressl/crypto/bn/bn_recp.c
146
BIGNUM *a, *b, *d, *r;
crypto/libressl/crypto/bn/bn_recp.c
242
BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_recp.c
245
BIGNUM *t;
crypto/libressl/crypto/bn/bn_shift.c
101
BN_rshift1(BIGNUM *r, const BIGNUM *a)
crypto/libressl/crypto/bn/bn_shift.c
137
BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_shift.c
179
BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
crypto/libressl/crypto/bn/bn_shift.c
67
BN_lshift1(BIGNUM *r, const BIGNUM *a)
crypto/libressl/crypto/bn/bn_sqr.c
67
BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_sqr.c
71
BIGNUM *tmp, *rr;
crypto/libressl/crypto/bn/bn_sqrt.c
62
BIGNUM *
crypto/libressl/crypto/bn/bn_sqrt.c
63
BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
crypto/libressl/crypto/bn/bn_sqrt.c
71
BIGNUM *ret = in;
crypto/libressl/crypto/bn/bn_sqrt.c
74
BIGNUM *A, *b, *q, *t, *x, *y;
crypto/libressl/crypto/bn/bn_word.c
106
BN_div_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
142
BN_add_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
179
BN_sub_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
227
BN_mul_word(BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
64
BN_mod_word(const BIGNUM *a, BN_ULONG w)
crypto/libressl/crypto/bn/bn_word.c
80
BIGNUM *tmp = BN_dup(a);
crypto/libressl/crypto/dh/dh_ameth.c
284
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/dh/dh_ameth.c
320
BIGNUM *priv_key, *pub_key;
crypto/libressl/crypto/dh/dh_ameth.c
419
BIGNUM *a;
crypto/libressl/crypto/dh/dh_check.c
174
BIGNUM *quotient, *residue;
crypto/libressl/crypto/dh/dh_check.c
209
BIGNUM *q;
crypto/libressl/crypto/dh/dh_check.c
232
DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key)
crypto/libressl/crypto/dh/dh_check.c
250
DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *flags)
crypto/libressl/crypto/dh/dh_check.c
253
BIGNUM *max_pub_key;
crypto/libressl/crypto/dh/dh_check.c
283
BIGNUM *residue;
crypto/libressl/crypto/dh/dh_check.c
94
BIGNUM *max_g = NULL;
crypto/libressl/crypto/dh/dh_gen.c
112
BIGNUM *t1, *t2;
crypto/libressl/crypto/dh/dh_key.c
109
BIGNUM *pub_key = NULL, *priv_key = NULL, *two = NULL;
crypto/libressl/crypto/dh/dh_key.c
174
compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/libressl/crypto/dh/dh_key.c
178
BIGNUM *tmp;
crypto/libressl/crypto/dh/dh_key.c
230
dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/dh/dh_key.c
231
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
crypto/libressl/crypto/dh/dh_key.c
69
static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
crypto/libressl/crypto/dh/dh_key.c
70
static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/dh/dh_key.c
71
const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/crypto/dh/dh_key.c
82
DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
crypto/libressl/crypto/dh/dh_lib.c
268
DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
crypto/libressl/crypto/dh/dh_lib.c
279
DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
crypto/libressl/crypto/dh/dh_lib.c
302
DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
crypto/libressl/crypto/dh/dh_lib.c
311
DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
crypto/libressl/crypto/dh/dh_lib.c
325
const BIGNUM *
crypto/libressl/crypto/dh/dh_lib.c
331
const BIGNUM *
crypto/libressl/crypto/dh/dh_lib.c
337
const BIGNUM *
crypto/libressl/crypto/dh/dh_lib.c
343
const BIGNUM *
crypto/libressl/crypto/dh/dh_lib.c
349
const BIGNUM *
crypto/libressl/crypto/dh/dh_local.h
113
int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
crypto/libressl/crypto/dh/dh_local.h
68
int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
crypto/libressl/crypto/dh/dh_local.h
69
int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/dh/dh_local.h
70
const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/crypto/dh/dh_local.h
85
BIGNUM *p;
crypto/libressl/crypto/dh/dh_local.h
86
BIGNUM *g;
crypto/libressl/crypto/dh/dh_local.h
88
BIGNUM *pub_key; /* g^x */
crypto/libressl/crypto/dh/dh_local.h
89
BIGNUM *priv_key; /* x */
crypto/libressl/crypto/dh/dh_local.h
94
BIGNUM *q;
crypto/libressl/crypto/dh/dh_local.h
95
BIGNUM *j;
crypto/libressl/crypto/dh/dh_local.h
98
BIGNUM *counter;
crypto/libressl/crypto/dsa/dsa_ameth.c
328
BIGNUM *a;
crypto/libressl/crypto/dsa/dsa_ameth.c
374
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/dsa/dsa_ameth.c
391
const BIGNUM *priv_key, *pub_key;
crypto/libressl/crypto/dsa/dsa_ameth.c
488
BIGNUM *j, *p1, *newp1, *powg;
crypto/libressl/crypto/dsa/dsa_asn1.c
136
DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
crypto/libressl/crypto/dsa/dsa_asn1.c
145
DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s)
crypto/libressl/crypto/dsa/dsa_gen.c
107
BIGNUM *r0, *W, *X, *c, *test;
crypto/libressl/crypto/dsa/dsa_gen.c
108
BIGNUM *g = NULL, *q = NULL, *p = NULL;
crypto/libressl/crypto/dsa/dsa_key.c
87
BIGNUM *pub_key = NULL, *priv_key = NULL;
crypto/libressl/crypto/dsa/dsa_lib.c
307
DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
crypto/libressl/crypto/dsa/dsa_lib.c
318
DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g)
crypto/libressl/crypto/dsa/dsa_lib.c
341
DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key)
crypto/libressl/crypto/dsa/dsa_lib.c
350
DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key)
crypto/libressl/crypto/dsa/dsa_lib.c
367
const BIGNUM *
crypto/libressl/crypto/dsa/dsa_lib.c
373
const BIGNUM *
crypto/libressl/crypto/dsa/dsa_lib.c
379
const BIGNUM *
crypto/libressl/crypto/dsa/dsa_lib.c
385
const BIGNUM *
crypto/libressl/crypto/dsa/dsa_lib.c
391
const BIGNUM *
crypto/libressl/crypto/dsa/dsa_locl.h
100
BIGNUM *kinv; /* Signing pre-calc */
crypto/libressl/crypto/dsa/dsa_locl.h
101
BIGNUM *r; /* Signing pre-calc */
crypto/libressl/crypto/dsa/dsa_locl.h
61
BIGNUM *r;
crypto/libressl/crypto/dsa/dsa_locl.h
62
BIGNUM *s;
crypto/libressl/crypto/dsa/dsa_locl.h
68
int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/libressl/crypto/dsa/dsa_locl.h
69
BIGNUM **rp);
crypto/libressl/crypto/dsa/dsa_locl.h
72
int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
crypto/libressl/crypto/dsa/dsa_locl.h
73
BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx,
crypto/libressl/crypto/dsa/dsa_locl.h
75
int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/dsa/dsa_locl.h
76
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); /* Can be null */
crypto/libressl/crypto/dsa/dsa_locl.h
93
BIGNUM *p;
crypto/libressl/crypto/dsa/dsa_locl.h
94
BIGNUM *q; /* == 20 */
crypto/libressl/crypto/dsa/dsa_locl.h
95
BIGNUM *g;
crypto/libressl/crypto/dsa/dsa_locl.h
97
BIGNUM *pub_key; /* y public key */
crypto/libressl/crypto/dsa/dsa_locl.h
98
BIGNUM *priv_key; /* x private key */
crypto/libressl/crypto/dsa/dsa_ossl.c
211
dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/libressl/crypto/dsa/dsa_ossl.c
214
BIGNUM k, l, m, *kinv = NULL, *r = NULL;
crypto/libressl/crypto/dsa/dsa_ossl.c
316
BIGNUM u1, u2, t1;
crypto/libressl/crypto/dsa/dsa_ossl.c
73
static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/libressl/crypto/dsa/dsa_ossl.c
74
BIGNUM **rp);
crypto/libressl/crypto/dsa/dsa_ossl.c
98
BIGNUM b, bm, bxr, binv, m, *kinv = NULL, *r = NULL, *s = NULL;
crypto/libressl/crypto/dsa/dsa_sign.c
73
DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/libressl/crypto/ec/ec2_mult.c
127
gf2m_Madd(const EC_GROUP *group, const BIGNUM *x, BIGNUM *x1, BIGNUM *z1,
crypto/libressl/crypto/ec/ec2_mult.c
128
const BIGNUM *x2, const BIGNUM *z2, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
130
BIGNUM *t1, *t2;
crypto/libressl/crypto/ec/ec2_mult.c
174
gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y, BIGNUM *x1,
crypto/libressl/crypto/ec/ec2_mult.c
175
BIGNUM *z1, BIGNUM *x2, BIGNUM *z2, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
177
BIGNUM *t3, *t4, *t5;
crypto/libressl/crypto/ec/ec2_mult.c
264
const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
266
BIGNUM *x1, *x2, *z1, *z2;
crypto/libressl/crypto/ec/ec2_mult.c
375
ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec2_mult.c
376
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
88
gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_mult.c
90
BIGNUM *t1;
crypto/libressl/crypto/ec/ec2_oct.c
183
BIGNUM *x, *y, *yxi;
crypto/libressl/crypto/ec/ec2_oct.c
298
BIGNUM *x, *y, *yxi;
crypto/libressl/crypto/ec/ec2_oct.c
95
const BIGNUM *x_, int y_bit, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_oct.c
98
BIGNUM *tmp, *x, *y, *z;
crypto/libressl/crypto/ec/ec2_smpl.c
204
const BIGNUM * p, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
crypto/libressl/crypto/ec/ec2_smpl.c
243
BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_smpl.c
281
BIGNUM *b;
crypto/libressl/crypto/ec/ec2_smpl.c
380
const BIGNUM * x, const BIGNUM * y, BN_CTX * ctx)
crypto/libressl/crypto/ec/ec2_smpl.c
409
const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_smpl.c
445
BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t;
crypto/libressl/crypto/ec/ec2_smpl.c
597
BIGNUM *lh, *y2;
crypto/libressl/crypto/ec/ec2_smpl.c
598
int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ec2_smpl.c
599
int (*field_sqr) (const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ec2_smpl.c
660
BIGNUM *aX, *aY, *bX, *bY;
crypto/libressl/crypto/ec/ec2_smpl.c
707
BIGNUM *x, *y;
crypto/libressl/crypto/ec/ec2_smpl.c
761
ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ec2_smpl.c
762
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec2_smpl.c
770
ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ec2_smpl.c
779
ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ec2_smpl.c
780
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_ameth.c
266
const BIGNUM *priv_key;
crypto/libressl/crypto/ec/ec_ameth.c
370
BIGNUM *order = BN_new();
crypto/libressl/crypto/ec/ec_ameth.c
445
BIGNUM *pub_key = NULL, *order = NULL;
crypto/libressl/crypto/ec/ec_ameth.c
449
const BIGNUM *priv_key;
crypto/libressl/crypto/ec/ec_asn1.c
1042
BIGNUM *p = NULL, *a = NULL, *b = NULL;
crypto/libressl/crypto/ec/ec_asn1.c
689
BIGNUM *tmp = NULL;
crypto/libressl/crypto/ec/ec_asn1.c
804
BIGNUM *tmp_1 = NULL, *tmp_2 = NULL;
crypto/libressl/crypto/ec/ec_asn1.c
902
BIGNUM *tmp = NULL;
crypto/libressl/crypto/ec/ec_check.c
63
BIGNUM *order;
crypto/libressl/crypto/ec/ec_curve.c
3322
BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL, *order = NULL;
crypto/libressl/crypto/ec/ec_cvt.c
149
EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/crypto/ec/ec_cvt.c
78
EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/crypto/ec/ec_key.c
264
BIGNUM *priv_key = NULL, *order = NULL;
crypto/libressl/crypto/ec/ec_key.c
316
const BIGNUM *order = NULL;
crypto/libressl/crypto/ec/ec_key.c
379
EC_KEY_set_public_key_affine_coordinates(EC_KEY * key, BIGNUM * x, BIGNUM * y)
crypto/libressl/crypto/ec/ec_key.c
382
BIGNUM *tx, *ty;
crypto/libressl/crypto/ec/ec_key.c
448
const BIGNUM *
crypto/libressl/crypto/ec/ec_key.c
455
EC_KEY_set_private_key(EC_KEY * key, const BIGNUM * priv_key)
crypto/libressl/crypto/ec/ec_kmeth.c
213
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/libressl/crypto/ec/ec_kmeth.c
242
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
crypto/libressl/crypto/ec/ec_kmeth.c
244
BIGNUM **kinvp, BIGNUM **rp),
crypto/libressl/crypto/ec/ec_kmeth.c
246
int dgst_len, const BIGNUM *in_kinv,
crypto/libressl/crypto/ec/ec_kmeth.c
247
const BIGNUM *in_r, EC_KEY *eckey))
crypto/libressl/crypto/ec/ec_kmeth.c
272
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/libressl/crypto/ec/ec_kmeth.c
310
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
crypto/libressl/crypto/ec/ec_kmeth.c
312
BIGNUM **kinvp, BIGNUM **rp),
crypto/libressl/crypto/ec/ec_kmeth.c
314
int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/libressl/crypto/ec/ec_lcl.h
111
int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
112
int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
137
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
139
BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
141
const BIGNUM *x, const BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
143
BIGNUM *x, BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
145
const BIGNUM *x, int y_bit, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
168
int (*mul_generator_ct)(const EC_GROUP *, EC_POINT *r, const BIGNUM *scalar, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
169
int (*mul_single_ct)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lcl.h
171
int (*mul_double_nonct)(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
crypto/libressl/crypto/ec/ec_lcl.h
172
const BIGNUM *p_scalar, const EC_POINT *point, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
182
int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
183
int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
184
int (*field_div)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
186
int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); /* e.g. to Montgomery */
crypto/libressl/crypto/ec/ec_lcl.h
187
int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); /* e.g. from Montgomery */
crypto/libressl/crypto/ec/ec_lcl.h
188
int (*field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
204
BIGNUM order, cofactor;
crypto/libressl/crypto/ec/ec_lcl.h
218
BIGNUM field; /* Field specification.
crypto/libressl/crypto/ec/ec_lcl.h
233
BIGNUM a, b; /* Curve coefficients.
crypto/libressl/crypto/ec/ec_lcl.h
248
int (*field_mod_func)(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); /* method-specific */
crypto/libressl/crypto/ec/ec_lcl.h
260
BIGNUM *priv_key;
crypto/libressl/crypto/ec/ec_lcl.h
296
BIGNUM X;
crypto/libressl/crypto/ec/ec_lcl.h
297
BIGNUM Y;
crypto/libressl/crypto/ec/ec_lcl.h
298
BIGNUM Z; /* Jacobian projective coordinates:
crypto/libressl/crypto/ec/ec_lcl.h
305
int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lcl.h
306
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
316
int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
317
int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
326
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
328
const EC_POINT *, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
330
const BIGNUM *x, const BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
332
BIGNUM *x, BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
334
const BIGNUM *x, int y_bit, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
347
int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
348
int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
350
int ec_GFp_simple_mul_generator_ct(const EC_GROUP *, EC_POINT *r, const BIGNUM *scalar, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
351
int ec_GFp_simple_mul_single_ct(const EC_GROUP *, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lcl.h
353
int ec_GFp_simple_mul_double_nonct(const EC_GROUP *, EC_POINT *r, const BIGNUM *g_scalar,
crypto/libressl/crypto/ec/ec_lcl.h
354
const BIGNUM *p_scalar, const EC_POINT *point, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
359
int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
363
int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
364
int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
365
int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
366
int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
367
int ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
373
int ec_GFp_nist_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
374
int ec_GFp_nist_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
375
int ec_GFp_nist_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
383
int ec_GF2m_simple_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
384
int ec_GF2m_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
393
const BIGNUM *x, const BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
395
BIGNUM *x, BIGNUM *y, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
397
const BIGNUM *x, int y_bit, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
410
int ec_GF2m_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
411
int ec_GF2m_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
412
int ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
416
int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lcl.h
417
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
422
int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lcl.h
423
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
430
int ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
431
int ec_GFp_nistp224_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
432
int ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
433
int ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
439
int ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
440
int ec_GFp_nistp256_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
441
int ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
442
int ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
459
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/libressl/crypto/ec/ec_lcl.h
465
*sig, unsigned int *siglen, const BIGNUM *kinv,
crypto/libressl/crypto/ec/ec_lcl.h
466
const BIGNUM *r, EC_KEY *eckey);
crypto/libressl/crypto/ec/ec_lcl.h
467
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/libressl/crypto/ec/ec_lcl.h
468
BIGNUM **rp);
crypto/libressl/crypto/ec/ec_lcl.h
470
const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/libressl/crypto/ec/ec_lcl.h
490
int ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *n, BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
491
int ec_GFp_nistp521_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
492
int ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
crypto/libressl/crypto/ec/ec_lcl.h
493
int ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
crypto/libressl/crypto/ec/ec_lcl.h
90
BIGNUM *bn_expand2(BIGNUM *a, int words);
crypto/libressl/crypto/ec/ec_lib.c
1009
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1017
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1025
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1040
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1048
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1183
EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ec_lib.c
1184
size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
1213
EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
crypto/libressl/crypto/ec/ec_lib.c
1214
const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
274
BIGNUM *q = NULL;
crypto/libressl/crypto/ec/ec_lib.c
337
const BIGNUM *order, const BIGNUM *cofactor)
crypto/libressl/crypto/ec/ec_lib.c
406
EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
421
EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
507
EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/libressl/crypto/ec/ec_lib.c
508
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
518
EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/libressl/crypto/ec/ec_lib.c
529
EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/libressl/crypto/ec/ec_lib.c
530
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
536
EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/libressl/crypto/ec/ec_lib.c
544
EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/libressl/crypto/ec/ec_lib.c
545
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
551
EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
crypto/libressl/crypto/ec/ec_lib.c
552
BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
584
BIGNUM *a1, *a2, *a3, *b1, *b2, *b3;
crypto/libressl/crypto/ec/ec_lib.c
942
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
958
const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
974
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
981
const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_lib.c
988
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_mult.c
195
compute_wNAF(const BIGNUM * scalar, int w, size_t * ret_len)
crypto/libressl/crypto/ec/ec_mult.c
335
ec_wNAF_mul(const EC_GROUP * group, EC_POINT * r, const BIGNUM * scalar,
crypto/libressl/crypto/ec/ec_mult.c
336
size_t num, const EC_POINT * points[], const BIGNUM * scalars[], BN_CTX * ctx)
crypto/libressl/crypto/ec/ec_mult.c
730
BIGNUM *order;
crypto/libressl/crypto/ec/ec_oct.c
113
const BIGNUM *x, int y_bit, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_oct.c
121
const BIGNUM *x, int y_bit, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_oct.c
75
const BIGNUM *x, int y_bit, BN_CTX *ctx)
crypto/libressl/crypto/ec/ec_print.c
168
BIGNUM *tmp_bn = NULL;
crypto/libressl/crypto/ec/ec_print.c
59
BIGNUM *
crypto/libressl/crypto/ec/ec_print.c
61
point_conversion_form_t form, BIGNUM * ret, BN_CTX * ctx)
crypto/libressl/crypto/ec/ec_print.c
87
const BIGNUM * bn, EC_POINT * point, BN_CTX * ctx)
crypto/libressl/crypto/ec/eck_prn.c
158
BIGNUM *p = NULL, *a = NULL, *b = NULL, *gen = NULL, *order = NULL,
crypto/libressl/crypto/ec/ecp_mont.c
190
ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_mont.c
191
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_mont.c
195
BIGNUM *one = NULL;
crypto/libressl/crypto/ec/ecp_mont.c
242
ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_mont.c
243
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_mont.c
254
ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_mont.c
266
ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_mont.c
278
ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_mont.c
290
ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_nist.c
128
ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p,
crypto/libressl/crypto/ec/ecp_nist.c
129
const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_nist.c
133
BIGNUM *tmp_bn;
crypto/libressl/crypto/ec/ecp_nist.c
168
ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
crypto/libressl/crypto/ec/ecp_nist.c
169
const BIGNUM *b, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_nist.c
195
ec_GFp_nist_field_sqr(const EC_GROUP * group, BIGNUM * r, const BIGNUM * a,
crypto/libressl/crypto/ec/ecp_oct.c
207
BIGNUM *x, *y;
crypto/libressl/crypto/ec/ecp_oct.c
312
BIGNUM *x, *y;
crypto/libressl/crypto/ec/ecp_oct.c
71
EC_POINT * point, const BIGNUM * x_, int y_bit, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_oct.c
74
BIGNUM *tmp1, *tmp2, *x, *y;
crypto/libressl/crypto/ec/ecp_smpl.c
1097
int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
1098
int (*field_sqr) (const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
1100
BIGNUM *tmp1, *tmp2, *Za23, *Zb23;
crypto/libressl/crypto/ec/ecp_smpl.c
1101
const BIGNUM *tmp1_, *tmp2_;
crypto/libressl/crypto/ec/ecp_smpl.c
1195
BIGNUM *x, *y;
crypto/libressl/crypto/ec/ecp_smpl.c
1233
BIGNUM *tmp0, *tmp1;
crypto/libressl/crypto/ec/ecp_smpl.c
1235
BIGNUM **heap = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1405
ec_GFp_simple_field_mul(const EC_GROUP * group, BIGNUM * r, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
1411
ec_GFp_simple_field_sqr(const EC_GROUP * group, BIGNUM * r, const BIGNUM * a, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
1426
BIGNUM *lambda = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1427
BIGNUM *tmp = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1513
ec_GFp_simple_mul_ct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
crypto/libressl/crypto/ec/ecp_smpl.c
1518
BIGNUM *k = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1519
BIGNUM *lambda = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1520
BIGNUM *cardinality = NULL;
crypto/libressl/crypto/ec/ecp_smpl.c
1707
const BIGNUM *scalar, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
1714
const BIGNUM *scalar, const EC_POINT *point, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
1721
const BIGNUM *g_scalar, const BIGNUM *p_scalar, const EC_POINT *point,
crypto/libressl/crypto/ec/ecp_smpl.c
180
const BIGNUM * p, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
184
BIGNUM *tmp_a;
crypto/libressl/crypto/ec/ecp_smpl.c
236
ec_GFp_simple_group_get_curve(const EC_GROUP * group, BIGNUM * p, BIGNUM * a, BIGNUM * b, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
290
BIGNUM *a, *b, *order, *tmp_1, *tmp_2;
crypto/libressl/crypto/ec/ecp_smpl.c
291
const BIGNUM *p = &group->field;
crypto/libressl/crypto/ec/ecp_smpl.c
419
EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z,
crypto/libressl/crypto/ec/ecp_smpl.c
472
const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
519
const BIGNUM * x, const BIGNUM * y, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
532
BIGNUM * x, BIGNUM * y, BN_CTX * ctx)
crypto/libressl/crypto/ec/ecp_smpl.c
535
BIGNUM *Z, *Z_1, *Z_2, *Z_3;
crypto/libressl/crypto/ec/ecp_smpl.c
536
const BIGNUM *Z_;
crypto/libressl/crypto/ec/ecp_smpl.c
640
int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
641
int (*field_sqr) (const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
642
const BIGNUM *p;
crypto/libressl/crypto/ec/ecp_smpl.c
644
BIGNUM *n0, *n1, *n2, *n3, *n4, *n5, *n6;
crypto/libressl/crypto/ec/ecp_smpl.c
829
int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
830
int (*field_sqr) (const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
831
const BIGNUM *p;
crypto/libressl/crypto/ec/ecp_smpl.c
833
BIGNUM *n0, *n1, *n2, *n3;
crypto/libressl/crypto/ec/ecp_smpl.c
989
int (*field_mul) (const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
990
int (*field_sqr) (const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
crypto/libressl/crypto/ec/ecp_smpl.c
991
const BIGNUM *p;
crypto/libressl/crypto/ec/ecp_smpl.c
993
BIGNUM *rh, *tmp, *Z4, *Z6;
crypto/libressl/crypto/ecdh/ech_key.c
102
BIGNUM *x = NULL, *y = NULL;
crypto/libressl/crypto/ecdh/ech_key.c
103
const BIGNUM *priv_key;
crypto/libressl/crypto/ecdsa/ecs_asn1.c
118
ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
crypto/libressl/crypto/ecdsa/ecs_asn1.c
126
const BIGNUM *
crypto/libressl/crypto/ecdsa/ecs_asn1.c
132
const BIGNUM *
crypto/libressl/crypto/ecdsa/ecs_asn1.c
139
ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
crypto/libressl/crypto/ecdsa/ecs_lib.c
200
BIGNUM *order = NULL;
crypto/libressl/crypto/ecdsa/ecs_locl.h
77
BIGNUM *r;
crypto/libressl/crypto/ecdsa/ecs_locl.h
78
BIGNUM *s;
crypto/libressl/crypto/ecdsa/ecs_locl.h
89
int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/libressl/crypto/ecdsa/ecs_locl.h
90
BIGNUM **rp);
crypto/libressl/crypto/ecdsa/ecs_locl.h
92
unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
crypto/libressl/crypto/ecdsa/ecs_locl.h
93
const BIGNUM *r, EC_KEY *eckey);
crypto/libressl/crypto/ecdsa/ecs_locl.h
95
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey);
crypto/libressl/crypto/ecdsa/ecs_ossl.c
118
unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
crypto/libressl/crypto/ecdsa/ecs_ossl.c
132
ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/libressl/crypto/ecdsa/ecs_ossl.c
135
BIGNUM *k = NULL, *r = NULL, *order = NULL, *X = NULL;
crypto/libressl/crypto/ecdsa/ecs_ossl.c
249
ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/libressl/crypto/ecdsa/ecs_ossl.c
260
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)
crypto/libressl/crypto/ecdsa/ecs_ossl.c
262
BIGNUM *b = NULL, *binv = NULL, *bm = NULL, *bxr = NULL;
crypto/libressl/crypto/ecdsa/ecs_ossl.c
263
BIGNUM *kinv = NULL, *m = NULL, *order = NULL, *range = NULL, *s;
crypto/libressl/crypto/ecdsa/ecs_ossl.c
264
const BIGNUM *ckinv, *priv_key;
crypto/libressl/crypto/ecdsa/ecs_ossl.c
410
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)
crypto/libressl/crypto/ecdsa/ecs_ossl.c
450
BIGNUM *order, *u1, *u2, *m, *X;
crypto/libressl/crypto/ecdsa/ecs_ossl.c
71
BIGNUM *order, BIGNUM *ret);
crypto/libressl/crypto/ecdsa/ecs_ossl.c
73
const BIGNUM *, const BIGNUM *, EC_KEY *eckey);
crypto/libressl/crypto/ecdsa/ecs_ossl.c
74
static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
crypto/libressl/crypto/ecdsa/ecs_ossl.c
75
BIGNUM **rp);
crypto/libressl/crypto/ecdsa/ecs_ossl.c
93
ecdsa_prepare_digest(const unsigned char *dgst, int dgst_len, BIGNUM *order,
crypto/libressl/crypto/ecdsa/ecs_ossl.c
94
BIGNUM *ret)
crypto/libressl/crypto/ecdsa/ecs_sign.c
104
ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
crypto/libressl/crypto/ecdsa/ecs_sign.c
77
ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv,
crypto/libressl/crypto/ecdsa/ecs_sign.c
78
const BIGNUM *rp, EC_KEY *eckey)
crypto/libressl/crypto/ecdsa/ecs_sign.c
95
unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
crypto/libressl/crypto/gost/gost_locl.h
101
extern ECDSA_SIG *gost2001_do_sign(BIGNUM *md, GOST_KEY *eckey);
crypto/libressl/crypto/gost/gost_locl.h
102
extern int gost2001_do_verify(BIGNUM *md, ECDSA_SIG *sig, GOST_KEY *ec);
crypto/libressl/crypto/gost/gost_locl.h
104
extern int VKO_compute_key(BIGNUM *X, BIGNUM *Y, const GOST_KEY *pkey,
crypto/libressl/crypto/gost/gost_locl.h
105
GOST_KEY *priv_key, const BIGNUM *ukm);
crypto/libressl/crypto/gost/gost_locl.h
106
extern BIGNUM *GOST_le2bn(const unsigned char *buf, size_t len, BIGNUM *bn);
crypto/libressl/crypto/gost/gost_locl.h
107
extern int GOST_bn2le(BIGNUM *bn, unsigned char *buf, int len);
crypto/libressl/crypto/gost/gostr341001.c
108
const BIGNUM *priv_key = NULL;
crypto/libressl/crypto/gost/gostr341001.c
147
gost2001_do_sign(BIGNUM *md, GOST_KEY *eckey)
crypto/libressl/crypto/gost/gostr341001.c
150
BIGNUM *order = NULL;
crypto/libressl/crypto/gost/gostr341001.c
152
const BIGNUM *priv_key;
crypto/libressl/crypto/gost/gostr341001.c
153
BIGNUM *r = NULL, *s = NULL, *X = NULL, *tmp = NULL, *tmp2 = NULL, *k =
crypto/libressl/crypto/gost/gostr341001.c
250
gost2001_do_verify(BIGNUM *md, ECDSA_SIG *sig, GOST_KEY *ec)
crypto/libressl/crypto/gost/gostr341001.c
254
BIGNUM *order;
crypto/libressl/crypto/gost/gostr341001.c
255
BIGNUM *e = NULL, *R = NULL, *v = NULL, *z1 = NULL, *z2 = NULL;
crypto/libressl/crypto/gost/gostr341001.c
256
BIGNUM *X = NULL, *tmp = NULL;
crypto/libressl/crypto/gost/gostr341001.c
330
VKO_compute_key(BIGNUM *X, BIGNUM *Y, const GOST_KEY *pkey, GOST_KEY *priv_key,
crypto/libressl/crypto/gost/gostr341001.c
331
const BIGNUM *ukm)
crypto/libressl/crypto/gost/gostr341001.c
333
BIGNUM *p = NULL, *order = NULL;
crypto/libressl/crypto/gost/gostr341001.c
334
const BIGNUM *key = GOST_KEY_get0_private_key(priv_key);
crypto/libressl/crypto/gost/gostr341001.c
374
BIGNUM *order = BN_new(), *d = BN_new();
crypto/libressl/crypto/gost/gostr341001.c
66
BIGNUM *
crypto/libressl/crypto/gost/gostr341001.c
67
GOST_le2bn(const unsigned char *buf, size_t len, BIGNUM *bn)
crypto/libressl/crypto/gost/gostr341001.c
83
GOST_bn2le(BIGNUM *bn, unsigned char *buf, int len)
crypto/libressl/crypto/gost/gostr341001_ameth.c
198
BIGNUM *X, *Y;
crypto/libressl/crypto/gost/gostr341001_ameth.c
252
BIGNUM *X = NULL, *Y = NULL;
crypto/libressl/crypto/gost/gostr341001_ameth.c
341
BIGNUM *X, *Y;
crypto/libressl/crypto/gost/gostr341001_ameth.c
388
const BIGNUM *key;
crypto/libressl/crypto/gost/gostr341001_ameth.c
408
BIGNUM *pk_num = NULL;
crypto/libressl/crypto/gost/gostr341001_key.c
116
BIGNUM *order = NULL;
crypto/libressl/crypto/gost/gostr341001_key.c
181
GOST_KEY_set_public_key_affine_coordinates(GOST_KEY *key, BIGNUM *x, BIGNUM *y)
crypto/libressl/crypto/gost/gostr341001_key.c
184
BIGNUM *tx, *ty;
crypto/libressl/crypto/gost/gostr341001_key.c
247
const BIGNUM *
crypto/libressl/crypto/gost/gostr341001_key.c
254
GOST_KEY_set_private_key(GOST_KEY *key, const BIGNUM *priv_key)
crypto/libressl/crypto/gost/gostr341001_key.c
297
BIGNUM *order = NULL;
crypto/libressl/crypto/gost/gostr341001_key.c
67
BIGNUM *priv_key;
crypto/libressl/crypto/gost/gostr341001_pmeth.c
239
BIGNUM *md;
crypto/libressl/crypto/gost/gostr341001_pmeth.c
292
BIGNUM *md;
crypto/libressl/crypto/gost/gostr341001_pmeth.c
325
BIGNUM *UKM, *X, *Y;
crypto/libressl/crypto/pem/pvkfmt.c
104
read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
crypto/libressl/crypto/pem/pvkfmt.c
449
write_lebn(unsigned char **out, const BIGNUM *bn, int len)
crypto/libressl/crypto/rsa/rsa_ameth.c
411
update_buflen(const BIGNUM *b, size_t *pbuflen)
crypto/libressl/crypto/rsa/rsa_chk.c
61
BIGNUM *i, *j, *k, *l, *m;
crypto/libressl/crypto/rsa/rsa_crpt.c
148
static BIGNUM *
crypto/libressl/crypto/rsa/rsa_crpt.c
149
rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p, const BIGNUM *q,
crypto/libressl/crypto/rsa/rsa_crpt.c
152
BIGNUM *ret = NULL, *r0, *r1, *r2;
crypto/libressl/crypto/rsa/rsa_crpt.c
181
BIGNUM *e;
crypto/libressl/crypto/rsa/rsa_crpt.c
182
BIGNUM n;
crypto/libressl/crypto/rsa/rsa_depr.c
78
BIGNUM *e = BN_new();
crypto/libressl/crypto/rsa/rsa_eay.c
132
static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx);
crypto/libressl/crypto/rsa/rsa_eay.c
164
BIGNUM *f, *ret;
crypto/libressl/crypto/rsa/rsa_eay.c
313
rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_eay.c
335
rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_eay.c
353
BIGNUM *f, *ret, *res;
crypto/libressl/crypto/rsa/rsa_eay.c
363
BIGNUM *unblind = NULL;
crypto/libressl/crypto/rsa/rsa_eay.c
429
BIGNUM d;
crypto/libressl/crypto/rsa/rsa_eay.c
480
BIGNUM *f, *ret;
crypto/libressl/crypto/rsa/rsa_eay.c
491
BIGNUM *unblind = NULL;
crypto/libressl/crypto/rsa/rsa_eay.c
548
BIGNUM d;
crypto/libressl/crypto/rsa/rsa_eay.c
604
BIGNUM *f, *ret;
crypto/libressl/crypto/rsa/rsa_eay.c
700
RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_eay.c
702
BIGNUM *r1, *m1, *vrfy;
crypto/libressl/crypto/rsa/rsa_eay.c
703
BIGNUM dmp1, dmq1, c, pr1;
crypto/libressl/crypto/rsa/rsa_eay.c
716
BIGNUM p, q;
crypto/libressl/crypto/rsa/rsa_eay.c
832
BIGNUM d;
crypto/libressl/crypto/rsa/rsa_gen.c
75
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_gen.c
85
RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_gen.c
93
rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_gen.c
95
BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL, *tmp;
crypto/libressl/crypto/rsa/rsa_gen.c
96
BIGNUM pr0, d, p;
crypto/libressl/crypto/rsa/rsa_lib.c
251
RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
crypto/libressl/crypto/rsa/rsa_lib.c
262
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
crypto/libressl/crypto/rsa/rsa_lib.c
284
RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
crypto/libressl/crypto/rsa/rsa_lib.c
285
const BIGNUM **iqmp)
crypto/libressl/crypto/rsa/rsa_lib.c
296
RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
crypto/libressl/crypto/rsa/rsa_lib.c
320
RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q)
crypto/libressl/crypto/rsa/rsa_lib.c
329
RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q)
crypto/libressl/crypto/rsa/rsa_lib.c
346
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
352
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
358
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
364
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
370
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
376
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
382
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_lib.c
388
const BIGNUM *
crypto/libressl/crypto/rsa/rsa_locl.h
21
int (*rsa_mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
crypto/libressl/crypto/rsa/rsa_locl.h
23
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/crypto/rsa/rsa_locl.h
24
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); /* Can be null */
crypto/libressl/crypto/rsa/rsa_locl.h
45
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_locl.h
57
BIGNUM *n;
crypto/libressl/crypto/rsa/rsa_locl.h
58
BIGNUM *e;
crypto/libressl/crypto/rsa/rsa_locl.h
59
BIGNUM *d;
crypto/libressl/crypto/rsa/rsa_locl.h
60
BIGNUM *p;
crypto/libressl/crypto/rsa/rsa_locl.h
61
BIGNUM *q;
crypto/libressl/crypto/rsa/rsa_locl.h
62
BIGNUM *dmp1;
crypto/libressl/crypto/rsa/rsa_locl.h
63
BIGNUM *dmq1;
crypto/libressl/crypto/rsa/rsa_locl.h
64
BIGNUM *iqmp;
crypto/libressl/crypto/rsa/rsa_meth.c
126
RSA_meth_set_mod_exp(RSA_METHOD *meth, int (*mod_exp)(BIGNUM *r0,
crypto/libressl/crypto/rsa/rsa_meth.c
127
const BIGNUM *i, RSA *rsa, BN_CTX *ctx))
crypto/libressl/crypto/rsa/rsa_meth.c
134
RSA_meth_set_bn_mod_exp(RSA_METHOD *meth, int (*bn_mod_exp)(BIGNUM *r,
crypto/libressl/crypto/rsa/rsa_meth.c
135
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
crypto/libressl/crypto/rsa/rsa_meth.c
151
BIGNUM *e, BN_GENCB *cb))
crypto/libressl/crypto/rsa/rsa_meth.c
206
(*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i,
crypto/libressl/crypto/rsa/rsa_meth.c
213
(*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r,
crypto/libressl/crypto/rsa/rsa_meth.c
214
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
crypto/libressl/crypto/rsa/rsa_meth.c
227
(*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
crypto/libressl/crypto/rsa/rsa_pmeth.c
509
if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) ||
crypto/libressl/crypto/rsa/rsa_pmeth.c
510
BN_is_one((BIGNUM *)p2)) {
crypto/libressl/crypto/rsa/rsa_pmeth.c
668
BIGNUM *pubexp = NULL;
crypto/libressl/crypto/rsa/rsa_pmeth.c
82
BIGNUM *pub_exp;
crypto/libressl/crypto/ts/ts_lib.c
77
BIGNUM num_bn;
crypto/libressl/crypto/x509/x509_asid.c
498
BIGNUM *bn = NULL;
crypto/libressl/crypto/x509/x509_asid.c
606
BIGNUM *bn = NULL;
crypto/libressl/crypto/x509/x509_utl.c
160
bn_to_string(const BIGNUM *bn)
crypto/libressl/crypto/x509/x509_utl.c
189
BIGNUM *bntmp;
crypto/libressl/crypto/x509/x509_utl.c
204
BIGNUM *bntmp;
crypto/libressl/crypto/x509/x509_utl.c
219
BIGNUM *bn = NULL;
crypto/libressl/crypto/x509/x509_utl.c
69
char *bn_to_string(const BIGNUM *bn);
crypto/libressl/include/openssl/asn1.h
754
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
crypto/libressl/include/openssl/asn1.h
755
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
crypto/libressl/include/openssl/asn1.h
761
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
crypto/libressl/include/openssl/asn1.h
762
BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
crypto/libressl/include/openssl/asn1.h
839
int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
crypto/libressl/include/openssl/bn.h
231
void BN_set_flags(BIGNUM *b, int n);
crypto/libressl/include/openssl/bn.h
232
int BN_get_flags(const BIGNUM *b, int n);
crypto/libressl/include/openssl/bn.h
233
void BN_with_flags(BIGNUM *dest, const BIGNUM *src, int flags);
crypto/libressl/include/openssl/bn.h
338
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/libressl/include/openssl/bn.h
339
int BN_is_zero(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
340
int BN_is_one(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
341
int BN_is_word(const BIGNUM *a, const BN_ULONG w);
crypto/libressl/include/openssl/bn.h
342
int BN_is_odd(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
346
void BN_zero_ex(BIGNUM *a);
crypto/libressl/include/openssl/bn.h
354
const BIGNUM *BN_value_one(void);
crypto/libressl/include/openssl/bn.h
362
BIGNUM *BN_CTX_get(BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
364
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/libressl/include/openssl/bn.h
365
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
crypto/libressl/include/openssl/bn.h
366
int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
crypto/libressl/include/openssl/bn.h
367
int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
crypto/libressl/include/openssl/bn.h
368
int BN_num_bits(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
370
BIGNUM *BN_new(void);
crypto/libressl/include/openssl/bn.h
371
void BN_init(BIGNUM *);
crypto/libressl/include/openssl/bn.h
372
void BN_clear_free(BIGNUM *a);
crypto/libressl/include/openssl/bn.h
373
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
374
void BN_swap(BIGNUM *a, BIGNUM *b);
crypto/libressl/include/openssl/bn.h
375
BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/libressl/include/openssl/bn.h
376
int BN_bn2bin(const BIGNUM *a, unsigned char *to);
crypto/libressl/include/openssl/bn.h
377
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
crypto/libressl/include/openssl/bn.h
378
BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/libressl/include/openssl/bn.h
379
int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
crypto/libressl/include/openssl/bn.h
380
BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/libressl/include/openssl/bn.h
381
int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
crypto/libressl/include/openssl/bn.h
382
int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
383
int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
384
int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
385
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
386
int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
387
int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
392
void BN_set_negative(BIGNUM *b, int n);
crypto/libressl/include/openssl/bn.h
394
int BN_is_negative(const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
397
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
crypto/libressl/include/openssl/bn.h
401
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
402
int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
403
int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m);
crypto/libressl/include/openssl/bn.h
404
int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
405
int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m);
crypto/libressl/include/openssl/bn.h
406
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
407
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
408
int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
409
int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
410
int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
crypto/libressl/include/openssl/bn.h
411
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
412
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
crypto/libressl/include/openssl/bn.h
414
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
415
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
416
int BN_mul_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
417
int BN_add_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
418
int BN_sub_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
419
int BN_set_word(BIGNUM *a, BN_ULONG w);
crypto/libressl/include/openssl/bn.h
420
BN_ULONG BN_get_word(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
422
int BN_cmp(const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
423
void BN_free(BIGNUM *a);
crypto/libressl/include/openssl/bn.h
424
int BN_is_bit_set(const BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
425
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
426
int BN_lshift1(BIGNUM *r, const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
427
int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
430
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
431
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
432
int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
433
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/include/openssl/bn.h
435
int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
436
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
crypto/libressl/include/openssl/bn.h
437
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
438
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
crypto/libressl/include/openssl/bn.h
439
int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
crypto/libressl/include/openssl/bn.h
440
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
crypto/libressl/include/openssl/bn.h
442
int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
443
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
445
int BN_mask_bits(BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
446
int BN_print_fp(FILE *fp, const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
447
int BN_print(BIO *fp, const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
448
int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
449
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
450
int BN_rshift1(BIGNUM *r, const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
451
void BN_clear(BIGNUM *a);
crypto/libressl/include/openssl/bn.h
452
BIGNUM *BN_dup(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
453
int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
crypto/libressl/include/openssl/bn.h
454
int BN_set_bit(BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
455
int BN_clear_bit(BIGNUM *a, int n);
crypto/libressl/include/openssl/bn.h
456
char * BN_bn2hex(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
457
char * BN_bn2dec(const BIGNUM *a);
crypto/libressl/include/openssl/bn.h
458
int BN_hex2bn(BIGNUM **a, const char *str);
crypto/libressl/include/openssl/bn.h
459
int BN_dec2bn(BIGNUM **a, const char *str);
crypto/libressl/include/openssl/bn.h
460
int BN_asc2bn(BIGNUM **a, const char *str);
crypto/libressl/include/openssl/bn.h
462
int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
464
int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); /* returns -2 for error */
crypto/libressl/include/openssl/bn.h
466
BIGNUM *BN_mod_inverse(BIGNUM *ret,
crypto/libressl/include/openssl/bn.h
467
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
469
BIGNUM *BN_mod_sqrt(BIGNUM *ret,
crypto/libressl/include/openssl/bn.h
470
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
472
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
crypto/libressl/include/openssl/bn.h
478
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
crypto/libressl/include/openssl/bn.h
479
const BIGNUM *add, const BIGNUM *rem,
crypto/libressl/include/openssl/bn.h
481
int BN_is_prime(const BIGNUM *p, int nchecks,
crypto/libressl/include/openssl/bn.h
484
int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
crypto/libressl/include/openssl/bn.h
490
int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
crypto/libressl/include/openssl/bn.h
491
const BIGNUM *rem, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
492
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
493
int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
crypto/libressl/include/openssl/bn.h
496
int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
498
int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
crypto/libressl/include/openssl/bn.h
499
const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2,
crypto/libressl/include/openssl/bn.h
500
const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb);
crypto/libressl/include/openssl/bn.h
501
int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
crypto/libressl/include/openssl/bn.h
502
BIGNUM *Xp1, BIGNUM *Xp2,
crypto/libressl/include/openssl/bn.h
503
const BIGNUM *Xp,
crypto/libressl/include/openssl/bn.h
504
const BIGNUM *e, BN_CTX *ctx,
crypto/libressl/include/openssl/bn.h
509
int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
511
int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
crypto/libressl/include/openssl/bn.h
513
int BN_from_montgomery(BIGNUM *r, const BIGNUM *a,
crypto/libressl/include/openssl/bn.h
516
int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
519
const BIGNUM *mod, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
525
BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
crypto/libressl/include/openssl/bn.h
528
int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
529
int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
530
int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
crypto/libressl/include/openssl/bn.h
531
int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
crypto/libressl/include/openssl/bn.h
540
const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
crypto/libressl/include/openssl/bn.h
541
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
542
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx),
crypto/libressl/include/openssl/bn.h
553
int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
554
int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
crypto/libressl/include/openssl/bn.h
556
int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
557
const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
558
int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
crypto/libressl/include/openssl/bn.h
572
int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); /*r = a + b*/
crypto/libressl/include/openssl/bn.h
574
int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p); /*r=a mod p*/
crypto/libressl/include/openssl/bn.h
576
BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
577
const BIGNUM *p, BN_CTX *ctx); /* r = (a * b) mod p */
crypto/libressl/include/openssl/bn.h
579
BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
582
BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
585
BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
586
const BIGNUM *p, BN_CTX *ctx); /* r = (a / b) mod p */
crypto/libressl/include/openssl/bn.h
588
BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
589
const BIGNUM *p, BN_CTX *ctx); /* r = (a ^ b) mod p */
crypto/libressl/include/openssl/bn.h
591
BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
593
int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
crypto/libressl/include/openssl/bn.h
601
int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
crypto/libressl/include/openssl/bn.h
603
int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
605
int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
crypto/libressl/include/openssl/bn.h
607
int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
crypto/libressl/include/openssl/bn.h
609
int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
611
int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
crypto/libressl/include/openssl/bn.h
613
int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
crypto/libressl/include/openssl/bn.h
615
int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
crypto/libressl/include/openssl/bn.h
617
int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
crypto/libressl/include/openssl/bn.h
618
int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
crypto/libressl/include/openssl/bn.h
624
int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
625
int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
626
int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
627
int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
628
int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
crypto/libressl/include/openssl/bn.h
630
const BIGNUM *BN_get0_nist_prime_192(void);
crypto/libressl/include/openssl/bn.h
631
const BIGNUM *BN_get0_nist_prime_224(void);
crypto/libressl/include/openssl/bn.h
632
const BIGNUM *BN_get0_nist_prime_256(void);
crypto/libressl/include/openssl/bn.h
633
const BIGNUM *BN_get0_nist_prime_384(void);
crypto/libressl/include/openssl/bn.h
634
const BIGNUM *BN_get0_nist_prime_521(void);
crypto/libressl/include/openssl/bn.h
637
BIGNUM *get_rfc2409_prime_768(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
638
BIGNUM *get_rfc2409_prime_1024(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
639
BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
640
BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
643
BIGNUM *get_rfc3526_prime_1536(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
644
BIGNUM *get_rfc3526_prime_2048(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
645
BIGNUM *get_rfc3526_prime_3072(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
646
BIGNUM *get_rfc3526_prime_4096(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
647
BIGNUM *get_rfc3526_prime_6144(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
648
BIGNUM *get_rfc3526_prime_8192(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
649
BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
650
BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
651
BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
652
BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
653
BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
crypto/libressl/include/openssl/bn.h
654
BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
crypto/libressl/include/openssl/dh.h
149
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
crypto/libressl/include/openssl/dh.h
150
const BIGNUM **g);
crypto/libressl/include/openssl/dh.h
151
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
crypto/libressl/include/openssl/dh.h
152
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
crypto/libressl/include/openssl/dh.h
153
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
crypto/libressl/include/openssl/dh.h
154
const BIGNUM *DH_get0_p(const DH *dh);
crypto/libressl/include/openssl/dh.h
155
const BIGNUM *DH_get0_q(const DH *dh);
crypto/libressl/include/openssl/dh.h
156
const BIGNUM *DH_get0_g(const DH *dh);
crypto/libressl/include/openssl/dh.h
157
const BIGNUM *DH_get0_priv_key(const DH *dh);
crypto/libressl/include/openssl/dh.h
158
const BIGNUM *DH_get0_pub_key(const DH *dh);
crypto/libressl/include/openssl/dh.h
175
int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
crypto/libressl/include/openssl/dh.h
177
int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
crypto/libressl/include/openssl/dsa.h
124
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
crypto/libressl/include/openssl/dsa.h
125
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
crypto/libressl/include/openssl/dsa.h
145
int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp);
crypto/libressl/include/openssl/dsa.h
205
void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
crypto/libressl/include/openssl/dsa.h
206
const BIGNUM **g);
crypto/libressl/include/openssl/dsa.h
207
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
crypto/libressl/include/openssl/dsa.h
208
void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key);
crypto/libressl/include/openssl/dsa.h
209
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
crypto/libressl/include/openssl/dsa.h
210
const BIGNUM *DSA_get0_p(const DSA *d);
crypto/libressl/include/openssl/dsa.h
211
const BIGNUM *DSA_get0_q(const DSA *d);
crypto/libressl/include/openssl/dsa.h
212
const BIGNUM *DSA_get0_g(const DSA *d);
crypto/libressl/include/openssl/dsa.h
213
const BIGNUM *DSA_get0_pub_key(const DSA *d);
crypto/libressl/include/openssl/dsa.h
214
const BIGNUM *DSA_get0_priv_key(const DSA *d);
crypto/libressl/include/openssl/ec.h
1009
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/libressl/include/openssl/ec.h
237
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor);
crypto/libressl/include/openssl/ec.h
251
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
261
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
285
int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
crypto/libressl/include/openssl/ec.h
286
const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
287
int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
crypto/libressl/include/openssl/ec.h
298
int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
308
int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
319
int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
329
int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
372
EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
382
EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
459
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
461
BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
463
const BIGNUM *x, int y_bit, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
468
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
470
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
484
const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
496
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
507
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
518
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
529
const BIGNUM *x, int y_bit, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
541
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
552
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
563
const BIGNUM *x, int y_bit, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
593
BIGNUM *EC_POINT_point2bn(const EC_GROUP *, const EC_POINT *,
crypto/libressl/include/openssl/ec.h
594
point_conversion_form_t form, BIGNUM *, BN_CTX *);
crypto/libressl/include/openssl/ec.h
595
EC_POINT *EC_POINT_bn2point(const EC_GROUP *, const BIGNUM *,
crypto/libressl/include/openssl/ec.h
671
int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
682
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
crypto/libressl/include/openssl/ec.h
808
const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
crypto/libressl/include/openssl/ec.h
816
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
crypto/libressl/include/openssl/ec.h
879
int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y);
crypto/libressl/include/openssl/ec.h
997
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
crypto/libressl/include/openssl/ecdsa.h
132
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
crypto/libressl/include/openssl/ecdsa.h
134
const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
crypto/libressl/include/openssl/ecdsa.h
135
const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
crypto/libressl/include/openssl/ecdsa.h
142
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
crypto/libressl/include/openssl/ecdsa.h
165
const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
crypto/libressl/include/openssl/ecdsa.h
211
int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
crypto/libressl/include/openssl/ecdsa.h
212
BIGNUM **rp);
crypto/libressl/include/openssl/ecdsa.h
242
unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv,
crypto/libressl/include/openssl/ecdsa.h
243
const BIGNUM *rp, EC_KEY *eckey);
crypto/libressl/include/openssl/ecdsa.h
270
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
crypto/libressl/include/openssl/ecdsa.h
272
BIGNUM **kinvp, BIGNUM **rp),
crypto/libressl/include/openssl/ecdsa.h
274
int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/libressl/include/openssl/ecdsa.h
284
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
crypto/libressl/include/openssl/ecdsa.h
286
BIGNUM **kinvp, BIGNUM **rp),
crypto/libressl/include/openssl/ecdsa.h
288
int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r,
crypto/libressl/include/openssl/ecdsa.h
83
const BIGNUM *inv, const BIGNUM *rp, EC_KEY *eckey);
crypto/libressl/include/openssl/ecdsa.h
84
int (*ecdsa_sign_setup)(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
crypto/libressl/include/openssl/ecdsa.h
85
BIGNUM **r);
crypto/libressl/include/openssl/gost.h
181
int GOST_KEY_set_public_key_affine_coordinates(GOST_KEY * key, BIGNUM * x, BIGNUM * y);
crypto/libressl/include/openssl/gost.h
186
const BIGNUM * GOST_KEY_get0_private_key(const GOST_KEY * key);
crypto/libressl/include/openssl/gost.h
187
int GOST_KEY_set_private_key(GOST_KEY * key, const BIGNUM * priv_key);
crypto/libressl/include/openssl/ossl_typ.h
101
#ifdef BIGNUM
crypto/libressl/include/openssl/rsa.h
250
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/include/openssl/rsa.h
377
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
crypto/libressl/include/openssl/rsa.h
378
const BIGNUM **d);
crypto/libressl/include/openssl/rsa.h
379
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
crypto/libressl/include/openssl/rsa.h
380
void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
crypto/libressl/include/openssl/rsa.h
381
const BIGNUM **iqmp);
crypto/libressl/include/openssl/rsa.h
382
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
crypto/libressl/include/openssl/rsa.h
383
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
crypto/libressl/include/openssl/rsa.h
384
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
crypto/libressl/include/openssl/rsa.h
385
const BIGNUM *RSA_get0_n(const RSA *r);
crypto/libressl/include/openssl/rsa.h
386
const BIGNUM *RSA_get0_e(const RSA *r);
crypto/libressl/include/openssl/rsa.h
387
const BIGNUM *RSA_get0_d(const RSA *r);
crypto/libressl/include/openssl/rsa.h
388
const BIGNUM *RSA_get0_p(const RSA *r);
crypto/libressl/include/openssl/rsa.h
389
const BIGNUM *RSA_get0_q(const RSA *r);
crypto/libressl/include/openssl/rsa.h
390
const BIGNUM *RSA_get0_dmp1(const RSA *r);
crypto/libressl/include/openssl/rsa.h
391
const BIGNUM *RSA_get0_dmq1(const RSA *r);
crypto/libressl/include/openssl/rsa.h
392
const BIGNUM *RSA_get0_iqmp(const RSA *r);
crypto/libressl/include/openssl/rsa.h
434
int RSA_meth_set_mod_exp(RSA_METHOD *meth, int (*mod_exp)(BIGNUM *r0,
crypto/libressl/include/openssl/rsa.h
435
const BIGNUM *i, RSA *rsa, BN_CTX *ctx));
crypto/libressl/include/openssl/rsa.h
436
int RSA_meth_set_bn_mod_exp(RSA_METHOD *meth, int (*bn_mod_exp)(BIGNUM *r,
crypto/libressl/include/openssl/rsa.h
437
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
crypto/libressl/include/openssl/rsa.h
441
BIGNUM *e, BN_GENCB *cb));
crypto/libressl/include/openssl/rsa.h
453
int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i,
crypto/libressl/include/openssl/rsa.h
455
int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r,
crypto/libressl/include/openssl/rsa.h
456
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
crypto/libressl/include/openssl/rsa.h
459
int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
crypto/libressl/ssl/ssl_kex.c
162
BIGNUM *p = NULL, *g = NULL;
crypto/libressl/ssl/ssl_kex.c
206
BIGNUM *pub_key = NULL;
crypto/libressl/ssl/ssl_kex.c
274
BIGNUM *order = NULL;
crypto/libressl/ssl/ssl_kex.c
34
BIGNUM *p = NULL, *g = NULL;
crypto/libressl/ssl/ssl_kex.c
62
BIGNUM *p = NULL, *g = NULL;
crypto/libressl/tls/tls_signer.c
384
tls_ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
crypto/libressl/tls/tls_signer.c
385
const BIGNUM *rp, EC_KEY *eckey)
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
250
int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
crypto/openssh/kex.h
255
const BIGNUM *, const BIGNUM *, const BIGNUM *,
crypto/openssh/kex.h
256
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
575
const BIGNUM *dh_p, *dh_g;
crypto/openssh/monitor_wrap.c
229
BIGNUM *p, *g;
crypto/openssh/packet.c
2657
sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v)
crypto/openssh/packet.c
2723
sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp)
crypto/openssh/packet.h
194
int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v);
crypto/openssh/packet.h
206
int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
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
240
BIGNUM *sig_r = NULL, *sig_s = NULL;
crypto/openssh/ssh-ecdsa.c
204
BIGNUM *exponent = NULL;
crypto/openssh/ssh-ecdsa.c
232
const BIGNUM *sig_r, *sig_s;
crypto/openssh/ssh-ecdsa.c
297
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
2971
BIGNUM *start = NULL;
crypto/openssh/ssh-keygen.c
459
buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
crypto/openssh/ssh-keygen.c
488
BIGNUM *dsa_p = NULL, *dsa_q = NULL, *dsa_g = NULL;
crypto/openssh/ssh-keygen.c
489
BIGNUM *dsa_pub_key = NULL, *dsa_priv_key = NULL;
crypto/openssh/ssh-keygen.c
491
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
crypto/openssh/ssh-keygen.c
492
BIGNUM *rsa_p = NULL, *rsa_q = NULL, *rsa_iqmp = NULL;
crypto/openssh/ssh-pkcs11-client.c
327
ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
crypto/openssh/ssh-pkcs11-client.c
328
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11-client.c
494
int (*ec_set_private)(EC_KEY *key, const BIGNUM *priv_key);
crypto/openssh/ssh-pkcs11-client.c
497
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11.c
1079
const BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-pkcs11.c
513
ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
crypto/openssh/ssh-pkcs11.c
514
const BIGNUM *rp, EC_KEY *ec)
crypto/openssh/ssh-pkcs11.c
523
BIGNUM *r = NULL, *s = NULL;
crypto/openssh/ssh-pkcs11.c
583
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
crypto/openssh/ssh-pkcs11.c
835
BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-rsa.c
110
const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q;
crypto/openssh/ssh-rsa.c
135
BIGNUM *f4 = NULL;
crypto/openssh/ssh-rsa.c
162
const BIGNUM *rsa_n, *rsa_e;
crypto/openssh/ssh-rsa.c
163
BIGNUM *rsa_n_dup = NULL, *rsa_e_dup = NULL;
crypto/openssh/ssh-rsa.c
190
BIGNUM *rsa_n = NULL, *rsa_e = NULL;
crypto/openssh/ssh-rsa.c
220
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
crypto/openssh/ssh-rsa.c
221
BIGNUM *rsa_iqmp = NULL, *rsa_p = NULL, *rsa_q = NULL;
crypto/openssh/ssh-rsa.c
336
ssh_rsa_complete_crt_parameters(struct sshkey *key, const BIGNUM *iqmp)
crypto/openssh/ssh-rsa.c
338
const BIGNUM *rsa_p, *rsa_q, *rsa_d;
crypto/openssh/ssh-rsa.c
339
BIGNUM *aux = NULL, *d_consttime = NULL;
crypto/openssh/ssh-rsa.c
340
BIGNUM *rsa_dmq1 = NULL, *rsa_dmp1 = NULL, *rsa_iqmp = NULL;
crypto/openssh/ssh-rsa.c
396
const BIGNUM *rsa_n;
crypto/openssh/ssh-rsa.c
44
const BIGNUM *rsa_n;
crypto/openssh/ssh-rsa.c
479
const BIGNUM *rsa_n;
crypto/openssh/ssh-rsa.c
70
const BIGNUM *rsa_e_a, *rsa_n_a;
crypto/openssh/ssh-rsa.c
71
const BIGNUM *rsa_e_b, *rsa_n_b;
crypto/openssh/ssh-rsa.c
93
const BIGNUM *rsa_n, *rsa_e;
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
219
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
crypto/openssh/sshbuf.h
220
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
crypto/openssh/sshkey.c
1334
const BIGNUM *rsa_n;
crypto/openssh/sshkey.c
2592
BIGNUM *order = NULL, *x = NULL, *y = NULL, *tmp = NULL;
crypto/openssh/sshkey.c
2666
BIGNUM *order = NULL, *tmp = NULL;
crypto/openssh/sshkey.c
2700
BIGNUM *x = NULL, *y = NULL;
crypto/openssh/sshkey.c
2734
const BIGNUM *exponent;
crypto/openssh/sshkey.h
313
int ssh_rsa_complete_crt_parameters(struct sshkey *, const BIGNUM *);
games/factor/factor.c
100
BIGNUM *val;
games/factor/factor.c
162
pr_fact(BIGNUM *val)
games/factor/factor.c
192
BIGNUM *bnfact;
games/factor/factor.c
220
pr_print(BIGNUM *val)
games/factor/factor.c
242
pollard_pminus1(BIGNUM *val)
games/factor/factor.c
244
BIGNUM *base, *num, *i, *x;
games/factor/factor.c
287
BN_print_dec_fp(FILE *fp, const BIGNUM *num)
games/factor/factor.c
301
BN_print_fp(FILE *fp, const BIGNUM *num)
games/factor/factor.c
307
BN_print_dec_fp(FILE *fp, const BIGNUM *num)
games/factor/factor.c
313
BN_dec2bn(BIGNUM **a, const char *str)
games/factor/factor.c
323
BN_hex2bn(BIGNUM **a, const char *str)
games/factor/factor.c
333
BN_div_word(BIGNUM *a, BN_ULONG b)
games/factor/factor.c
70
static void pollard_pminus1(BIGNUM *); /* print factors for big numbers */
games/factor/factor.c
77
#define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
games/factor/factor.c
82
static int BN_dec2bn(BIGNUM **a, const char *str);
games/factor/factor.c
83
static int BN_hex2bn(BIGNUM **a, const char *str);
games/factor/factor.c
84
static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG);
games/factor/factor.c
85
static void BN_print_fp(FILE *, const BIGNUM *);
games/factor/factor.c
88
static void BN_print_dec_fp(FILE *, const BIGNUM *);
games/factor/factor.c
90
static void pr_fact(BIGNUM *); /* print factors of a value */
games/factor/factor.c
91
static void pr_print(BIGNUM *); /* print a prime */
lib/libssh/openbsd-compat/openssl-compat.h
105
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
lib/libssh/openbsd-compat/openssl-compat.h
106
const BIGNUM **d);
lib/libssh/openbsd-compat/openssl-compat.h
110
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
lib/libssh/openbsd-compat/openssl-compat.h
114
void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
lib/libssh/openbsd-compat/openssl-compat.h
115
const BIGNUM **iqmp);
lib/libssh/openbsd-compat/openssl-compat.h
119
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
lib/libssh/openbsd-compat/openssl-compat.h
123
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
lib/libssh/openbsd-compat/openssl-compat.h
127
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
lib/libssh/openbsd-compat/openssl-compat.h
131
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
lib/libssh/openbsd-compat/openssl-compat.h
135
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
lib/libssh/openbsd-compat/openssl-compat.h
140
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
lib/libssh/openbsd-compat/openssl-compat.h
144
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
lib/libssh/openbsd-compat/openssl-compat.h
149
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
lib/libssh/openbsd-compat/openssl-compat.h
150
const BIGNUM **g);
lib/libssh/openbsd-compat/openssl-compat.h
154
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
lib/libssh/openbsd-compat/openssl-compat.h
158
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
lib/libssh/openbsd-compat/openssl-compat.h
162
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
lib/libssh/openbsd-compat/openssl-compat.h
73
void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
lib/libssh/openbsd-compat/openssl-compat.h
74
const BIGNUM **g);
lib/libssh/openbsd-compat/openssl-compat.h
78
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
lib/libssh/openbsd-compat/openssl-compat.h
82
void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
lib/libssh/openbsd-compat/openssl-compat.h
83
const BIGNUM **priv_key);
lib/libssh/openbsd-compat/openssl-compat.h
87
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
lib/libtelnet/pk.c
128
BIGNUM *public, *secret, *common, *modulus;
lib/libtelnet/pk.c
170
static BIGNUM *
lib/libtelnet/pk.c
173
BIGNUM *n = NULL;
lib/libtelnet/pk.c
201
BIGNUM *pk, *sk, *tmp, *base, *root, *modulus;
lib/libtelnet/pk.c
65
extractideakey(BIGNUM *ck, IdeaData *ideakey)
lib/libtelnet/pk.c
67
BIGNUM *a, *z;
lib/libtelnet/pk.c
96
extractdeskey(BIGNUM *ck, DesData *deskey)
lib/libtelnet/pk.c
98
BIGNUM *a, *z;
usr.bin/dc/bcode.c
102
static bool bsqrt_stop(const BIGNUM *, const BIGNUM *, u_int *);
usr.bin/dc/bcode.c
1182
BIGNUM *i, *f;
usr.bin/dc/bcode.c
1243
BIGNUM *one;
usr.bin/dc/bcode.c
1269
bsqrt_stop(const BIGNUM *x, const BIGNUM *y, u_int *onecount)
usr.bin/dc/bcode.c
1271
BIGNUM *r;
usr.bin/dc/bcode.c
1289
BIGNUM *x, *y;
usr.bin/dc/bcode.c
321
pbn(const char *str, const BIGNUM *n)
usr.bin/dc/bcode.c
345
scale_number(BIGNUM *n, int s)
usr.bin/dc/bcode.c
360
BIGNUM *a, *p;
usr.bin/dc/bcode.c
384
split_number(const struct number *n, BIGNUM *i, BIGNUM *f)
usr.bin/dc/bcode.c
397
BIGNUM *a, *p;
usr.bin/dc/bcode.h
27
BIGNUM *number;
usr.bin/dc/bcode.h
92
void scale_number(BIGNUM *, int);
usr.bin/dc/bcode.h
96
void pbn(const char *, const BIGNUM *);
usr.bin/dc/bcode.h
98
void split_number(const struct number *, BIGNUM *, BIGNUM *);
usr.bin/dc/inout.c
328
BIGNUM *mult, *stop;
usr.bin/dc/inout.c
390
BIGNUM *v;
usr.bin/newkey/generic.c
100
BIGNUM *pk, *sk, *tmp, *base, *root, *modulus;
usr.bin/newkey/generic.c
54
static BIGNUM *itobn(long i);
usr.bin/newkey/generic.c
69
static BIGNUM *
usr.bin/newkey/generic.c
72
BIGNUM *n = NULL;
usr.sbin/keyserv/setkey.c
156
BIGNUM *public, *secret, *common;
usr.sbin/keyserv/setkey.c
224
BIGNUM *public, *secret, *common;
usr.sbin/keyserv/setkey.c
282
extractdeskey(BIGNUM *ck, des_block *deskey)
usr.sbin/keyserv/setkey.c
284
BIGNUM *a;
usr.sbin/keyserv/setkey.c
59
static BIGNUM *modulus;
usr.sbin/keyserv/setkey.c
63
static void extractdeskey ( BIGNUM *, des_block * );