lib/libcrypto/asn1/a_enum.c
174
BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai)
lib/libcrypto/asn1/a_enum.c
217
BIGNUM *
lib/libcrypto/asn1/a_enum.c
218
ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn)
lib/libcrypto/asn1/a_enum.c
220
BIGNUM *ret;
lib/libcrypto/asn1/a_int.c
334
BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
lib/libcrypto/asn1/a_int.c
381
BIGNUM *
lib/libcrypto/asn1/a_int.c
382
ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
lib/libcrypto/asn1/a_int.c
384
BIGNUM *ret;
lib/libcrypto/asn1/asn1.h
710
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
lib/libcrypto/asn1/asn1.h
711
BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
lib/libcrypto/asn1/asn1.h
717
ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
lib/libcrypto/asn1/asn1.h
718
BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
lib/libcrypto/asn1/x_bignum.c
127
BN_free((BIGNUM *)*pval);
lib/libcrypto/asn1/x_bignum.c
145
const BIGNUM *bn;
lib/libcrypto/asn1/x_bignum.c
151
bn = (const BIGNUM *)*pval;
lib/libcrypto/asn1/x_bignum.c
171
BIGNUM *bn;
lib/libcrypto/asn1/x_bignum.c
199
const BIGNUM *bn = (BIGNUM *)*pval;
lib/libcrypto/bn/bn.h
164
void BN_set_flags(BIGNUM *b, int n);
lib/libcrypto/bn/bn.h
165
int BN_get_flags(const BIGNUM *b, int n);
lib/libcrypto/bn/bn.h
166
void BN_with_flags(BIGNUM *dest, const BIGNUM *src, int flags);
lib/libcrypto/bn/bn.h
271
int BN_abs_is_word(const BIGNUM *a, const BN_ULONG w);
lib/libcrypto/bn/bn.h
272
int BN_is_zero(const BIGNUM *a);
lib/libcrypto/bn/bn.h
273
int BN_is_one(const BIGNUM *a);
lib/libcrypto/bn/bn.h
274
int BN_is_word(const BIGNUM *a, const BN_ULONG w);
lib/libcrypto/bn/bn.h
275
int BN_is_odd(const BIGNUM *a);
lib/libcrypto/bn/bn.h
277
void BN_zero(BIGNUM *a);
lib/libcrypto/bn/bn.h
278
int BN_one(BIGNUM *a);
lib/libcrypto/bn/bn.h
280
const BIGNUM *BN_value_one(void);
lib/libcrypto/bn/bn.h
284
BIGNUM *BN_CTX_get(BN_CTX *ctx);
lib/libcrypto/bn/bn.h
286
int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
lib/libcrypto/bn/bn.h
287
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
lib/libcrypto/bn/bn.h
288
int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
lib/libcrypto/bn/bn.h
289
int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
lib/libcrypto/bn/bn.h
290
int BN_num_bits(const BIGNUM *a);
lib/libcrypto/bn/bn.h
292
BIGNUM *BN_new(void);
lib/libcrypto/bn/bn.h
293
void BN_clear_free(BIGNUM *a);
lib/libcrypto/bn/bn.h
294
BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
295
void BN_swap(BIGNUM *a, BIGNUM *b);
lib/libcrypto/bn/bn.h
296
BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
lib/libcrypto/bn/bn.h
297
int BN_bn2bin(const BIGNUM *a, unsigned char *to);
lib/libcrypto/bn/bn.h
298
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
lib/libcrypto/bn/bn.h
299
BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
lib/libcrypto/bn/bn.h
300
int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
lib/libcrypto/bn/bn.h
301
BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
lib/libcrypto/bn/bn.h
302
int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
lib/libcrypto/bn/bn.h
303
int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
304
int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
305
int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
306
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
307
int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
308
int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
309
void BN_set_negative(BIGNUM *b, int n);
lib/libcrypto/bn/bn.h
311
int BN_is_negative(const BIGNUM *b);
lib/libcrypto/bn/bn.h
313
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
lib/libcrypto/bn/bn.h
317
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
318
int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
319
int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m);
lib/libcrypto/bn/bn.h
320
int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
321
int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m);
lib/libcrypto/bn/bn.h
322
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn.h
323
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
324
int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
325
int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
326
int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
lib/libcrypto/bn/bn.h
327
int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
328
int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
lib/libcrypto/bn/bn.h
330
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
331
BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
332
int BN_mul_word(BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
333
int BN_add_word(BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
334
int BN_sub_word(BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
335
int BN_set_word(BIGNUM *a, BN_ULONG w);
lib/libcrypto/bn/bn.h
336
BN_ULONG BN_get_word(const BIGNUM *a);
lib/libcrypto/bn/bn.h
338
int BN_cmp(const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
339
void BN_free(BIGNUM *a);
lib/libcrypto/bn/bn.h
340
int BN_is_bit_set(const BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
341
int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
342
int BN_lshift1(BIGNUM *r, const BIGNUM *a);
lib/libcrypto/bn/bn.h
343
int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
345
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn.h
346
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
347
int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn.h
348
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/bn/bn.h
349
int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn.h
350
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont);
lib/libcrypto/bn/bn.h
352
int BN_mask_bits(BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
353
int BN_print_fp(FILE *fp, const BIGNUM *a);
lib/libcrypto/bn/bn.h
354
int BN_print(BIO *fp, const BIGNUM *a);
lib/libcrypto/bn/bn.h
355
int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
356
int BN_rshift1(BIGNUM *r, const BIGNUM *a);
lib/libcrypto/bn/bn.h
357
void BN_clear(BIGNUM *a);
lib/libcrypto/bn/bn.h
358
BIGNUM *BN_dup(const BIGNUM *a);
lib/libcrypto/bn/bn.h
359
int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
lib/libcrypto/bn/bn.h
360
int BN_set_bit(BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
361
int BN_clear_bit(BIGNUM *a, int n);
lib/libcrypto/bn/bn.h
362
char * BN_bn2hex(const BIGNUM *a);
lib/libcrypto/bn/bn.h
363
char * BN_bn2dec(const BIGNUM *a);
lib/libcrypto/bn/bn.h
364
int BN_hex2bn(BIGNUM **a, const char *str);
lib/libcrypto/bn/bn.h
365
int BN_dec2bn(BIGNUM **a, const char *str);
lib/libcrypto/bn/bn.h
366
int BN_asc2bn(BIGNUM **a, const char *str);
lib/libcrypto/bn/bn.h
367
int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
368
int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); /* returns -2 for error */
lib/libcrypto/bn/bn.h
369
BIGNUM *BN_mod_inverse(BIGNUM *ret,
lib/libcrypto/bn/bn.h
370
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
371
BIGNUM *BN_mod_sqrt(BIGNUM *ret,
lib/libcrypto/bn/bn.h
372
const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
374
void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords);
lib/libcrypto/bn/bn.h
378
int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
lib/libcrypto/bn/bn.h
379
const BIGNUM *rem, BN_GENCB *cb);
lib/libcrypto/bn/bn.h
380
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
lib/libcrypto/bn/bn.h
381
int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
lib/libcrypto/bn/bn.h
385
int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn.h
387
int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
lib/libcrypto/bn/bn.h
389
int BN_from_montgomery(BIGNUM *r, const BIGNUM *a,
lib/libcrypto/bn/bn.h
392
int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
395
const BIGNUM *mod, BN_CTX *ctx);
lib/libcrypto/bn/bn.h
398
BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
lib/libcrypto/bn/bn.h
399
BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
lib/libcrypto/bn/bn.h
402
BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
lib/libcrypto/bn/bn.h
403
BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
lib/libcrypto/bn/bn.h
404
BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
lib/libcrypto/bn/bn.h
405
BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
lib/libcrypto/bn/bn.h
406
BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
lib/libcrypto/bn/bn.h
407
BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
lib/libcrypto/bn/bn_add.c
163
BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_add.c
186
BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_add.c
216
BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_add.c
246
BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_bpsw.c
123
bn_lucas(BIGNUM *U, BIGNUM *V, const BIGNUM *k, const BIGNUM *D,
lib/libcrypto/bn/bn_bpsw.c
124
const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_bpsw.c
159
bn_strong_lucas_test(int *is_pseudoprime, const BIGNUM *n, const BIGNUM *D,
lib/libcrypto/bn/bn_bpsw.c
162
BIGNUM *k, *U, *V;
lib/libcrypto/bn/bn_bpsw.c
238
bn_strong_lucas_selfridge(int *is_pseudoprime, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_bpsw.c
240
BIGNUM *D, *two;
lib/libcrypto/bn/bn_bpsw.c
30
bn_div_by_two_mod_odd_n(BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_bpsw.c
321
bn_fermat(int *is_pseudoprime, const BIGNUM *n, const BIGNUM *n_minus_one,
lib/libcrypto/bn/bn_bpsw.c
322
const BIGNUM *k, int s, const BIGNUM *base, BN_CTX *ctx, BN_MONT_CTX *mctx)
lib/libcrypto/bn/bn_bpsw.c
324
BIGNUM *power;
lib/libcrypto/bn/bn_bpsw.c
384
bn_miller_rabin(int *is_pseudoprime, const BIGNUM *n, BN_CTX *ctx,
lib/libcrypto/bn/bn_bpsw.c
388
BIGNUM *base, *k, *n_minus_one;
lib/libcrypto/bn/bn_bpsw.c
482
bn_is_prime_bpsw(int *is_pseudoprime, const BIGNUM *n, BN_CTX *in_ctx,
lib/libcrypto/bn/bn_bpsw.c
63
bn_lucas_step(BIGNUM *U, BIGNUM *V, int digit, const BIGNUM *D,
lib/libcrypto/bn/bn_bpsw.c
64
const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_bpsw.c
66
BIGNUM *tmp;
lib/libcrypto/bn/bn_const.c
131
BIGNUM *
lib/libcrypto/bn/bn_const.c
132
BN_get_rfc3526_prime_2048(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
181
BIGNUM *
lib/libcrypto/bn/bn_const.c
182
BN_get_rfc3526_prime_3072(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
242
BIGNUM *
lib/libcrypto/bn/bn_const.c
243
BN_get_rfc3526_prime_4096(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
26
BIGNUM *
lib/libcrypto/bn/bn_const.c
27
BN_get_rfc2409_prime_768(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
324
BIGNUM *
lib/libcrypto/bn/bn_const.c
325
BN_get_rfc3526_prime_6144(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
428
BIGNUM *
lib/libcrypto/bn/bn_const.c
429
BN_get_rfc3526_prime_8192(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
460
BIGNUM *
lib/libcrypto/bn/bn_const.c
461
BN_get_rfc7919_prime_2048(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
501
BIGNUM *
lib/libcrypto/bn/bn_const.c
502
BN_get_rfc7919_prime_3072(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
553
BIGNUM *
lib/libcrypto/bn/bn_const.c
554
BN_get_rfc7919_prime_4096(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
56
BIGNUM *
lib/libcrypto/bn/bn_const.c
57
BN_get_rfc2409_prime_1024(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
626
BIGNUM *
lib/libcrypto/bn/bn_const.c
627
BN_get_rfc7919_prime_6144(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
721
BIGNUM *
lib/libcrypto/bn/bn_const.c
722
BN_get_rfc7919_prime_8192(BIGNUM *bn)
lib/libcrypto/bn/bn_const.c
91
BIGNUM *
lib/libcrypto/bn/bn_const.c
92
BN_get_rfc3526_prime_1536(BIGNUM *bn)
lib/libcrypto/bn/bn_convert.c
134
BN_bn2bin(const BIGNUM *bn, unsigned char *to)
lib/libcrypto/bn/bn_convert.c
141
BN_bn2binpad(const BIGNUM *bn, unsigned char *to, int to_len)
lib/libcrypto/bn/bn_convert.c
151
bn_bin2bn_cbs(BIGNUM **bnp, CBS *cbs, int lebin)
lib/libcrypto/bn/bn_convert.c
153
BIGNUM *bn = NULL;
lib/libcrypto/bn/bn_convert.c
204
BIGNUM *
lib/libcrypto/bn/bn_convert.c
205
BN_bin2bn(const unsigned char *d, int len, BIGNUM *bn)
lib/libcrypto/bn/bn_convert.c
222
BN_bn2lebinpad(const BIGNUM *bn, unsigned char *to, int to_len)
lib/libcrypto/bn/bn_convert.c
231
BIGNUM *
lib/libcrypto/bn/bn_convert.c
232
BN_lebin2bn(const unsigned char *d, int len, BIGNUM *bn)
lib/libcrypto/bn/bn_convert.c
249
BN_asc2bn(BIGNUM **bnp, const char *s)
lib/libcrypto/bn/bn_convert.c
302
BN_bn2dec(const BIGNUM *bn)
lib/libcrypto/bn/bn_convert.c
305
BIGNUM *tmp = NULL;
lib/libcrypto/bn/bn_convert.c
381
bn_dec2bn_cbs(BIGNUM **bnp, CBS *cbs)
lib/libcrypto/bn/bn_convert.c
384
BIGNUM *bn = NULL;
lib/libcrypto/bn/bn_convert.c
466
BN_dec2bn(BIGNUM **bnp, const char *s)
lib/libcrypto/bn/bn_convert.c
486
bn_bn2hex_internal(const BIGNUM *bn, int include_sign, int nibbles_only,
lib/libcrypto/bn/bn_convert.c
553
bn_bn2hex_nosign(const BIGNUM *bn, char **out, size_t *out_len)
lib/libcrypto/bn/bn_convert.c
559
bn_bn2hex_nibbles(const BIGNUM *bn, char **out, size_t *out_len)
lib/libcrypto/bn/bn_convert.c
565
BN_bn2hex(const BIGNUM *bn)
lib/libcrypto/bn/bn_convert.c
578
bn_hex2bn_cbs(BIGNUM **bnp, CBS *cbs)
lib/libcrypto/bn/bn_convert.c
581
BIGNUM *bn = NULL;
lib/libcrypto/bn/bn_convert.c
667
BN_hex2bn(BIGNUM **bnp, const char *s)
lib/libcrypto/bn/bn_convert.c
687
BN_bn2mpi(const BIGNUM *bn, unsigned char *d)
lib/libcrypto/bn/bn_convert.c
727
BIGNUM *
lib/libcrypto/bn/bn_convert.c
728
BN_mpi2bn(const unsigned char *d, int n, BIGNUM *bn_in)
lib/libcrypto/bn/bn_convert.c
730
BIGNUM *bn = bn_in;
lib/libcrypto/bn/bn_convert.c
82
static int bn_dec2bn_cbs(BIGNUM **bnp, CBS *cbs);
lib/libcrypto/bn/bn_convert.c
83
static int bn_hex2bn_cbs(BIGNUM **bnp, CBS *cbs);
lib/libcrypto/bn/bn_convert.c
88
bn_bn2binpad_internal(const BIGNUM *bn, uint8_t *out, int out_len,
lib/libcrypto/bn/bn_ctx.c
108
BIGNUM *
lib/libcrypto/bn/bn_ctx.c
111
BIGNUM *bn = NULL;
lib/libcrypto/bn/bn_ctx.c
29
BIGNUM **bignums;
lib/libcrypto/bn/bn_ctx.c
41
BIGNUM **bignums = NULL;
lib/libcrypto/bn/bn_div.c
226
BN_div_internal(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator,
lib/libcrypto/bn/bn_div.c
227
const BIGNUM *divisor, BN_CTX *ctx, int ct)
lib/libcrypto/bn/bn_div.c
230
BIGNUM *tmp, wnum, *snum, *sdiv, *res;
lib/libcrypto/bn/bn_div.c
423
BN_div(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator,
lib/libcrypto/bn/bn_div.c
424
const BIGNUM *divisor, BN_CTX *ctx)
lib/libcrypto/bn/bn_div.c
436
BN_div_nonct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator,
lib/libcrypto/bn/bn_div.c
437
const BIGNUM *divisor, BN_CTX *ctx)
lib/libcrypto/bn/bn_div.c
443
BN_div_ct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator,
lib/libcrypto/bn/bn_div.c
444
const BIGNUM *divisor, BN_CTX *ctx)
lib/libcrypto/bn/bn_exp.c
1083
BN_mod_exp_internal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
1133
BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
1142
BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
1149
BN_mod_exp_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
1156
BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
lib/libcrypto/bn/bn_exp.c
1157
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m, BN_CTX *ctx,
lib/libcrypto/bn/bn_exp.c
1162
BIGNUM *d, *r;
lib/libcrypto/bn/bn_exp.c
1163
const BIGNUM *a_mod_m;
lib/libcrypto/bn/bn_exp.c
1165
BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE];
lib/libcrypto/bn/bn_exp.c
124
BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
lib/libcrypto/bn/bn_exp.c
126
BIGNUM *rr, *v;
lib/libcrypto/bn/bn_exp.c
179
BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
184
BIGNUM *d, *q;
lib/libcrypto/bn/bn_exp.c
186
BIGNUM *val[TABLE_SIZE];
lib/libcrypto/bn/bn_exp.c
313
MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top, unsigned char *buf,
lib/libcrypto/bn/bn_exp.c
331
MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx,
lib/libcrypto/bn/bn_exp.c
394
BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_exp.c
395
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont)
lib/libcrypto/bn/bn_exp.c
404
BIGNUM tmp, am;
lib/libcrypto/bn/bn_exp.c
644
BN_mod_exp_mont_internal(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
649
BIGNUM *d, *r;
lib/libcrypto/bn/bn_exp.c
650
const BIGNUM *aa;
lib/libcrypto/bn/bn_exp.c
652
BIGNUM *val[TABLE_SIZE];
lib/libcrypto/bn/bn_exp.c
784
BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
793
BN_mod_exp_mont_ct(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
800
BN_mod_exp_mont_nonct(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
807
BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
814
BIGNUM *d, *r, *t;
lib/libcrypto/bn/bn_exp.c
815
BIGNUM *swap_tmp;
lib/libcrypto/bn/bn_exp.c
953
BN_mod_exp_reciprocal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
lib/libcrypto/bn/bn_exp.c
958
BIGNUM *aa, *q;
lib/libcrypto/bn/bn_exp.c
960
BIGNUM *val[TABLE_SIZE];
lib/libcrypto/bn/bn_gcd.c
115
static BIGNUM *
lib/libcrypto/bn/bn_gcd.c
116
euclid(BIGNUM *a, BIGNUM *b)
lib/libcrypto/bn/bn_gcd.c
118
BIGNUM *t;
lib/libcrypto/bn/bn_gcd.c
162
BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
lib/libcrypto/bn/bn_gcd.c
164
BIGNUM *a, *b, *t;
lib/libcrypto/bn/bn_gcd.c
203
static BIGNUM *
lib/libcrypto/bn/bn_gcd.c
204
BN_gcd_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n,
lib/libcrypto/bn/bn_gcd.c
207
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
lib/libcrypto/bn/bn_gcd.c
208
BIGNUM local_A, local_B;
lib/libcrypto/bn/bn_gcd.c
209
BIGNUM *pA, *pB;
lib/libcrypto/bn/bn_gcd.c
210
BIGNUM *ret = NULL;
lib/libcrypto/bn/bn_gcd.c
265
BIGNUM *tmp;
lib/libcrypto/bn/bn_gcd.c
343
BN_gcd_ct(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
lib/libcrypto/bn/bn_gcd.c
353
static BIGNUM *
lib/libcrypto/bn/bn_gcd.c
354
BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n,
lib/libcrypto/bn/bn_gcd.c
357
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
lib/libcrypto/bn/bn_gcd.c
358
BIGNUM local_A, local_B;
lib/libcrypto/bn/bn_gcd.c
359
BIGNUM *pA, *pB;
lib/libcrypto/bn/bn_gcd.c
360
BIGNUM *ret = NULL;
lib/libcrypto/bn/bn_gcd.c
418
BIGNUM *tmp;
lib/libcrypto/bn/bn_gcd.c
514
static BIGNUM *
lib/libcrypto/bn/bn_gcd.c
515
BN_mod_inverse_internal(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx,
lib/libcrypto/bn/bn_gcd.c
518
BIGNUM *A, *B, *X, *Y, *M, *D, *T, *R = NULL;
lib/libcrypto/bn/bn_gcd.c
519
BIGNUM *ret = NULL;
lib/libcrypto/bn/bn_gcd.c
655
BIGNUM *tmp;
lib/libcrypto/bn/bn_gcd.c
800
BIGNUM *
lib/libcrypto/bn/bn_gcd.c
801
BN_mod_inverse(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_gcd.c
809
BIGNUM *
lib/libcrypto/bn/bn_gcd.c
810
BN_mod_inverse_nonct(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_gcd.c
815
BIGNUM *
lib/libcrypto/bn/bn_gcd.c
816
BN_mod_inverse_ct(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_internal.h
28
int bn_bitsize(const BIGNUM *bn);
lib/libcrypto/bn/bn_isqrt.c
200
bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx)
lib/libcrypto/bn/bn_isqrt.c
43
bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *in_ctx)
lib/libcrypto/bn/bn_isqrt.c
46
BIGNUM *a, *b;
lib/libcrypto/bn/bn_kron.c
66
BN_kronecker(const BIGNUM *A, const BIGNUM *B, BN_CTX *ctx)
lib/libcrypto/bn/bn_kron.c
70
BIGNUM *a, *b, *tmp;
lib/libcrypto/bn/bn_lib.c
102
BN_free(BIGNUM *bn)
lib/libcrypto/bn/bn_lib.c
120
BN_clear_free(BIGNUM *bn)
lib/libcrypto/bn/bn_lib.c
127
BN_set_flags(BIGNUM *b, int n)
lib/libcrypto/bn/bn_lib.c
134
BN_get_flags(const BIGNUM *b, int n)
lib/libcrypto/bn/bn_lib.c
141
BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags)
lib/libcrypto/bn/bn_lib.c
154
static const BIGNUM bn_value_one = {
lib/libcrypto/bn/bn_lib.c
162
const BIGNUM *
lib/libcrypto/bn/bn_lib.c
177
BN_num_bits(const BIGNUM *bn)
lib/libcrypto/bn/bn_lib.c
184
bn_correct_top(BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
191
bn_expand_internal(BIGNUM *bn, int words)
lib/libcrypto/bn/bn_lib.c
221
bn_expand_bits(BIGNUM *bn, size_t bits)
lib/libcrypto/bn/bn_lib.c
234
bn_expand_bytes(BIGNUM *bn, size_t bytes)
lib/libcrypto/bn/bn_lib.c
247
bn_wexpand(BIGNUM *bn, int words)
lib/libcrypto/bn/bn_lib.c
258
BIGNUM *
lib/libcrypto/bn/bn_lib.c
259
BN_dup(const BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
261
BIGNUM *t;
lib/libcrypto/bn/bn_lib.c
288
BIGNUM *
lib/libcrypto/bn/bn_lib.c
289
BN_copy(BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_lib.c
310
bn_copy(BIGNUM *dst, const BIGNUM *src)
lib/libcrypto/bn/bn_lib.c
316
BN_swap(BIGNUM *a, BIGNUM *b)
lib/libcrypto/bn/bn_lib.c
349
BN_get_word(const BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
361
BN_set_word(BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_lib.c
373
BN_ucmp(const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_lib.c
392
BN_cmp(const BIGNUM *a, const BIGNUM *b)
lib/libcrypto/bn/bn_lib.c
413
BN_set_bit(BIGNUM *a, int n)
lib/libcrypto/bn/bn_lib.c
436
BN_clear_bit(BIGNUM *a, int n)
lib/libcrypto/bn/bn_lib.c
458
BN_is_bit_set(const BIGNUM *a, int n)
lib/libcrypto/bn/bn_lib.c
473
BN_mask_bits(BIGNUM *a, int n)
lib/libcrypto/bn/bn_lib.c
499
BN_set_negative(BIGNUM *bn, int neg)
lib/libcrypto/bn/bn_lib.c
515
BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
lib/libcrypto/bn/bn_lib.c
565
BN_swap_ct(BN_ULONG condition, BIGNUM *a, BIGNUM *b, size_t nwords)
lib/libcrypto/bn/bn_lib.c
611
BN_zero(BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
619
BN_one(BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
626
BN_abs_is_word(const BIGNUM *a, const BN_ULONG w)
lib/libcrypto/bn/bn_lib.c
633
BN_is_zero(const BIGNUM *bn)
lib/libcrypto/bn/bn_lib.c
646
BN_is_one(const BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
653
BN_is_word(const BIGNUM *a, const BN_ULONG w)
lib/libcrypto/bn/bn_lib.c
660
BN_is_odd(const BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
667
BN_is_negative(const BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
70
BIGNUM *
lib/libcrypto/bn/bn_lib.c
73
BIGNUM *bn;
lib/libcrypto/bn/bn_lib.c
75
if ((bn = calloc(1, sizeof(BIGNUM))) == NULL) {
lib/libcrypto/bn/bn_lib.c
86
BN_init(BIGNUM *a)
lib/libcrypto/bn/bn_lib.c
88
memset(a, 0, sizeof(BIGNUM));
lib/libcrypto/bn/bn_lib.c
92
BN_clear(BIGNUM *a)
lib/libcrypto/bn/bn_local.h
146
BIGNUM RR; /* Used to convert to Montgomery form */
lib/libcrypto/bn/bn_local.h
147
BIGNUM N; /* Modulus */
lib/libcrypto/bn/bn_local.h
270
void bn_correct_top(BIGNUM *a);
lib/libcrypto/bn/bn_local.h
271
int bn_expand_bits(BIGNUM *a, size_t bits);
lib/libcrypto/bn/bn_local.h
272
int bn_expand_bytes(BIGNUM *a, size_t bytes);
lib/libcrypto/bn/bn_local.h
273
int bn_wexpand(BIGNUM *a, int words);
lib/libcrypto/bn/bn_local.h
281
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
lib/libcrypto/bn/bn_local.h
282
int bn_rand_in_range(BIGNUM *rnd, const BIGNUM *lower_inc, const BIGNUM *upper_exc);
lib/libcrypto/bn/bn_local.h
283
int bn_rand_interval(BIGNUM *rnd, BN_ULONG lower_word, const BIGNUM *upper_exc);
lib/libcrypto/bn/bn_local.h
285
void BN_init(BIGNUM *);
lib/libcrypto/bn/bn_local.h
287
BN_MONT_CTX *BN_MONT_CTX_create(const BIGNUM *bn, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
289
BN_RECP_CTX *BN_RECP_CTX_create(const BIGNUM *N);
lib/libcrypto/bn/bn_local.h
291
int BN_div_reciprocal(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
lib/libcrypto/bn/bn_local.h
293
int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
lib/libcrypto/bn/bn_local.h
295
int BN_mod_sqr_reciprocal(BIGNUM *r, const BIGNUM *x, BN_RECP_CTX *recp,
lib/libcrypto/bn/bn_local.h
297
int BN_mod_exp_reciprocal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
298
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
301
int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
302
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
303
int BN_mod_exp_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
304
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
305
int BN_mod_exp_mont_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
306
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/bn/bn_local.h
307
int BN_mod_exp_mont_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
308
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/bn/bn_local.h
309
int BN_div_nonct(BIGNUM *q, BIGNUM *r, const BIGNUM *n, const BIGNUM *d,
lib/libcrypto/bn/bn_local.h
311
int BN_div_ct(BIGNUM *q, BIGNUM *r, const BIGNUM *n, const BIGNUM *d,
lib/libcrypto/bn/bn_local.h
313
int BN_mod_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
314
int BN_mod_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
316
int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
317
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/bn/bn_local.h
318
int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
lib/libcrypto/bn/bn_local.h
319
const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
lib/libcrypto/bn/bn_local.h
322
int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_local.h
323
const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
325
BIGNUM *BN_mod_inverse_ct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,
lib/libcrypto/bn/bn_local.h
327
BIGNUM *BN_mod_inverse_nonct(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,
lib/libcrypto/bn/bn_local.h
329
int BN_gcd_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
331
int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords);
lib/libcrypto/bn/bn_local.h
333
int bn_copy(BIGNUM *dst, const BIGNUM *src);
lib/libcrypto/bn/bn_local.h
335
int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
336
int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx);
lib/libcrypto/bn/bn_local.h
338
int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *ctx, size_t rounds);
lib/libcrypto/bn/bn_local.h
340
int bn_printf(BIO *bio, const BIGNUM *bn, int indent, const char *fmt, ...)
lib/libcrypto/bn/bn_local.h
344
int bn_bn2hex_nosign(const BIGNUM *bn, char **out, size_t *out_len);
lib/libcrypto/bn/bn_local.h
345
int bn_bn2hex_nibbles(const BIGNUM *bn, char **out, size_t *out_len);
lib/libcrypto/bn/bn_local.h
347
BIGNUM *BN_get_rfc7919_prime_2048(BIGNUM *bn);
lib/libcrypto/bn/bn_local.h
348
BIGNUM *BN_get_rfc7919_prime_3072(BIGNUM *bn);
lib/libcrypto/bn/bn_local.h
349
BIGNUM *BN_get_rfc7919_prime_4096(BIGNUM *bn);
lib/libcrypto/bn/bn_local.h
350
BIGNUM *BN_get_rfc7919_prime_6144(BIGNUM *bn);
lib/libcrypto/bn/bn_local.h
351
BIGNUM *BN_get_rfc7919_prime_8192(BIGNUM *bn);
lib/libcrypto/bn/bn_mod.c
118
BN_mod_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
124
BN_mod_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
136
BN_nnmod(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
151
BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
lib/libcrypto/bn/bn_mod.c
169
BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
lib/libcrypto/bn/bn_mod.c
184
BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
lib/libcrypto/bn/bn_mod.c
202
BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
lib/libcrypto/bn/bn_mod.c
217
BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
lib/libcrypto/bn/bn_mod.c
220
BIGNUM *rr;
lib/libcrypto/bn/bn_mod.c
256
BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
263
BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
280
BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m)
lib/libcrypto/bn/bn_mod.c
295
BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod.c
297
BIGNUM *abs_m;
lib/libcrypto/bn/bn_mod.c
334
BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m)
lib/libcrypto/bn/bn_mod_sqrt.c
112
bn_mod_sqrt_p_is_3_mod_4(BIGNUM *out_sqrt, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
115
BIGNUM *n;
lib/libcrypto/bn/bn_mod_sqrt.c
146
bn_mod_sqrt_p_is_5_mod_8(BIGNUM *out_sqrt, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
149
BIGNUM *b, *i, *n, *tmp;
lib/libcrypto/bn/bn_mod_sqrt.c
208
bn_mod_sqrt_n_is_non_residue(int *is_non_residue, const BIGNUM *n,
lib/libcrypto/bn/bn_mod_sqrt.c
209
const BIGNUM *p, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
236
bn_mod_sqrt_find_sylow_generator(BIGNUM *out_generator, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
237
const BIGNUM *q, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
239
BIGNUM *n, *p_abs;
lib/libcrypto/bn/bn_mod_sqrt.c
311
bn_mod_sqrt_tonelli_shanks_initialize(BIGNUM *b, BIGNUM *x, const BIGNUM *a,
lib/libcrypto/bn/bn_mod_sqrt.c
312
const BIGNUM *p, const BIGNUM *q, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
314
BIGNUM *k;
lib/libcrypto/bn/bn_mod_sqrt.c
354
bn_mod_sqrt_tonelli_shanks_find_exponent(int *out_exponent, const BIGNUM *b,
lib/libcrypto/bn/bn_mod_sqrt.c
355
const BIGNUM *p, int r, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
357
BIGNUM *x;
lib/libcrypto/bn/bn_mod_sqrt.c
419
bn_mod_sqrt_tonelli_shanks_update(BIGNUM *b, BIGNUM *x, BIGNUM *y,
lib/libcrypto/bn/bn_mod_sqrt.c
420
const BIGNUM *p, int m, int r, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
422
BIGNUM *t;
lib/libcrypto/bn/bn_mod_sqrt.c
457
bn_mod_sqrt_p_is_1_mod_8(BIGNUM *out_sqrt, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
460
BIGNUM *b, *q, *x, *y;
lib/libcrypto/bn/bn_mod_sqrt.c
568
bn_mod_sqrt_normalize(BIGNUM *sqrt, const BIGNUM *p, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
570
BIGNUM *x;
lib/libcrypto/bn/bn_mod_sqrt.c
599
bn_mod_sqrt_verify(const BIGNUM *a, const BIGNUM *sqrt_a, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
602
BIGNUM *x;
lib/libcrypto/bn/bn_mod_sqrt.c
627
bn_mod_sqrt_internal(BIGNUM *out_sqrt, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/bn/bn_mod_sqrt.c
630
BIGNUM *a_mod_p, *sqrt;
lib/libcrypto/bn/bn_mod_sqrt.c
701
BIGNUM *
lib/libcrypto/bn/bn_mod_sqrt.c
702
BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
lib/libcrypto/bn/bn_mod_sqrt.c
704
BIGNUM *out_sqrt;
lib/libcrypto/bn/bn_mod_sqrt.c
86
bn_mod_sqrt_trivial_cases(int *done, BIGNUM *out_sqrt, const BIGNUM *a,
lib/libcrypto/bn/bn_mod_sqrt.c
87
const BIGNUM *p, BN_CTX *ctx)
lib/libcrypto/bn/bn_mont.c
158
BN_MONT_CTX_create(const BIGNUM *bn, BN_CTX *bn_ctx)
lib/libcrypto/bn/bn_mont.c
195
BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
lib/libcrypto/bn/bn_mont.c
197
BIGNUM *N, *Ninv, *Rinv, *R;
lib/libcrypto/bn/bn_mont.c
285
BN_MONT_CTX_set_locked(BN_MONT_CTX **pmctx, int lock, const BIGNUM *mod,
lib/libcrypto/bn/bn_mont.c
364
bn_montgomery_reduce(BIGNUM *r, BIGNUM *a, BN_MONT_CTX *mctx)
lib/libcrypto/bn/bn_mont.c
366
BIGNUM *n;
lib/libcrypto/bn/bn_mont.c
404
bn_mod_mul_montgomery_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn_mont.c
407
BIGNUM *tmp;
lib/libcrypto/bn/bn_mont.c
518
bn_montgomery_multiply(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn_mont.c
521
BIGNUM *t;
lib/libcrypto/bn/bn_mont.c
553
bn_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn_mont.c
564
bn_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn_mont.c
598
BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/bn/bn_mont.c
607
BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mctx, BN_CTX *ctx)
lib/libcrypto/bn/bn_mont.c
615
BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mctx, BN_CTX *ctx)
lib/libcrypto/bn/bn_mont.c
617
BIGNUM *tmp;
lib/libcrypto/bn/bn_mul.c
371
bn_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, int rn, BN_CTX *ctx)
lib/libcrypto/bn/bn_mul.c
379
BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/bn/bn_mul.c
381
BIGNUM *rr;
lib/libcrypto/bn/bn_prime.c
125
static int probable_prime(BIGNUM *rnd, int bits);
lib/libcrypto/bn/bn_prime.c
126
static int probable_prime_dh(BIGNUM *rnd, int bits,
lib/libcrypto/bn/bn_prime.c
127
const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
lib/libcrypto/bn/bn_prime.c
128
static int probable_prime_dh_safe(BIGNUM *rnd, int bits,
lib/libcrypto/bn/bn_prime.c
129
const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
lib/libcrypto/bn/bn_prime.c
156
BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
lib/libcrypto/bn/bn_prime.c
157
const BIGNUM *rem, BN_GENCB *cb)
lib/libcrypto/bn/bn_prime.c
160
BIGNUM *p;
lib/libcrypto/bn/bn_prime.c
237
BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, BN_GENCB *cb)
lib/libcrypto/bn/bn_prime.c
246
BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed,
lib/libcrypto/bn/bn_prime.c
275
probable_prime(BIGNUM *rnd, int bits)
lib/libcrypto/bn/bn_prime.c
310
probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem,
lib/libcrypto/bn/bn_prime.c
314
BIGNUM *t1;
lib/libcrypto/bn/bn_prime.c
359
probable_prime_dh_safe(BIGNUM *p, int bits, const BIGNUM *padd,
lib/libcrypto/bn/bn_prime.c
360
const BIGNUM *rem, BN_CTX *ctx)
lib/libcrypto/bn/bn_prime.c
363
BIGNUM *t1, *qadd, *q;
lib/libcrypto/bn/bn_primitives.c
49
bn_bitsize(const BIGNUM *bn)
lib/libcrypto/bn/bn_print.c
125
bn_printf(BIO *bio, const BIGNUM *bn, int indent, const char *fmt, ...)
lib/libcrypto/bn/bn_print.c
152
BN_print(BIO *bio, const BIGNUM *bn)
lib/libcrypto/bn/bn_print.c
173
BN_print_fp(FILE *fp, const BIGNUM *bn)
lib/libcrypto/bn/bn_print.c
33
bn_print_zero(BIO *bio, const BIGNUM *bn)
lib/libcrypto/bn/bn_print.c
43
bn_print_word(BIO *bio, const BIGNUM *bn)
lib/libcrypto/bn/bn_print.c
62
bn_print_bignum(BIO *bio, const BIGNUM *bn, int indent)
lib/libcrypto/bn/bn_rand.c
122
bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
lib/libcrypto/bn/bn_rand.c
201
BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
lib/libcrypto/bn/bn_rand.c
208
BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
lib/libcrypto/bn/bn_rand.c
216
BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
lib/libcrypto/bn/bn_rand.c
225
bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range)
lib/libcrypto/bn/bn_rand.c
227
int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand;
lib/libcrypto/bn/bn_rand.c
284
BN_rand_range(BIGNUM *r, const BIGNUM *range)
lib/libcrypto/bn/bn_rand.c
291
bn_rand_in_range(BIGNUM *rnd, const BIGNUM *lower_inc, const BIGNUM *upper_exc)
lib/libcrypto/bn/bn_rand.c
293
BIGNUM *len;
lib/libcrypto/bn/bn_rand.c
314
bn_rand_interval(BIGNUM *rnd, BN_ULONG lower_word, const BIGNUM *upper_exc)
lib/libcrypto/bn/bn_rand.c
316
BIGNUM *lower_inc = NULL;
lib/libcrypto/bn/bn_rand.c
335
BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range)
lib/libcrypto/bn/bn_recp.c
107
BN_div_reciprocal(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp,
lib/libcrypto/bn/bn_recp.c
111
BIGNUM *a, *b, *d, *r;
lib/libcrypto/bn/bn_recp.c
204
BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
lib/libcrypto/bn/bn_recp.c
215
BN_mod_sqr_reciprocal(BIGNUM *r, const BIGNUM *x, BN_RECP_CTX *recp, BN_CTX *ctx)
lib/libcrypto/bn/bn_recp.c
65
BIGNUM *N; /* the divisor */
lib/libcrypto/bn/bn_recp.c
66
BIGNUM *Nr; /* the reciprocal 2^shift / N */
lib/libcrypto/bn/bn_recp.c
72
BN_RECP_CTX_create(const BIGNUM *N)
lib/libcrypto/bn/bn_shift.c
150
BN_lshift1(BIGNUM *r, const BIGNUM *a)
lib/libcrypto/bn/bn_shift.c
157
BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
lib/libcrypto/bn/bn_shift.c
164
BN_rshift1(BIGNUM *r, const BIGNUM *a)
lib/libcrypto/bn/bn_shift.c
171
BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
lib/libcrypto/bn/bn_shift.c
24
bn_lshift(BIGNUM *r, const BIGNUM *a, int n)
lib/libcrypto/bn/bn_shift.c
94
bn_rshift(BIGNUM *r, const BIGNUM *a, int n)
lib/libcrypto/bn/bn_sqr.c
299
bn_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
lib/libcrypto/bn/bn_sqr.c
307
BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
lib/libcrypto/bn/bn_sqr.c
309
BIGNUM *rr;
lib/libcrypto/bn/bn_word.c
106
BN_div_word(BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_word.c
144
BN_add_word(BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_word.c
179
BN_sub_word(BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_word.c
226
BN_mul_word(BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_word.c
64
BN_mod_word(const BIGNUM *a, BN_ULONG w)
lib/libcrypto/bn/bn_word.c
80
BIGNUM *tmp = BN_dup(a);
lib/libcrypto/dh/dh.h
143
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
lib/libcrypto/dh/dh.h
144
const BIGNUM **g);
lib/libcrypto/dh/dh.h
145
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
lib/libcrypto/dh/dh.h
146
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
lib/libcrypto/dh/dh.h
147
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
lib/libcrypto/dh/dh.h
148
const BIGNUM *DH_get0_p(const DH *dh);
lib/libcrypto/dh/dh.h
149
const BIGNUM *DH_get0_q(const DH *dh);
lib/libcrypto/dh/dh.h
150
const BIGNUM *DH_get0_g(const DH *dh);
lib/libcrypto/dh/dh.h
151
const BIGNUM *DH_get0_priv_key(const DH *dh);
lib/libcrypto/dh/dh.h
152
const BIGNUM *DH_get0_pub_key(const DH *dh);
lib/libcrypto/dh/dh.h
170
int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
lib/libcrypto/dh/dh.h
172
int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
lib/libcrypto/dh/dh_ameth.c
335
BIGNUM *priv_key, *pub_key;
lib/libcrypto/dh/dh_ameth.c
421
BIGNUM *a;
lib/libcrypto/dh/dh_check.c
107
typedef BIGNUM *(*get_p_fn)(BIGNUM *);
lib/libcrypto/dh/dh_check.c
133
dh_is_well_known_p(const BIGNUM *p, BN_CTX *ctx, int *is_well_known)
lib/libcrypto/dh/dh_check.c
135
BIGNUM *bn;
lib/libcrypto/dh/dh_check.c
186
BIGNUM *residue;
lib/libcrypto/dh/dh_check.c
222
BIGNUM *q;
lib/libcrypto/dh/dh_check.c
247
DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *flags)
lib/libcrypto/dh/dh_check.c
250
BIGNUM *max_pub_key;
lib/libcrypto/dh/dh_check.c
280
BIGNUM *residue;
lib/libcrypto/dh/dh_check.c
76
BIGNUM *max_g = NULL;
lib/libcrypto/dh/dh_gen.c
109
BIGNUM *t1, *t2;
lib/libcrypto/dh/dh_key.c
136
compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
lib/libcrypto/dh/dh_key.c
140
BIGNUM *tmp;
lib/libcrypto/dh/dh_key.c
192
dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/dh/dh_key.c
193
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx)
lib/libcrypto/dh/dh_key.c
220
DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
lib/libcrypto/dh/dh_key.c
75
BIGNUM *pub_key = NULL, *priv_key = NULL;
lib/libcrypto/dh/dh_lib.c
231
DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
lib/libcrypto/dh/dh_lib.c
243
DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
lib/libcrypto/dh/dh_lib.c
267
DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
lib/libcrypto/dh/dh_lib.c
277
DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
lib/libcrypto/dh/dh_lib.c
292
const BIGNUM *
lib/libcrypto/dh/dh_lib.c
299
const BIGNUM *
lib/libcrypto/dh/dh_lib.c
306
const BIGNUM *
lib/libcrypto/dh/dh_lib.c
313
const BIGNUM *
lib/libcrypto/dh/dh_lib.c
320
const BIGNUM *
lib/libcrypto/dh/dh_local.h
68
int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
lib/libcrypto/dh/dh_local.h
69
int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/dh/dh_local.h
70
const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/dh/dh_local.h
82
BIGNUM *p;
lib/libcrypto/dh/dh_local.h
83
BIGNUM *q;
lib/libcrypto/dh/dh_local.h
84
BIGNUM *g;
lib/libcrypto/dh/dh_local.h
86
BIGNUM *pub_key; /* g^x */
lib/libcrypto/dh/dh_local.h
87
BIGNUM *priv_key; /* x */
lib/libcrypto/dsa/dsa.h
118
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
lib/libcrypto/dsa/dsa.h
119
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
lib/libcrypto/dsa/dsa.h
139
int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp);
lib/libcrypto/dsa/dsa.h
182
void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
lib/libcrypto/dsa/dsa.h
183
const BIGNUM **g);
lib/libcrypto/dsa/dsa.h
184
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
lib/libcrypto/dsa/dsa.h
185
void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key);
lib/libcrypto/dsa/dsa.h
186
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
lib/libcrypto/dsa/dsa.h
187
const BIGNUM *DSA_get0_p(const DSA *d);
lib/libcrypto/dsa/dsa.h
188
const BIGNUM *DSA_get0_q(const DSA *d);
lib/libcrypto/dsa/dsa.h
189
const BIGNUM *DSA_get0_g(const DSA *d);
lib/libcrypto/dsa/dsa.h
190
const BIGNUM *DSA_get0_pub_key(const DSA *d);
lib/libcrypto/dsa/dsa.h
191
const BIGNUM *DSA_get0_priv_key(const DSA *d);
lib/libcrypto/dsa/dsa_ameth.c
368
BIGNUM *a;
lib/libcrypto/dsa/dsa_ameth.c
417
const BIGNUM *priv_key, *pub_key;
lib/libcrypto/dsa/dsa_ameth.c
515
BIGNUM *result;
lib/libcrypto/dsa/dsa_asn1.c
139
DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
lib/libcrypto/dsa/dsa_asn1.c
149
DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s)
lib/libcrypto/dsa/dsa_gen.c
111
BIGNUM *r0, *W, *X, *c, *test;
lib/libcrypto/dsa/dsa_gen.c
112
BIGNUM *g = NULL, *q = NULL, *p = NULL;
lib/libcrypto/dsa/dsa_key.c
75
BIGNUM *pub_key = NULL, *priv_key = NULL;
lib/libcrypto/dsa/dsa_lib.c
278
DSA_get0_pqg(const DSA *dsa, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
lib/libcrypto/dsa/dsa_lib.c
290
DSA_set0_pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g)
lib/libcrypto/dsa/dsa_lib.c
314
DSA_get0_key(const DSA *dsa, const BIGNUM **pub_key, const BIGNUM **priv_key)
lib/libcrypto/dsa/dsa_lib.c
324
DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key)
lib/libcrypto/dsa/dsa_lib.c
342
const BIGNUM *
lib/libcrypto/dsa/dsa_lib.c
349
const BIGNUM *
lib/libcrypto/dsa/dsa_lib.c
356
const BIGNUM *
lib/libcrypto/dsa/dsa_lib.c
363
const BIGNUM *
lib/libcrypto/dsa/dsa_lib.c
370
const BIGNUM *
lib/libcrypto/dsa/dsa_local.h
64
BIGNUM *r;
lib/libcrypto/dsa/dsa_local.h
65
BIGNUM *s;
lib/libcrypto/dsa/dsa_local.h
71
int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
lib/libcrypto/dsa/dsa_local.h
72
BIGNUM **rp);
lib/libcrypto/dsa/dsa_local.h
82
BIGNUM *p;
lib/libcrypto/dsa/dsa_local.h
83
BIGNUM *q; /* == 20 */
lib/libcrypto/dsa/dsa_local.h
84
BIGNUM *g;
lib/libcrypto/dsa/dsa_local.h
86
BIGNUM *pub_key; /* y public key */
lib/libcrypto/dsa/dsa_local.h
87
BIGNUM *priv_key; /* x private key */
lib/libcrypto/dsa/dsa_local.h
89
BIGNUM *kinv; /* Signing pre-calc */
lib/libcrypto/dsa/dsa_local.h
90
BIGNUM *r; /* Signing pre-calc */
lib/libcrypto/dsa/dsa_ossl.c
206
dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
lib/libcrypto/dsa/dsa_ossl.c
208
BIGNUM *k = NULL, *l = NULL, *m = NULL, *kinv = NULL, *r = NULL;
lib/libcrypto/dsa/dsa_ossl.c
305
BIGNUM *u1 = NULL, *u2 = NULL, *t1 = NULL;
lib/libcrypto/dsa/dsa_ossl.c
438
DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
lib/libcrypto/dsa/dsa_ossl.c
85
BIGNUM *b = NULL, *bm = NULL, *bxr = NULL, *binv = NULL, *m = NULL;
lib/libcrypto/dsa/dsa_ossl.c
86
BIGNUM *kinv = NULL, *r = NULL, *s = NULL;
lib/libcrypto/ec/ec.h
103
const BIGNUM *order, const BIGNUM *cofactor);
lib/libcrypto/ec/ec.h
106
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
108
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
124
int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec.h
125
const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
126
int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
lib/libcrypto/ec/ec.h
129
int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec.h
130
const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
131
int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
lib/libcrypto/ec/ec.h
132
BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
142
EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec.h
143
const BIGNUM *b, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
165
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
167
BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
169
const BIGNUM *x, int y_bit, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
172
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
174
const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
176
const BIGNUM *x, int y_bit, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
182
BIGNUM *EC_POINT_point2bn(const EC_GROUP *, const EC_POINT *,
lib/libcrypto/ec/ec.h
183
point_conversion_form_t form, BIGNUM *, BN_CTX *);
lib/libcrypto/ec/ec.h
184
EC_POINT *EC_POINT_bn2point(const EC_GROUP *, const BIGNUM *, EC_POINT *,
lib/libcrypto/ec/ec.h
203
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
lib/libcrypto/ec/ec.h
204
const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
lib/libcrypto/ec/ec.h
245
const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
lib/libcrypto/ec/ec.h
246
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
lib/libcrypto/ec/ec.h
259
int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y);
lib/libcrypto/ec/ec.h
300
const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
lib/libcrypto/ec/ec.h
301
const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
lib/libcrypto/ec/ec.h
302
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
lib/libcrypto/ec/ec.h
303
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
lib/libcrypto/ec/ec.h
324
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
lib/libcrypto/ec/ec.h
334
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
lib/libcrypto/ec/ec.h
335
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp),
lib/libcrypto/ec/ec.h
337
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey));
lib/libcrypto/ec/ec.h
348
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
lib/libcrypto/ec/ec.h
358
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
lib/libcrypto/ec/ec.h
359
int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp),
lib/libcrypto/ec/ec.h
361
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey));
lib/libcrypto/ec/ec_ameth.c
316
const BIGNUM *priv_key;
lib/libcrypto/ec/ec_ameth.c
500
BIGNUM *pub_key = NULL;
lib/libcrypto/ec/ec_ameth.c
504
const BIGNUM *priv_key;
lib/libcrypto/ec/ec_asn1.c
1170
BIGNUM *priv_key = NULL;
lib/libcrypto/ec/ec_asn1.c
1269
const BIGNUM *private_key;
lib/libcrypto/ec/ec_asn1.c
675
ec_asn1_encode_bn(const EC_GROUP *group, const BIGNUM *bn, int len,
lib/libcrypto/ec/ec_asn1.c
701
ec_asn1_encode_field_element(const EC_GROUP *group, const BIGNUM *bn,
lib/libcrypto/ec/ec_asn1.c
709
ec_asn1_encode_private_key(const EC_GROUP *group, const BIGNUM *bn,
lib/libcrypto/ec/ec_asn1.c
719
BIGNUM *a = NULL, *b = NULL;
lib/libcrypto/ec/ec_asn1.c
779
const BIGNUM *order, *cofactor;
lib/libcrypto/ec/ec_asn1.c
916
BIGNUM *p = NULL, *a = NULL, *b = NULL;
lib/libcrypto/ec/ec_asn1.c
963
BIGNUM *order = NULL, *cofactor = NULL;
lib/libcrypto/ec/ec_convert.c
100
ec_check_hybrid_ybit_is_consistent(uint8_t form, int ybit, const BIGNUM *y)
lib/libcrypto/ec/ec_convert.c
172
ec_field_element_is_valid(const EC_GROUP *group, const BIGNUM *bn)
lib/libcrypto/ec/ec_convert.c
179
ec_add_field_element_cbb(CBB *cbb, const EC_GROUP *group, const BIGNUM *bn)
lib/libcrypto/ec/ec_convert.c
201
ec_get_field_element_cbs(CBS *cbs, const EC_GROUP *group, BIGNUM *bn)
lib/libcrypto/ec/ec_convert.c
226
BIGNUM *x, *y;
lib/libcrypto/ec/ec_convert.c
302
BIGNUM *x, *y;
lib/libcrypto/ec/ec_convert.c
495
BIGNUM *
lib/libcrypto/ec/ec_convert.c
497
point_conversion_form_t form, BIGNUM *in_bn, BN_CTX *ctx)
lib/libcrypto/ec/ec_convert.c
499
BIGNUM *bn = NULL;
lib/libcrypto/ec/ec_convert.c
517
const BIGNUM *bn, EC_POINT *point, BN_CTX *ctx)
lib/libcrypto/ec/ec_convert.c
543
BIGNUM *bn;
lib/libcrypto/ec/ec_convert.c
563
BIGNUM *bn = NULL;
lib/libcrypto/ec/ec_curve.c
1173
BIGNUM *p, *a, *b, *x, *y, *order, *cofactor;
lib/libcrypto/ec/ec_curve.c
1313
ec_curve_encode_parameter(const BIGNUM *bn, int param_len,
lib/libcrypto/ec/ec_curve.c
1343
BIGNUM *p, *a, *b, *x, *y;
lib/libcrypto/ec/ec_curve.c
1345
const BIGNUM *order, *cofactor;
lib/libcrypto/ec/ec_field.c
108
BIGNUM *bn, BN_CTX *ctx)
lib/libcrypto/ec/ec_field.c
28
ec_field_modulus_from_bn(EC_FIELD_MODULUS *fm, const BIGNUM *bn, BN_CTX *ctx)
lib/libcrypto/ec/ec_field.c
67
EC_FIELD_ELEMENT *fe, const BIGNUM *bn, BN_CTX *ctx)
lib/libcrypto/ec/ec_field.c
70
BIGNUM *tmp;
lib/libcrypto/ec/ec_internal.h
40
int ec_field_modulus_from_bn(EC_FIELD_MODULUS *fm, const BIGNUM *bn,
lib/libcrypto/ec/ec_internal.h
44
EC_FIELD_ELEMENT *fe, const BIGNUM *bn, BN_CTX *ctx);
lib/libcrypto/ec/ec_internal.h
46
BIGNUM *bn, BN_CTX *ctx);
lib/libcrypto/ec/ec_key.c
240
BIGNUM *priv_key = NULL;
lib/libcrypto/ec/ec_key.c
242
const BIGNUM *order;
lib/libcrypto/ec/ec_key.c
284
const BIGNUM *order;
lib/libcrypto/ec/ec_key.c
355
EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, BIGNUM *y)
lib/libcrypto/ec/ec_key.c
359
BIGNUM *tx, *ty;
lib/libcrypto/ec/ec_key.c
428
const BIGNUM *
lib/libcrypto/ec/ec_key.c
436
EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key)
lib/libcrypto/ec/ec_key.c
626
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
lib/libcrypto/ec/ec_key.c
658
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
lib/libcrypto/ec/ec_key.c
660
BIGNUM **kinvp, BIGNUM **rp),
lib/libcrypto/ec/ec_key.c
662
int dgst_len, const BIGNUM *in_kinv,
lib/libcrypto/ec/ec_key.c
663
const BIGNUM *in_r, EC_KEY *eckey))
lib/libcrypto/ec/ec_key.c
690
int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
lib/libcrypto/ec/ec_key.c
731
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey),
lib/libcrypto/ec/ec_key.c
733
BIGNUM **kinvp, BIGNUM **rp),
lib/libcrypto/ec/ec_key.c
735
int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r,
lib/libcrypto/ec/ec_lib.c
1005
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
1013
const BIGNUM *in_x, int y_bit, BN_CTX *ctx_in)
lib/libcrypto/ec/ec_lib.c
1015
BIGNUM *p, *a, *b, *w, *x, *y;
lib/libcrypto/ec/ec_lib.c
1117
const BIGNUM *x, int y_bit, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
1291
BIGNUM *x, *y;
lib/libcrypto/ec/ec_lib.c
1324
EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar,
lib/libcrypto/ec/ec_lib.c
1325
const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx_in)
lib/libcrypto/ec/ec_lib.c
243
ec_set_cofactor(EC_GROUP *group, const BIGNUM *in_cofactor)
lib/libcrypto/ec/ec_lib.c
246
BIGNUM *cofactor;
lib/libcrypto/ec/ec_lib.c
319
const BIGNUM *order, const BIGNUM *cofactor)
lib/libcrypto/ec/ec_lib.c
368
EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
377
const BIGNUM *
lib/libcrypto/ec/ec_lib.c
391
EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
400
const BIGNUM *
lib/libcrypto/ec/ec_lib.c
483
EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec_lib.c
484
const BIGNUM *b, BN_CTX *ctx_in)
lib/libcrypto/ec/ec_lib.c
509
EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
lib/libcrypto/ec/ec_lib.c
535
EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec_lib.c
536
const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
543
EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
lib/libcrypto/ec/ec_lib.c
551
EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/ec/ec_lib.c
582
BIGNUM *p, *a, *b, *discriminant;
lib/libcrypto/ec/ec_lib.c
650
const BIGNUM *order;
lib/libcrypto/ec/ec_lib.c
706
BIGNUM *p1, *a1, *b1, *p2, *a2, *b2;
lib/libcrypto/ec/ec_lib.c
708
const BIGNUM *order1, *order2, *cofactor1, *cofactor2;
lib/libcrypto/ec/ec_lib.c
924
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx_in)
lib/libcrypto/ec/ec_lib.c
962
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ec_lib.c
970
BIGNUM *x, BIGNUM *y, BN_CTX *ctx_in)
lib/libcrypto/ec/ec_local.h
100
const BIGNUM *x, const BIGNUM *y, BN_CTX *);
lib/libcrypto/ec/ec_local.h
102
BIGNUM *x, BIGNUM *y, BN_CTX *);
lib/libcrypto/ec/ec_local.h
114
const BIGNUM *scalar, const EC_POINT *point, BN_CTX *);
lib/libcrypto/ec/ec_local.h
116
const BIGNUM *scalar1, const EC_POINT *point1,
lib/libcrypto/ec/ec_local.h
117
const BIGNUM *scalar2, const EC_POINT *point2, BN_CTX *);
lib/libcrypto/ec/ec_local.h
124
int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ec_local.h
125
const BIGNUM *b, BN_CTX *);
lib/libcrypto/ec/ec_local.h
126
int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ec_local.h
130
int (*field_encode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ec_local.h
132
int (*field_decode)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ec_local.h
140
BIGNUM *order;
lib/libcrypto/ec/ec_local.h
141
BIGNUM *cofactor;
lib/libcrypto/ec/ec_local.h
156
BIGNUM *p;
lib/libcrypto/ec/ec_local.h
157
BIGNUM *a;
lib/libcrypto/ec/ec_local.h
158
BIGNUM *b;
lib/libcrypto/ec/ec_local.h
179
BIGNUM *X;
lib/libcrypto/ec/ec_local.h
180
BIGNUM *Y;
lib/libcrypto/ec/ec_local.h
181
BIGNUM *Z;
lib/libcrypto/ec/ec_local.h
194
int ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1,
lib/libcrypto/ec/ec_local.h
195
const EC_POINT *point1, const BIGNUM *scalar2, const EC_POINT *point2,
lib/libcrypto/ec/ec_local.h
210
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
lib/libcrypto/ec/ec_local.h
211
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
lib/libcrypto/ec/ec_local.h
220
int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
lib/libcrypto/ec/ec_local.h
226
*sig, unsigned int *siglen, const BIGNUM *kinv,
lib/libcrypto/ec/ec_local.h
227
const BIGNUM *r, EC_KEY *eckey);
lib/libcrypto/ec/ec_local.h
228
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
lib/libcrypto/ec/ec_local.h
229
BIGNUM **rp);
lib/libcrypto/ec/ec_local.h
231
const BIGNUM *in_kinv, const BIGNUM *in_r,
lib/libcrypto/ec/ec_local.h
247
BIGNUM *priv_key;
lib/libcrypto/ec/ec_local.h
262
int ec_key_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *in_ctx, BIGNUM **out_kinv,
lib/libcrypto/ec/ec_local.h
263
BIGNUM **out_r);
lib/libcrypto/ec/ec_local.h
265
unsigned char *signature, unsigned int *signature_len, const BIGNUM *kinv,
lib/libcrypto/ec/ec_local.h
266
const BIGNUM *r, EC_KEY *eckey);
lib/libcrypto/ec/ec_local.h
268
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey);
lib/libcrypto/ec/ec_local.h
87
int (*group_set_curve)(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ec_local.h
88
const BIGNUM *b, BN_CTX *);
lib/libcrypto/ec/ec_local.h
89
int (*group_get_curve)(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
lib/libcrypto/ec/ec_local.h
90
BIGNUM *b, BN_CTX *);
lib/libcrypto/ec/ec_mult.c
217
ec_wnaf_new(const EC_GROUP *group, const BIGNUM *scalar, const EC_POINT *point,
lib/libcrypto/ec/ec_mult.c
275
ec_wnaf_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1,
lib/libcrypto/ec/ec_mult.c
276
const EC_POINT *point1, const BIGNUM *scalar2, const EC_POINT *point2,
lib/libcrypto/ec/ec_mult.c
38
ec_window_bits(const BIGNUM *bn)
lib/libcrypto/ec/ec_mult.c
62
ec_compute_wnaf(const BIGNUM *bn, signed char *digits, size_t num_digits)
lib/libcrypto/ec/eck_prn.c
203
const BIGNUM *order;
lib/libcrypto/ec/eck_prn.c
204
BIGNUM *p, *a, *b, *cofactor;
lib/libcrypto/ec/eck_prn.c
205
BIGNUM *gen = NULL;
lib/libcrypto/ec/ecp_hp_methods.c
123
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ecp_hp_methods.c
155
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ecp_hp_methods.c
157
BIGNUM *zinv;
lib/libcrypto/ec/ecp_hp_methods.c
31
ec_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ecp_hp_methods.c
32
const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_hp_methods.c
34
BIGNUM *t;
lib/libcrypto/ec/ecp_hp_methods.c
697
BIGNUM **prod_Z = NULL;
lib/libcrypto/ec/ecp_hp_methods.c
698
BIGNUM *tmp, *tmp_Z;
lib/libcrypto/ec/ecp_hp_methods.c
790
ec_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, const EC_POINT *point,
lib/libcrypto/ec/ecp_hp_methods.c
793
BIGNUM *cardinality;
lib/libcrypto/ec/ecp_hp_methods.c
82
ec_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a,
lib/libcrypto/ec/ecp_hp_methods.c
83
BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_hp_methods.c
908
ec_mul_single_ct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
lib/libcrypto/ec/ecp_hp_methods.c
915
ec_mul_double_nonct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1,
lib/libcrypto/ec/ecp_hp_methods.c
916
const EC_POINT *point1, const BIGNUM *scalar2, const EC_POINT *point2,
lib/libcrypto/ec/ecp_methods.c
101
ec_decode_scalar(const EC_GROUP *group, BIGNUM *bn, const BIGNUM *x, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1065
ec_mul_ct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
lib/libcrypto/ec/ecp_methods.c
1070
BIGNUM *k = NULL;
lib/libcrypto/ec/ecp_methods.c
1071
BIGNUM *lambda = NULL;
lib/libcrypto/ec/ecp_methods.c
1072
BIGNUM *cardinality = NULL;
lib/libcrypto/ec/ecp_methods.c
113
ec_encode_scalar(const EC_GROUP *group, BIGNUM *bn, const BIGNUM *x, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1244
ec_mul_single_ct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
lib/libcrypto/ec/ecp_methods.c
1251
ec_mul_double_nonct(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar1,
lib/libcrypto/ec/ecp_methods.c
1252
const EC_POINT *point1, const BIGNUM *scalar2, const EC_POINT *point2,
lib/libcrypto/ec/ecp_methods.c
1259
ec_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
126
const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1260
const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1266
ec_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1272
ec_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
1273
const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
128
BIGNUM *a_plus_3;
lib/libcrypto/ec/ecp_methods.c
1292
ec_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
1293
const BIGNUM *b, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
1303
ec_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
1314
ec_mont_field_encode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
1325
ec_mont_field_decode(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
lib/libcrypto/ec/ecp_methods.c
167
ec_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
lib/libcrypto/ec/ecp_methods.c
200
BIGNUM *rh, *tmp, *Z4, *Z6;
lib/libcrypto/ec/ecp_methods.c
296
BIGNUM *az, *bxaz2, *byaz3;
lib/libcrypto/ec/ecp_methods.c
342
BIGNUM *az, *bz, *axbz2, *aybz3, *bxaz2, *byaz3;
lib/libcrypto/ec/ecp_methods.c
415
const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
440
BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
442
BIGNUM *z, *Z, *Z_1, *Z_2, *Z_3;
lib/libcrypto/ec/ecp_methods.c
526
BIGNUM **prod_Z = NULL;
lib/libcrypto/ec/ecp_methods.c
527
BIGNUM *one, *tmp, *tmp_Z;
lib/libcrypto/ec/ecp_methods.c
660
BIGNUM *n0, *n1, *n2, *n3, *n4, *n5, *n6;
lib/libcrypto/ec/ecp_methods.c
835
BIGNUM *n0, *n1, *n2, *n3;
lib/libcrypto/ec/ecp_methods.c
88
ec_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
lib/libcrypto/ec/ecp_methods.c
95
ec_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
lib/libcrypto/ec/ecp_methods.c
979
BIGNUM *lambda = NULL;
lib/libcrypto/ec/ecp_methods.c
980
BIGNUM *tmp = NULL;
lib/libcrypto/ecdh/ecdh.c
150
BIGNUM *x;
lib/libcrypto/ecdh/ecdh.c
151
const BIGNUM *priv_key;
lib/libcrypto/ecdsa/ecdsa.c
131
ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps)
lib/libcrypto/ecdsa/ecdsa.c
140
const BIGNUM *
lib/libcrypto/ecdsa/ecdsa.c
147
const BIGNUM *
lib/libcrypto/ecdsa/ecdsa.c
155
ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
lib/libcrypto/ecdsa/ecdsa.c
172
const BIGNUM *order = NULL;
lib/libcrypto/ecdsa/ecdsa.c
185
sig.r = (BIGNUM *)order;
lib/libcrypto/ecdsa/ecdsa.c
186
sig.s = (BIGNUM *)order;
lib/libcrypto/ecdsa/ecdsa.c
202
const EC_KEY *key, BIGNUM *e)
lib/libcrypto/ecdsa/ecdsa.c
225
unsigned char *signature, unsigned int *signature_len, const BIGNUM *kinv,
lib/libcrypto/ecdsa/ecdsa.c
226
const BIGNUM *r, EC_KEY *key)
lib/libcrypto/ecdsa/ecdsa.c
273
ec_key_ecdsa_sign_setup(EC_KEY *key, BN_CTX *in_ctx, BIGNUM **out_kinv,
lib/libcrypto/ecdsa/ecdsa.c
274
BIGNUM **out_r)
lib/libcrypto/ecdsa/ecdsa.c
279
BIGNUM *k = NULL, *r = NULL;
lib/libcrypto/ecdsa/ecdsa.c
280
const BIGNUM *order;
lib/libcrypto/ecdsa/ecdsa.c
281
BIGNUM *x;
lib/libcrypto/ecdsa/ecdsa.c
393
ECDSA_sign_setup(EC_KEY *key, BN_CTX *in_ctx, BIGNUM **out_kinv,
lib/libcrypto/ecdsa/ecdsa.c
394
BIGNUM **out_r)
lib/libcrypto/ecdsa/ecdsa.c
411
ecdsa_compute_s(BIGNUM **out_s, const BIGNUM *e, const BIGNUM *kinv,
lib/libcrypto/ecdsa/ecdsa.c
412
const BIGNUM *r, const EC_KEY *key, BN_CTX *ctx)
lib/libcrypto/ecdsa/ecdsa.c
415
const BIGNUM *order, *priv_key;
lib/libcrypto/ecdsa/ecdsa.c
416
BIGNUM *b, *binv, *be, *bxr;
lib/libcrypto/ecdsa/ecdsa.c
417
BIGNUM *s = NULL;
lib/libcrypto/ecdsa/ecdsa.c
526
const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *key)
lib/libcrypto/ecdsa/ecdsa.c
529
BIGNUM *kinv = NULL, *r = NULL, *s = NULL;
lib/libcrypto/ecdsa/ecdsa.c
530
BIGNUM *e;
lib/libcrypto/ecdsa/ecdsa.c
663
const BIGNUM *order;
lib/libcrypto/ecdsa/ecdsa.c
665
BIGNUM *e, *sinv, *u, *v, *x;
lib/libcrypto/ecdsa/ecdsa.c
70
BIGNUM *r;
lib/libcrypto/ecdsa/ecdsa.c
71
BIGNUM *s;
lib/libcrypto/ossl_typ.h
85
#ifdef BIGNUM
lib/libcrypto/pem/pvkfmt.c
104
read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
lib/libcrypto/pem/pvkfmt.c
453
write_lebn(unsigned char **out, const BIGNUM *bn, int len)
lib/libcrypto/rsa/rsa.h
247
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
lib/libcrypto/rsa/rsa.h
366
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
lib/libcrypto/rsa/rsa.h
367
const BIGNUM **d);
lib/libcrypto/rsa/rsa.h
368
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
lib/libcrypto/rsa/rsa.h
369
void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
lib/libcrypto/rsa/rsa.h
370
const BIGNUM **iqmp);
lib/libcrypto/rsa/rsa.h
371
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
lib/libcrypto/rsa/rsa.h
372
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
lib/libcrypto/rsa/rsa.h
373
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
lib/libcrypto/rsa/rsa.h
374
const BIGNUM *RSA_get0_n(const RSA *r);
lib/libcrypto/rsa/rsa.h
375
const BIGNUM *RSA_get0_e(const RSA *r);
lib/libcrypto/rsa/rsa.h
376
const BIGNUM *RSA_get0_d(const RSA *r);
lib/libcrypto/rsa/rsa.h
377
const BIGNUM *RSA_get0_p(const RSA *r);
lib/libcrypto/rsa/rsa.h
378
const BIGNUM *RSA_get0_q(const RSA *r);
lib/libcrypto/rsa/rsa.h
379
const BIGNUM *RSA_get0_dmp1(const RSA *r);
lib/libcrypto/rsa/rsa.h
380
const BIGNUM *RSA_get0_dmq1(const RSA *r);
lib/libcrypto/rsa/rsa.h
381
const BIGNUM *RSA_get0_iqmp(const RSA *r);
lib/libcrypto/rsa/rsa.h
423
int RSA_meth_set_mod_exp(RSA_METHOD *meth, int (*mod_exp)(BIGNUM *r0,
lib/libcrypto/rsa/rsa.h
424
const BIGNUM *i, RSA *rsa, BN_CTX *ctx));
lib/libcrypto/rsa/rsa.h
425
int RSA_meth_set_bn_mod_exp(RSA_METHOD *meth, int (*bn_mod_exp)(BIGNUM *r,
lib/libcrypto/rsa/rsa.h
426
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
lib/libcrypto/rsa/rsa.h
430
BIGNUM *e, BN_GENCB *cb));
lib/libcrypto/rsa/rsa.h
442
int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i,
lib/libcrypto/rsa/rsa.h
444
int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r,
lib/libcrypto/rsa/rsa.h
445
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
lib/libcrypto/rsa/rsa.h
448
int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
lib/libcrypto/rsa/rsa_blinding.c
126
BIGNUM *A;
lib/libcrypto/rsa/rsa_blinding.c
127
BIGNUM *Ai;
lib/libcrypto/rsa/rsa_blinding.c
128
BIGNUM *e;
lib/libcrypto/rsa/rsa_blinding.c
129
BIGNUM *mod;
lib/libcrypto/rsa/rsa_blinding.c
133
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/rsa/rsa_blinding.c
134
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
lib/libcrypto/rsa/rsa_blinding.c
138
BN_BLINDING_new(const BIGNUM *e, const BIGNUM *mod, BN_CTX *ctx,
lib/libcrypto/rsa/rsa_blinding.c
139
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/rsa/rsa_blinding.c
140
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx)
lib/libcrypto/rsa/rsa_blinding.c
231
BN_BLINDING_convert(BIGNUM *n, BIGNUM *inv, BN_BLINDING *b, BN_CTX *ctx)
lib/libcrypto/rsa/rsa_blinding.c
250
BN_BLINDING_invert(BIGNUM *n, const BIGNUM *inv, BN_BLINDING *b, BN_CTX *ctx)
lib/libcrypto/rsa/rsa_blinding.c
264
static BIGNUM *
lib/libcrypto/rsa/rsa_blinding.c
265
rsa_get_public_exp(const BIGNUM *d, const BIGNUM *p, const BIGNUM *q,
lib/libcrypto/rsa/rsa_blinding.c
268
BIGNUM *ret = NULL, *r0, *r1, *r2;
lib/libcrypto/rsa/rsa_blinding.c
297
BIGNUM *e = NULL;
lib/libcrypto/rsa/rsa_blinding.c
298
BIGNUM n;
lib/libcrypto/rsa/rsa_chk.c
61
BIGNUM *i, *j, *k, *l, *m;
lib/libcrypto/rsa/rsa_eay.c
128
BIGNUM *f, *ret;
lib/libcrypto/rsa/rsa_eay.c
268
rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx)
lib/libcrypto/rsa/rsa_eay.c
290
rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind, BN_CTX *ctx)
lib/libcrypto/rsa/rsa_eay.c
308
BIGNUM *f, *ret, *res;
lib/libcrypto/rsa/rsa_eay.c
318
BIGNUM *unblind = NULL;
lib/libcrypto/rsa/rsa_eay.c
390
BIGNUM d;
lib/libcrypto/rsa/rsa_eay.c
436
BIGNUM *f, *ret;
lib/libcrypto/rsa/rsa_eay.c
447
BIGNUM *unblind = NULL;
lib/libcrypto/rsa/rsa_eay.c
510
BIGNUM d;
lib/libcrypto/rsa/rsa_eay.c
561
BIGNUM *f, *ret;
lib/libcrypto/rsa/rsa_eay.c
658
rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
lib/libcrypto/rsa/rsa_eay.c
660
BIGNUM *r1, *m1, *vrfy;
lib/libcrypto/rsa/rsa_eay.c
661
BIGNUM dmp1, dmq1, c, pr1;
lib/libcrypto/rsa/rsa_eay.c
674
BIGNUM p, q;
lib/libcrypto/rsa/rsa_eay.c
791
BIGNUM d;
lib/libcrypto/rsa/rsa_gen.c
248
BIGNUM *e = BN_new();
lib/libcrypto/rsa/rsa_gen.c
69
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
lib/libcrypto/rsa/rsa_gen.c
72
RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
lib/libcrypto/rsa/rsa_gen.c
81
rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
lib/libcrypto/rsa/rsa_gen.c
83
BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL, *tmp;
lib/libcrypto/rsa/rsa_gen.c
84
BIGNUM pr0, d, p;
lib/libcrypto/rsa/rsa_gen.c
87
BIGNUM *diff, *mindiff;
lib/libcrypto/rsa/rsa_lib.c
230
RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
lib/libcrypto/rsa/rsa_lib.c
242
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
lib/libcrypto/rsa/rsa_lib.c
265
RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
lib/libcrypto/rsa/rsa_lib.c
266
const BIGNUM **iqmp)
lib/libcrypto/rsa/rsa_lib.c
278
RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
lib/libcrypto/rsa/rsa_lib.c
303
RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q)
lib/libcrypto/rsa/rsa_lib.c
313
RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q)
lib/libcrypto/rsa/rsa_lib.c
331
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
338
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
345
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
352
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
359
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
366
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
373
const BIGNUM *
lib/libcrypto/rsa/rsa_lib.c
380
const BIGNUM *
lib/libcrypto/rsa/rsa_local.h
105
BIGNUM *n;
lib/libcrypto/rsa/rsa_local.h
106
BIGNUM *e;
lib/libcrypto/rsa/rsa_local.h
107
BIGNUM *d;
lib/libcrypto/rsa/rsa_local.h
108
BIGNUM *p;
lib/libcrypto/rsa/rsa_local.h
109
BIGNUM *q;
lib/libcrypto/rsa/rsa_local.h
110
BIGNUM *dmp1;
lib/libcrypto/rsa/rsa_local.h
111
BIGNUM *dmq1;
lib/libcrypto/rsa/rsa_local.h
112
BIGNUM *iqmp;
lib/libcrypto/rsa/rsa_local.h
148
BN_BLINDING *BN_BLINDING_new(const BIGNUM *e, const BIGNUM *mod, BN_CTX *ctx,
lib/libcrypto/rsa/rsa_local.h
149
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/rsa/rsa_local.h
150
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx);
lib/libcrypto/rsa/rsa_local.h
152
int BN_BLINDING_convert(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
lib/libcrypto/rsa/rsa_local.h
153
int BN_BLINDING_invert(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
lib/libcrypto/rsa/rsa_local.h
76
int (*rsa_mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
lib/libcrypto/rsa/rsa_local.h
78
int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
lib/libcrypto/rsa/rsa_local.h
79
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); /* Can be null */
lib/libcrypto/rsa/rsa_local.h
98
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
lib/libcrypto/rsa/rsa_meth.c
135
RSA_meth_set_mod_exp(RSA_METHOD *meth, int (*mod_exp)(BIGNUM *r0,
lib/libcrypto/rsa/rsa_meth.c
136
const BIGNUM *i, RSA *rsa, BN_CTX *ctx))
lib/libcrypto/rsa/rsa_meth.c
144
RSA_meth_set_bn_mod_exp(RSA_METHOD *meth, int (*bn_mod_exp)(BIGNUM *r,
lib/libcrypto/rsa/rsa_meth.c
145
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
lib/libcrypto/rsa/rsa_meth.c
163
BIGNUM *e, BN_GENCB *cb))
lib/libcrypto/rsa/rsa_meth.c
226
(*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i,
lib/libcrypto/rsa/rsa_meth.c
234
(*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r,
lib/libcrypto/rsa/rsa_meth.c
235
const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx,
lib/libcrypto/rsa/rsa_meth.c
250
(*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
lib/libcrypto/rsa/rsa_pmeth.c
521
if (p2 == NULL || !BN_is_odd((BIGNUM *)p2) ||
lib/libcrypto/rsa/rsa_pmeth.c
522
BN_is_one((BIGNUM *)p2)) {
lib/libcrypto/rsa/rsa_pmeth.c
696
BIGNUM *pubexp = NULL;
lib/libcrypto/rsa/rsa_pmeth.c
83
BIGNUM *pub_exp;
lib/libcrypto/sm2/sm2_crypt.c
116
BIGNUM *p;
lib/libcrypto/sm2/sm2_crypt.c
253
BIGNUM *order = NULL;
lib/libcrypto/sm2/sm2_crypt.c
254
BIGNUM *k, *x1, *y1, *x2, *y2;
lib/libcrypto/sm2/sm2_crypt.c
40
BIGNUM *C1x;
lib/libcrypto/sm2/sm2_crypt.c
41
BIGNUM *C1y;
lib/libcrypto/sm2/sm2_crypt.c
470
BIGNUM *x2, *y2;
lib/libcrypto/sm2/sm2_sign.c
244
sm2_sig_verify(const EC_KEY *key, const ECDSA_SIG *sig, const BIGNUM *e)
lib/libcrypto/sm2/sm2_sign.c
248
const BIGNUM *r = NULL, *s = NULL;
lib/libcrypto/sm2/sm2_sign.c
250
BIGNUM *order, *t, *x1;
lib/libcrypto/sm2/sm2_sign.c
30
static BIGNUM *
lib/libcrypto/sm2/sm2_sign.c
35
BIGNUM *e = NULL;
lib/libcrypto/sm2/sm2_sign.c
356
BIGNUM *e;
lib/libcrypto/sm2/sm2_sign.c
375
BIGNUM *e;
lib/libcrypto/sm2/sm2_sign.c
395
BIGNUM *e;
lib/libcrypto/sm2/sm2_sign.c
428
BIGNUM *e = NULL;
lib/libcrypto/sm2/sm2_sign.c
89
sm2_sig_gen(const EC_KEY *key, const BIGNUM *e)
lib/libcrypto/sm2/sm2_sign.c
95
const BIGNUM *dA;
lib/libcrypto/sm2/sm2_sign.c
96
BIGNUM *order = NULL, *r = NULL, *s = NULL;
lib/libcrypto/sm2/sm2_sign.c
97
BIGNUM *k, *rk, *tmp, *x1;
lib/libcrypto/sm2/sm2_za.c
32
BIGNUM *p, *a, *b, *xG, *yG, *xA, *yA;
lib/libcrypto/ts/ts_lib.c
77
BIGNUM *bn = NULL;
lib/libcrypto/x509/x509_asid.c
581
BIGNUM *bn = NULL;
lib/libcrypto/x509/x509_asid.c
681
BIGNUM *bn = NULL;
lib/libcrypto/x509/x509_utl.c
173
bn_to_string(const BIGNUM *bn)
lib/libcrypto/x509/x509_utl.c
202
BIGNUM *bntmp;
lib/libcrypto/x509/x509_utl.c
233
BIGNUM *bntmp;
lib/libcrypto/x509/x509_utl.c
249
BIGNUM *bn = NULL;
lib/libcrypto/x509/x509_utl.c
79
static char *bn_to_string(const BIGNUM *bn);
lib/libfido2/src/es256.c
227
const BIGNUM *d;
lib/libfido2/src/es256.c
274
BIGNUM *x = NULL;
lib/libfido2/src/es256.c
275
BIGNUM *y = NULL;
lib/libfido2/src/es256.c
339
BIGNUM *x = NULL;
lib/libfido2/src/es256.c
340
BIGNUM *y = NULL;
lib/libfido2/src/es256.c
413
BIGNUM *d = NULL;
lib/libfido2/src/es256.c
462
BIGNUM *d = NULL;
lib/libfido2/src/rs256.c
121
BIGNUM *n = NULL;
lib/libfido2/src/rs256.c
122
BIGNUM *e = NULL;
lib/libfido2/src/rs256.c
175
const BIGNUM *n = NULL;
lib/libfido2/src/rs256.c
176
const BIGNUM *e = NULL;
lib/libfido2/src/rs256.c
177
const BIGNUM *d = NULL;
lib/libssl/ssl_kex.c
161
BIGNUM *p = NULL, *g = NULL;
lib/libssl/ssl_kex.c
205
BIGNUM *pub_key = NULL;
lib/libssl/ssl_kex.c
273
BIGNUM *order = NULL;
lib/libssl/ssl_kex.c
33
BIGNUM *p = NULL, *g = NULL;
lib/libssl/ssl_kex.c
61
BIGNUM *p = NULL, *g = NULL;
lib/libtls/tls_signer.c
400
tls_ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
lib/libtls/tls_signer.c
401
const BIGNUM *rp, EC_KEY *eckey)
lib/libtls/tls_signer.c
449
const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
lib/libtls/tls_signer.c
451
BIGNUM **kinvp, BIGNUM **rp);
libexec/ftpd/ftpcmd.y
126
%token <o> BIGNUM
libexec/ftpd/ftpcmd.y
1348
return (BIGNUM);
libexec/ftpd/ftpcmd.y
694
| BIGNUM
regress/lib/libcrypto/bn/bn_add_sub.c
170
print_failure_case(BIGNUM *a, BIGNUM *b, BIGNUM *e, BIGNUM *r, int i,
regress/lib/libcrypto/bn/bn_add_sub.c
186
bn_op_test(int (*bn_op)(BIGNUM *, const BIGNUM *, const BIGNUM *),
regress/lib/libcrypto/bn/bn_add_sub.c
189
BIGNUM *a = NULL, *b = NULL, *e = NULL, *r = NULL;
regress/lib/libcrypto/bn/bn_add_sub.c
36
int bn_op_test(int (*)(BIGNUM *, const BIGNUM *, const BIGNUM *),
regress/lib/libcrypto/bn/bn_add_sub.c
38
void print_failure_case(BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, int,
regress/lib/libcrypto/bn/bn_bits.c
131
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_bits.c
26
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_bits.c
68
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_cmp.c
111
BIGNUM *a = NULL, *b = NULL;
regress/lib/libcrypto/bn/bn_cmp.c
161
BIGNUM *a = NULL;
regress/lib/libcrypto/bn/bn_cmp.c
289
BIGNUM *a = NULL, *b = NULL;
regress/lib/libcrypto/bn/bn_convert.c
179
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_convert.c
45
size_t bin_len, const BIGNUM *bn)
regress/lib/libcrypto/bn/bn_convert.c
459
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_convert.c
594
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_convert.c
679
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_convert.c
770
BIGNUM *bn = NULL;
regress/lib/libcrypto/bn/bn_ffdh.c
325
typedef BIGNUM *(*get_p_fn)(BIGNUM *);
regress/lib/libcrypto/bn/bn_ffdh.c
404
BIGNUM *pstr, *papi;
regress/lib/libcrypto/bn/bn_ffdh.c
436
BIGNUM *p = NULL, *g = NULL;
regress/lib/libcrypto/bn/bn_gcd.c
26
int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
regress/lib/libcrypto/bn/bn_gcd.c
27
int BN_gcd_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
regress/lib/libcrypto/bn/bn_gcd.c
31
int (*fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
regress/lib/libcrypto/bn/bn_gcd.c
3460
BIGNUM *a, *b, *want, *got;
regress/lib/libcrypto/bn/bn_gcd.c
3540
bn_binomial_gcd_test(const struct gcd_test_fn *test, int k, BIGNUM *a,
regress/lib/libcrypto/bn/bn_gcd.c
3541
BIGNUM *b, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_gcd.c
3543
BIGNUM *gcd;
regress/lib/libcrypto/bn/bn_gcd.c
3600
BIGNUM *a, *b;
regress/lib/libcrypto/bn/bn_general.c
119
BIGNUM *dst, *src;
regress/lib/libcrypto/bn/bn_general.c
31
benchmark_bn_copy_setup(BIGNUM *dst, BIGNUM *src, int n)
regress/lib/libcrypto/bn/bn_general.c
40
benchmark_bn_copy_run_once(BIGNUM *dst, BIGNUM *src)
regress/lib/libcrypto/bn/bn_general.c
48
void (*setup)(BIGNUM *, BIGNUM *, int);
regress/lib/libcrypto/bn/bn_general.c
49
void (*run_once)(BIGNUM *, BIGNUM *);
regress/lib/libcrypto/bn/bn_isqrt.c
169
BIGNUM *n, *n_sqr, *lower, *upper, *testcase, *isqrt;
regress/lib/libcrypto/bn/bn_mod_exp.c
103
BIGNUM *a, *m, *p, *got;
regress/lib/libcrypto/bn/bn_mod_exp.c
159
BIGNUM *m, *p, *got;
regress/lib/libcrypto/bn/bn_mod_exp.c
225
generate_bn(BIGNUM *bn, int avg_bits, int deviate, int force_odd)
regress/lib/libcrypto/bn/bn_mod_exp.c
241
generate_test_quintuple(int reduce, BIGNUM *a, BIGNUM *p, BIGNUM *b, BIGNUM *q,
regress/lib/libcrypto/bn/bn_mod_exp.c
242
BIGNUM *m, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
244
BIGNUM *mmodified;
regress/lib/libcrypto/bn/bn_mod_exp.c
310
generate_test_triple(int reduce, BIGNUM *a, BIGNUM *p, BIGNUM *m, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
316
dump_results(const BIGNUM *a, const BIGNUM *p, const BIGNUM *b, const BIGNUM *q,
regress/lib/libcrypto/bn/bn_mod_exp.c
317
const BIGNUM *m, const BIGNUM *want, const BIGNUM *got, const char *name)
regress/lib/libcrypto/bn/bn_mod_exp.c
338
test_mod_exp(const BIGNUM *want, const BIGNUM *a, const BIGNUM *p,
regress/lib/libcrypto/bn/bn_mod_exp.c
339
const BIGNUM *m, BN_CTX *ctx, const struct mod_exp_test *test)
regress/lib/libcrypto/bn/bn_mod_exp.c
341
BIGNUM *got;
regress/lib/libcrypto/bn/bn_mod_exp.c
35
bn_mod_exp2_mont_first(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
regress/lib/libcrypto/bn/bn_mod_exp.c
36
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *mctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
372
bn_mod_exp_test(int reduce, BIGNUM *want, BIGNUM *a, BIGNUM *p, BIGNUM *m,
regress/lib/libcrypto/bn/bn_mod_exp.c
38
const BIGNUM *one = BN_value_one();
regress/lib/libcrypto/bn/bn_mod_exp.c
403
BIGNUM *a, *p, *m, *want;
regress/lib/libcrypto/bn/bn_mod_exp.c
438
bn_mod_exp2_simple(BIGNUM *out, const BIGNUM *a, const BIGNUM *p,
regress/lib/libcrypto/bn/bn_mod_exp.c
439
const BIGNUM *b, const BIGNUM *q, const BIGNUM *m, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
44
bn_mod_exp2_mont_second(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
regress/lib/libcrypto/bn/bn_mod_exp.c
441
BIGNUM *fact1, *fact2;
regress/lib/libcrypto/bn/bn_mod_exp.c
45
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *mctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
466
bn_mod_exp2_test(int reduce, BIGNUM *want, BIGNUM *got, BIGNUM *a, BIGNUM *p,
regress/lib/libcrypto/bn/bn_mod_exp.c
467
BIGNUM *b, BIGNUM *q, BIGNUM *m, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
47
const BIGNUM *one = BN_value_one();
regress/lib/libcrypto/bn/bn_mod_exp.c
500
BIGNUM *a, *p, *b, *q, *m, *want, *got;
regress/lib/libcrypto/bn/bn_mod_exp.c
54
int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *,
regress/lib/libcrypto/bn/bn_mod_exp.c
548
BIGNUM *m;
regress/lib/libcrypto/bn/bn_mod_exp.c
55
const BIGNUM *, BN_CTX *);
regress/lib/libcrypto/bn/bn_mod_exp.c
56
int (*mod_exp_mont_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *,
regress/lib/libcrypto/bn/bn_mod_exp.c
57
const BIGNUM *, BN_CTX *, BN_MONT_CTX *);
regress/lib/libcrypto/bn/bn_mod_exp.c
595
test_bn_mod_exp_aliasing_setup(BIGNUM *want, BIGNUM *a, BIGNUM *p, BIGNUM *m,
regress/lib/libcrypto/bn/bn_mod_exp.c
610
test_mod_exp_aliased(const char *alias, int want_ret, BIGNUM *got,
regress/lib/libcrypto/bn/bn_mod_exp.c
611
const BIGNUM *want, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,
regress/lib/libcrypto/bn/bn_mod_exp.c
648
BIGNUM *a, BIGNUM *p, BIGNUM *m, BIGNUM *want, BIGNUM *got, BN_CTX *ctx)
regress/lib/libcrypto/bn/bn_mod_exp.c
680
BIGNUM *a, *p, *m, *want, *got;
regress/lib/libcrypto/bn/bn_mod_exp.c
75
bn_print(const char *name, const BIGNUM *bn)
regress/lib/libcrypto/bn/bn_mod_exp.c
89
print_zero_test_failure(const BIGNUM *got, const BIGNUM *a, const BIGNUM *m,
regress/lib/libcrypto/bn/bn_mod_inverse.c
24
BIGNUM *BN_mod_inverse(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
regress/lib/libcrypto/bn/bn_mod_inverse.c
279
BIGNUM *i, *a, *m, *inv, *elt, *mod;
regress/lib/libcrypto/bn/bn_mod_sqrt.c
2836
BIGNUM *a, *p, *want, *got, *diff;
regress/lib/libcrypto/bn/bn_mod_sqrt.c
4437
BIGNUM *a, *p, *want, *got, *diff;
regress/lib/libcrypto/bn/bn_mont.c
37
BIGNUM *priv_key = NULL;
regress/lib/libcrypto/bn/bn_mul_div.c
31
benchmark_bn_div_setup(BIGNUM *a, size_t a_bits, BIGNUM *b, size_t b_bits,
regress/lib/libcrypto/bn/bn_mul_div.c
32
BIGNUM *r, BIGNUM *q)
regress/lib/libcrypto/bn/bn_mul_div.c
356
BIGNUM *a, *b, *r, *q;
regress/lib/libcrypto/bn/bn_mul_div.c
425
BIGNUM *a, *r;
regress/lib/libcrypto/bn/bn_mul_div.c
47
benchmark_bn_div_run_once(BIGNUM *r, BIGNUM *q, BIGNUM *a, BIGNUM *b, BN_CTX *bn_ctx)
regress/lib/libcrypto/bn/bn_mul_div.c
54
benchmark_bn_mul_setup(BIGNUM *a, size_t a_bits, BIGNUM *b, size_t b_bits,
regress/lib/libcrypto/bn/bn_mul_div.c
55
BIGNUM *r, BIGNUM *q)
regress/lib/libcrypto/bn/bn_mul_div.c
68
benchmark_bn_mul_run_once(BIGNUM *r, BIGNUM *q, BIGNUM *a, BIGNUM *b, BN_CTX *bn_ctx)
regress/lib/libcrypto/bn/bn_mul_div.c
75
benchmark_bn_sqr_setup(BIGNUM *a, size_t a_bits, BIGNUM *b, size_t b_bits,
regress/lib/libcrypto/bn/bn_mul_div.c
76
BIGNUM *r, BIGNUM *q)
regress/lib/libcrypto/bn/bn_mul_div.c
87
benchmark_bn_sqr_run_once(BIGNUM *r, BIGNUM *q, BIGNUM *a, BIGNUM *b, BN_CTX *bn_ctx)
regress/lib/libcrypto/bn/bn_mul_div.c
95
int (*setup)(BIGNUM *, size_t, BIGNUM *, size_t, BIGNUM *, BIGNUM *);
regress/lib/libcrypto/bn/bn_mul_div.c
96
void (*run_once)(BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *);
regress/lib/libcrypto/bn/bn_primes.c
104
BIGNUM *prime;
regress/lib/libcrypto/bn/bn_primes.c
29
BIGNUM *n = NULL;
regress/lib/libcrypto/bn/bn_primes.c
86
BIGNUM *(*fn)(BIGNUM *);
regress/lib/libcrypto/bn/bn_print.c
153
bn_print_testcase(const BIGNUM *bn, const struct print_test *test)
regress/lib/libcrypto/bn/bn_print.c
195
BIGNUM *bn;
regress/lib/libcrypto/bn/bn_shift.c
149
BIGNUM *bn1 = NULL, *bn2 = NULL;
regress/lib/libcrypto/bn/bn_shift.c
285
BIGNUM *bn1 = NULL, *bn2 = NULL;
regress/lib/libcrypto/bn/bn_shift.c
34
check_shift_result(BIGNUM *bn1)
regress/lib/libcrypto/bn/bn_shift.c
359
benchmark_bn_lshift1(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
36
BIGNUM *bn2 = NULL;
regress/lib/libcrypto/bn/bn_shift.c
376
benchmark_bn_lshift(BIGNUM *bn, int n)
regress/lib/libcrypto/bn/bn_shift.c
393
benchmark_bn_lshift_1(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
399
benchmark_bn_lshift_16(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
405
benchmark_bn_lshift_32(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
411
benchmark_bn_lshift_64(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
417
benchmark_bn_lshift_65(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
423
benchmark_bn_lshift_80(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
429
benchmark_bn_lshift_127(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
435
benchmark_bn_rshift1(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
452
benchmark_bn_rshift(BIGNUM *bn, int n)
regress/lib/libcrypto/bn/bn_shift.c
469
benchmark_bn_rshift_1(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
475
benchmark_bn_rshift_16(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
481
benchmark_bn_rshift_32(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
487
benchmark_bn_rshift_64(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
493
benchmark_bn_rshift_65(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
499
benchmark_bn_rshift_80(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
505
benchmark_bn_rshift_127(BIGNUM *bn)
regress/lib/libcrypto/bn/bn_shift.c
512
void (*func)(BIGNUM *);
regress/lib/libcrypto/bn/bn_shift.c
596
BIGNUM *bn;
regress/lib/libcrypto/bn/bn_shift.c
71
BIGNUM *bn1 = NULL, *bn2 = NULL;
regress/lib/libcrypto/bn/bn_test.c
1004
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
1137
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
1215
BIGNUM *a, *p, *m, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
1216
BIGNUM *b, *n, *c;
regress/lib/libcrypto/bn/bn_test.c
1373
BIGNUM *a, *b, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
1442
BIGNUM *a, *b, *r, *t;
regress/lib/libcrypto/bn/bn_test.c
1545
BIGNUM *a, *p, *r;
regress/lib/libcrypto/bn/bn_test.c
1641
BIGNUM *a, *b, *c, *d;
regress/lib/libcrypto/bn/bn_test.c
1705
BIGNUM *a, *b, *c;
regress/lib/libcrypto/bn/bn_test.c
1751
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
1802
BIGNUM *a, *b, *c;
regress/lib/libcrypto/bn/bn_test.c
1857
BIGNUM *p, *x, *y, *r, *r2;
regress/lib/libcrypto/bn/bn_test.c
301
BIGNUM *a, *b, *c;
regress/lib/libcrypto/bn/bn_test.c
350
BIGNUM *a, *b, *c;
regress/lib/libcrypto/bn/bn_test.c
404
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
485
BIGNUM *a, *b;
regress/lib/libcrypto/bn/bn_test.c
558
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
630
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
684
BIGNUM *a, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
781
BIGNUM *a, *b, *c, *d, *A, *B, *n;
regress/lib/libcrypto/bn/bn_test.c
869
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_test.c
920
BIGNUM *a, *b, *c, *d, *e;
regress/lib/libcrypto/bn/bn_unit.c
141
bn_check_expected_flags(const BIGNUM *bn, int expected, const char *fn,
regress/lib/libcrypto/bn/bn_unit.c
167
BIGNUM *dst, *src;
regress/lib/libcrypto/bn/bn_unit.c
217
BIGNUM *src, *dst;
regress/lib/libcrypto/bn/bn_unit.c
256
BIGNUM *src, *dst;
regress/lib/libcrypto/bn/bn_unit.c
29
int (*to_bn)(BIGNUM **, const char *))
regress/lib/libcrypto/bn/bn_unit.c
75
BIGNUM *bn;
regress/lib/libcrypto/bn/bn_word.c
35
check_bn_word_test(const char *op_name, const BIGNUM *bn,
regress/lib/libcrypto/bn/bn_word.c
428
BIGNUM *bn;
regress/lib/libcrypto/bn/bn_word.c
574
BIGNUM *bn;
regress/lib/libcrypto/bn/bn_word.c
78
test_bn_word(int (*bn_word_op)(BIGNUM *, BN_ULONG), const char *op_name,
regress/lib/libcrypto/bn/bn_word.c
82
BIGNUM *bn;
regress/lib/libcrypto/ec/ec_arithmetic.c
126
BIGNUM *order = NULL, *scalar = NULL;
regress/lib/libcrypto/ec/ec_arithmetic.c
33
const BIGNUM *scalar, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
regress/lib/libcrypto/ec/ec_arithmetic.c
41
const BIGNUM *scalar, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
regress/lib/libcrypto/ec/ec_arithmetic.c
49
const BIGNUM *scalar, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx)
regress/lib/libcrypto/ec/ec_arithmetic.c
58
void (*func)(const EC_GROUP *, EC_POINT *, const BIGNUM *,
regress/lib/libcrypto/ec/ec_asn1_test.c
1116
BIGNUM *order;
regress/lib/libcrypto/ec/ec_asn1_test.c
2152
BIGNUM *hex_bn = NULL, *point_bn = NULL;
regress/lib/libcrypto/ec/ec_asn1_test.c
2492
ec_group_sha1_bignum(BIGNUM *out, const BIGNUM *in)
regress/lib/libcrypto/ec/ec_asn1_test.c
2518
BIGNUM *p, *a, *b, *pow2, *r, *seed_bn, *w;
regress/lib/libcrypto/ec/ec_asn1_test.c
258
BIGNUM *p, *a, *b, *x, *y, *order, *cofactor;
regress/lib/libcrypto/ec/ec_asn1_test.c
820
BIGNUM *p, *a, *b;
regress/lib/libcrypto/ec/ec_asn1_test.c
821
BIGNUM *order, *x, *y;
regress/lib/libcrypto/ec/ec_asn1_test.c
898
BIGNUM *cofactor, *guessed_cofactor;
regress/lib/libcrypto/ec/ec_point_conversion.c
116
BIGNUM *order = NULL;
regress/lib/libcrypto/ec/ec_point_conversion.c
117
BIGNUM *random;
regress/lib/libcrypto/ec/ec_point_conversion.c
118
BIGNUM *x, *y;
regress/lib/libcrypto/ec/ec_point_conversion.c
64
roundtrip(EC_GROUP *group, EC_POINT *point, int form, BIGNUM *x, BIGNUM *y)
regress/lib/libcrypto/ec/ec_point_conversion.c
66
BIGNUM *x_out = NULL, *y_out = NULL;
regress/lib/libcrypto/ec/ectest.c
156
BIGNUM *p, *a, *b;
regress/lib/libcrypto/ec/ectest.c
160
BIGNUM *x, *y, *z;
regress/lib/libcrypto/ec/ectest.c
92
BIGNUM *n1, *n2, *order;
regress/lib/libcrypto/ecdh/ecc_cdh.c
2171
BIGNUM *peer_x, *peer_y, *priv, *pub_x, *pub_y, *shared;
regress/lib/libcrypto/ecdh/ecdhtest.c
289
BIGNUM *priv = NULL;
regress/lib/libcrypto/ecdh/ecdhtest.c
328
BIGNUM *z = NULL;
regress/lib/libcrypto/ecdsa/ecdsatest.c
94
BIGNUM *r = NULL, *s = NULL;
regress/lib/libcrypto/rsa/rsa_method_test.c
120
BIGNUM *e;
regress/lib/libcrypto/rsa/rsa_test.c
171
BIGNUM *bn_n = NULL, *bn_e = NULL, *bn_d = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
172
BIGNUM *bn_p = NULL, *bn_q = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
173
BIGNUM *bn_dmp1 = NULL, *bn_dmq1 = NULL, *bn_iqmp = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
292
BIGNUM *bn_n = NULL, *bn_e = NULL, *bn_d = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
293
BIGNUM *bn_p = NULL, *bn_q = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
294
BIGNUM *bn_dmp1 = NULL, *bn_dmq1 = NULL, *bn_iqmp = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
77
BIGNUM *bn_n = NULL, *bn_e = NULL, *bn_d = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
78
BIGNUM *bn_p = NULL, *bn_q = NULL;
regress/lib/libcrypto/rsa/rsa_test.c
79
BIGNUM *bn_dmp1 = NULL, *bn_dmq1 = NULL, *bn_iqmp = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
44
BIGNUM *p = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
45
BIGNUM *a = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
46
BIGNUM *b = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
47
BIGNUM *g_x = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
48
BIGNUM *g_y = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
49
BIGNUM *order = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
50
BIGNUM *cof = NULL;
regress/lib/libcrypto/sm2/sm2crypttest.c
99
BIGNUM *priv = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
101
BIGNUM *priv = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
105
const BIGNUM *sig_r = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
106
const BIGNUM *sig_s = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
45
BIGNUM *p = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
46
BIGNUM *a = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
47
BIGNUM *b = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
48
BIGNUM *g_x = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
49
BIGNUM *g_y = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
50
BIGNUM *order = NULL;
regress/lib/libcrypto/sm2/sm2sigtest.c
51
BIGNUM *cof = NULL;
regress/lib/libcrypto/wycheproof/wycheproof-primes.c
30
BIGNUM *value = NULL;
regress/lib/libcrypto/wycheproof/wycheproof-primes.c
42
BIGNUM *pow2;
regress/lib/libssl/ssl/ssltest.c
1454
BIGNUM *dh_p = NULL, *dh_g = NULL;
regress/lib/libssl/ssl/ssltest.c
1506
BIGNUM *dh_p = NULL, *dh_g = NULL;
regress/lib/libssl/ssl/ssltest.c
386
const BIGNUM *p;
regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
296
const BIGNUM *sig_r, *sig_s;
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
139
BIGNUM *x = NULL, *y = NULL;
regress/usr.bin/ssh/unittests/bitmap/tests.c
26
BIGNUM *bn;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_getput_crypto.c
30
BIGNUM *bn, *bn2, *bn_x, *bn_y;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_getput_fuzz.c
28
BIGNUM *bn;
regress/usr.bin/ssh/unittests/sshkey/common.c
107
const BIGNUM *
regress/usr.bin/ssh/unittests/sshkey/common.c
110
const BIGNUM *q = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.c
62
BIGNUM *
regress/usr.bin/ssh/unittests/sshkey/common.c
65
BIGNUM *ret = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.c
74
const BIGNUM *
regress/usr.bin/ssh/unittests/sshkey/common.c
77
const BIGNUM *n = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.c
85
const BIGNUM *
regress/usr.bin/ssh/unittests/sshkey/common.c
88
const BIGNUM *e = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.c
96
const BIGNUM *
regress/usr.bin/ssh/unittests/sshkey/common.c
99
const BIGNUM *p = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.h
15
BIGNUM *load_bignum(const char *name);
regress/usr.bin/ssh/unittests/sshkey/common.h
18
const BIGNUM *rsa_n(struct sshkey *k);
regress/usr.bin/ssh/unittests/sshkey/common.h
19
const BIGNUM *rsa_e(struct sshkey *k);
regress/usr.bin/ssh/unittests/sshkey/common.h
20
const BIGNUM *rsa_p(struct sshkey *k);
regress/usr.bin/ssh/unittests/sshkey/common.h
21
const BIGNUM *rsa_q(struct sshkey *k);
regress/usr.bin/ssh/unittests/sshkey/test_file.c
39
BIGNUM *a, *b, *c;
regress/usr.bin/ssh/unittests/test_helper/test_helper.c
359
const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred)
regress/usr.bin/ssh/unittests/test_helper/test_helper.h
53
const BIGNUM *aa1, const BIGNUM *aa2, enum test_predicate pred);
sbin/iked/crypto.c
1043
const BIGNUM *r, *s;
sbin/iked/crypto.c
1126
BIGNUM *r = NULL, *s = NULL;
sbin/iked/dh.c
427
BIGNUM *g = NULL, *p = NULL;
sbin/iked/dh.c
461
const BIGNUM *pub;
sbin/iked/dh.c
486
BIGNUM *ex;
sbin/iked/dh.c
559
const BIGNUM *privkey;
sbin/iked/dh.c
609
BIGNUM *x = NULL, *y = NULL;
sbin/iked/dh.c
674
BIGNUM *x = NULL, *y = NULL;
sbin/isakmpd/dh.c
341
BIGNUM *p = NULL, *g = NULL;
sbin/isakmpd/dh.c
397
BIGNUM *ex;
sbin/isakmpd/dh.c
470
const BIGNUM *privkey;
sbin/isakmpd/dh.c
520
BIGNUM *x = NULL, *y = NULL;
sbin/isakmpd/dh.c
585
BIGNUM *x = NULL, *y = NULL;
sbin/unwind/libunbound/sldns/keyraw.c
201
sldns_key_dsa_buf_bignum(unsigned char* key, size_t len, BIGNUM** p,
sbin/unwind/libunbound/sldns/keyraw.c
202
BIGNUM** q, BIGNUM** g, BIGNUM** y)
sbin/unwind/libunbound/sldns/keyraw.c
246
BIGNUM *Q=NULL, *P=NULL, *G=NULL, *Y=NULL;
sbin/unwind/libunbound/sldns/keyraw.c
291
BIGNUM *p=NULL, *q=NULL, *g=NULL, *y=NULL;
sbin/unwind/libunbound/sldns/keyraw.c
378
sldns_key_rsa_buf_bignum(unsigned char* key, size_t len, BIGNUM** n,
sbin/unwind/libunbound/sldns/keyraw.c
379
BIGNUM** e)
sbin/unwind/libunbound/sldns/keyraw.c
423
BIGNUM* modulus = NULL;
sbin/unwind/libunbound/sldns/keyraw.c
424
BIGNUM* exponent = NULL;
sbin/unwind/libunbound/sldns/keyraw.c
459
BIGNUM *n=NULL, *e=NULL;
sbin/unwind/libunbound/validator/val_secalgo.c
410
BIGNUM *R, *S;
usr.bin/dc/bcode.c
1173
BIGNUM *i, *f;
usr.bin/dc/bcode.c
1233
BIGNUM *one;
usr.bin/dc/bcode.c
1260
BIGNUM *x, *y, *t;
usr.bin/dc/bcode.c
328
pbn(const char *str, const BIGNUM *n)
usr.bin/dc/bcode.c
352
scale_number(BIGNUM *n, int s)
usr.bin/dc/bcode.c
367
BIGNUM *a, *p;
usr.bin/dc/bcode.c
387
split_number(const struct number *n, BIGNUM *i, BIGNUM *f)
usr.bin/dc/bcode.c
401
BIGNUM *a, *p;
usr.bin/dc/bcode.c
694
BIGNUM *int_part, *a, *p;
usr.bin/dc/bcode.h
24
BIGNUM *number;
usr.bin/dc/bcode.h
89
void scale_number(BIGNUM *, int);
usr.bin/dc/bcode.h
93
void pbn(const char *, const BIGNUM *);
usr.bin/dc/bcode.h
95
void split_number(const struct number *, BIGNUM *, BIGNUM *);
usr.bin/dc/inout.c
351
BIGNUM *mult, *stop;
usr.bin/openssl/apps.c
1123
BIGNUM *
usr.bin/openssl/apps.c
1127
BIGNUM *ret = NULL;
usr.bin/openssl/apps.c
1174
save_serial(char *serialfile, char *suffix, BIGNUM *serial,
usr.bin/openssl/apps.c
1263
rand_serial(BIGNUM *b, ASN1_INTEGER *ai)
usr.bin/openssl/apps.c
1265
BIGNUM *btmp;
usr.bin/openssl/apps.h
217
BIGNUM *load_serial(char *serialfile, int create, ASN1_INTEGER **retai);
usr.bin/openssl/apps.h
218
int save_serial(char *serialfile, char *suffix, BIGNUM *serial,
usr.bin/openssl/apps.h
221
int rand_serial(BIGNUM *b, ASN1_INTEGER *ai);
usr.bin/openssl/ca.c
1245
BIGNUM *bn;
usr.bin/openssl/ca.c
126
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
usr.bin/openssl/ca.c
133
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
usr.bin/openssl/ca.c
142
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
usr.bin/openssl/ca.c
1533
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
usr.bin/openssl/ca.c
1601
STACK_OF(CONF_VALUE) *policy, CA_DB *db, BIGNUM *serial, char *subj,
usr.bin/openssl/ca.c
1706
CA_DB *db, BIGNUM *serial, char *subj, unsigned long chtype, int multirdn,
usr.bin/openssl/ca.c
2281
BIGNUM *bn = NULL;
usr.bin/openssl/ca.c
614
BIGNUM *serial = NULL;
usr.bin/openssl/ca.c
615
BIGNUM *crlnumber = NULL;
usr.bin/openssl/genrsa.c
280
BIGNUM *bn = NULL;
usr.bin/openssl/ocsp.c
1350
BIGNUM *bn = NULL;
usr.bin/openssl/prime.c
115
BIGNUM *bn = NULL;
usr.bin/openssl/req.c
1053
const BIGNUM *n = NULL;
usr.bin/openssl/speed.c
264
BIGNUM *priv_key = NULL, *pub_key = NULL;
usr.bin/openssl/speed.c
265
BIGNUM *p = NULL, *q = NULL, *g = NULL;
usr.bin/openssl/ts.c
739
BIGNUM *bn;
usr.bin/openssl/ts.c
995
BIGNUM *bn = NULL;
usr.bin/openssl/x509.c
1055
BIGNUM *bnser;
usr.bin/openssl/x509.c
1139
const BIGNUM *n = NULL;
usr.bin/openssl/x509.c
1145
const BIGNUM *dsa_pub_key = NULL;
usr.bin/openssl/x509.c
1338
BIGNUM *serial = NULL;
usr.bin/ssh/dh.c
230
dh_pub_is_valid(const DH *dh, const BIGNUM *dh_pub)
usr.bin/ssh/dh.c
235
BIGNUM *tmp;
usr.bin/ssh/dh.c
236
const BIGNUM *dh_p;
usr.bin/ssh/dh.c
281
const BIGNUM *dh_p, *pub_key;
usr.bin/ssh/dh.c
310
BIGNUM *dh_p = NULL, *dh_g = NULL;
usr.bin/ssh/dh.c
332
dh_new_group(BIGNUM *gen, BIGNUM *modulus)
usr.bin/ssh/dh.h
33
BIGNUM *g;
usr.bin/ssh/dh.h
34
BIGNUM *p;
usr.bin/ssh/dh.h
39
DH *dh_new_group(BIGNUM *, BIGNUM *);
usr.bin/ssh/dh.h
47
int dh_pub_is_valid(const DH *, const BIGNUM *);
usr.bin/ssh/kex.h
257
int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
usr.bin/ssh/kex.h
262
const BIGNUM *, const BIGNUM *, const BIGNUM *,
usr.bin/ssh/kex.h
263
const BIGNUM *, const u_char *, size_t,
usr.bin/ssh/kexdh.c
110
const BIGNUM *pub_key;
usr.bin/ssh/kexdh.c
139
const BIGNUM *pub_key;
usr.bin/ssh/kexdh.c
172
BIGNUM *dh_pub = NULL;
usr.bin/ssh/kexdh.c
66
kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out)
usr.bin/ssh/kexdh.c
68
BIGNUM *shared_secret = NULL;
usr.bin/ssh/kexecdh.c
137
BIGNUM *shared_secret = NULL;
usr.bin/ssh/kexgex.c
47
const BIGNUM *prime,
usr.bin/ssh/kexgex.c
48
const BIGNUM *gen,
usr.bin/ssh/kexgex.c
49
const BIGNUM *client_dh_pub,
usr.bin/ssh/kexgex.c
50
const BIGNUM *server_dh_pub,
usr.bin/ssh/kexgexc.c
142
BIGNUM *dh_server_pub = NULL;
usr.bin/ssh/kexgexc.c
143
const BIGNUM *pub_key, *dh_p, *dh_g;
usr.bin/ssh/kexgexc.c
92
BIGNUM *p = NULL, *g = NULL;
usr.bin/ssh/kexgexc.c
93
const BIGNUM *pub_key;
usr.bin/ssh/kexgexs.c
124
BIGNUM *dh_client_pub = NULL;
usr.bin/ssh/kexgexs.c
125
const BIGNUM *pub_key, *dh_p, *dh_g;
usr.bin/ssh/kexgexs.c
70
const BIGNUM *dh_p, *dh_g;
usr.bin/ssh/moduli.c
130
static BIGNUM *largebase;
usr.bin/ssh/moduli.c
132
int gen_candidates(FILE *, uint32_t, BIGNUM *);
usr.bin/ssh/moduli.c
141
uint32_t osize, uint32_t ogenerator, BIGNUM * omodulus)
usr.bin/ssh/moduli.c
232
gen_candidates(FILE *out, uint32_t power, BIGNUM *start)
usr.bin/ssh/moduli.c
234
BIGNUM *q;
usr.bin/ssh/moduli.c
532
BIGNUM *q, *p, *a;
usr.bin/ssh/monitor.c
617
const BIGNUM *dh_p, *dh_g;
usr.bin/ssh/monitor_wrap.c
221
BIGNUM *p, *g;
usr.bin/ssh/packet.c
2714
sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v)
usr.bin/ssh/packet.c
2784
sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp)
usr.bin/ssh/packet.h
192
int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v);
usr.bin/ssh/packet.h
204
int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
usr.bin/ssh/sk-usbhid.c
481
BIGNUM *x = NULL, *y = NULL;
usr.bin/ssh/sk-usbhid.c
909
const BIGNUM *sig_r, *sig_s;
usr.bin/ssh/ssh-ecdsa-sk.c
223
BIGNUM *sig_r = NULL, *sig_s = NULL;
usr.bin/ssh/ssh-ecdsa.c
277
BIGNUM *exponent = NULL;
usr.bin/ssh/ssh-ecdsa.c
317
const BIGNUM *sig_r, *sig_s;
usr.bin/ssh/ssh-ecdsa.c
358
const BIGNUM *sig_r, const BIGNUM *sig_s,
usr.bin/ssh/ssh-ecdsa.c
404
BIGNUM *sig_r = NULL, *sig_s = NULL;
usr.bin/ssh/ssh-keygen.c
166
int gen_candidates(FILE *, uint32_t, BIGNUM *);
usr.bin/ssh/ssh-keygen.c
2900
BIGNUM *start = NULL;
usr.bin/ssh/ssh-keygen.c
415
buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
usr.bin/ssh/ssh-keygen.c
443
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
usr.bin/ssh/ssh-keygen.c
444
BIGNUM *rsa_p = NULL, *rsa_q = NULL, *rsa_iqmp = NULL;
usr.bin/ssh/ssh-keygen.c
445
BIGNUM *rsa_dmp1 = NULL, *rsa_dmq1 = NULL;
usr.bin/ssh/ssh-pkcs11.c
634
BIGNUM *sig_r = NULL, *sig_s = NULL;
usr.bin/ssh/ssh-pkcs11.c
990
BIGNUM *rsa_n, *rsa_e;
usr.bin/ssh/ssh-rsa.c
152
const BIGNUM *rsa_n, *rsa_e;
usr.bin/ssh/ssh-rsa.c
153
BIGNUM *rsa_n_dup = NULL, *rsa_e_dup = NULL;
usr.bin/ssh/ssh-rsa.c
192
BIGNUM *rsa_n = NULL, *rsa_e = NULL;
usr.bin/ssh/ssh-rsa.c
231
BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
usr.bin/ssh/ssh-rsa.c
232
BIGNUM *rsa_iqmp = NULL, *rsa_p = NULL, *rsa_q = NULL;
usr.bin/ssh/ssh-rsa.c
233
BIGNUM *rsa_dmp1 = NULL, *rsa_dmq1 = NULL;
usr.bin/ssh/ssh-rsa.c
357
ssh_rsa_complete_crt_parameters(const BIGNUM *rsa_d, const BIGNUM *rsa_p,
usr.bin/ssh/ssh-rsa.c
358
const BIGNUM *rsa_q, const BIGNUM *rsa_iqmp, BIGNUM **rsa_dmp1,
usr.bin/ssh/ssh-rsa.c
359
BIGNUM **rsa_dmq1)
usr.bin/ssh/ssh-rsa.c
361
BIGNUM *aux = NULL, *d_consttime = NULL;
usr.bin/ssh/ssh-rsa.c
68
const BIGNUM *rsa_n, *rsa_e;
usr.bin/ssh/ssh-rsa.c
89
const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q;
usr.bin/ssh/sshbuf-getput-crypto.c
124
sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v)
usr.bin/ssh/sshbuf-getput-crypto.c
31
sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp)
usr.bin/ssh/sshbuf-getput-crypto.c
33
BIGNUM *v;
usr.bin/ssh/sshbuf.h
242
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
usr.bin/ssh/sshbuf.h
245
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
usr.bin/ssh/sshkey.c
2641
BIGNUM *order = NULL, *cofactor = NULL;
usr.bin/ssh/sshkey.c
2696
BIGNUM *order = NULL, *tmp = NULL;
usr.bin/ssh/sshkey.c
2730
BIGNUM *x = NULL, *y = NULL;
usr.bin/ssh/sshkey.c
2758
const BIGNUM *exponent;
usr.bin/ssh/sshkey.h
295
int ssh_rsa_complete_crt_parameters(const BIGNUM *, const BIGNUM *,
usr.bin/ssh/sshkey.h
296
const BIGNUM *, const BIGNUM *, BIGNUM **, BIGNUM **);
usr.bin/ssh/sshkey.h
320
const BIGNUM *, const BIGNUM *, u_char **, size_t *);
usr.sbin/acme-client/acctproc.c
103
BIGNUM *X = NULL, *Y = NULL;
usr.sbin/acme-client/acctproc.c
217
BIGNUM *X = NULL, *Y = NULL;
usr.sbin/acme-client/acctproc.c
259
const BIGNUM *ec_sig_r = NULL, *ec_sig_s = NULL;
usr.sbin/acme-client/acctproc.c
43
bn2string(const BIGNUM *bn)
usr.sbin/nsd/xfrd-tcp.c
71
BIGNUM* bn = ASN1_INTEGER_to_BN(serial, NULL);
usr.sbin/rpki-client/ccr.c
263
BIGNUM *bn = NULL;
usr.sbin/rpki-client/cert.c
279
const BIGNUM *rsa_n, *rsa_e;
usr.sbin/rpki-client/mft.c
590
BIGNUM *diff, *seqnum_a, *seqnum_b;
usr.sbin/rpki-client/x509.c
491
static BIGNUM *
usr.sbin/rpki-client/x509.c
494
BIGNUM *bn = NULL;
usr.sbin/rpki-client/x509.c
527
BIGNUM *bn = NULL;
usr.sbin/rpki-client/x509.c
547
BIGNUM *bn;
usr.sbin/smtpd/ca.c
37
static ECDSA_SIG *ecdsae_do_sign(const unsigned char *, int, const BIGNUM *,
usr.sbin/smtpd/ca.c
38
const BIGNUM *, EC_KEY *);
usr.sbin/smtpd/ca.c
404
const BIGNUM *inv, const BIGNUM *rp, EC_KEY *eckey)
usr.sbin/smtpd/ca.c
477
ecdsae_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv,
usr.sbin/smtpd/ca.c
478
const BIGNUM *rp, EC_KEY *eckey)
usr.sbin/smtpd/ca.c
480
ECDSA_SIG *(*psign_sig)(const unsigned char *, int, const BIGNUM *,
usr.sbin/smtpd/ca.c
481
const BIGNUM *, EC_KEY *);
usr.sbin/smtpd/ca.c
526
unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *);
usr.sbin/smtpd/ca.c
527
int (*sign_setup)(EC_KEY *, BN_CTX *, BIGNUM **, BIGNUM **);
usr.sbin/unbound/sldns/keyraw.c
201
sldns_key_dsa_buf_bignum(unsigned char* key, size_t len, BIGNUM** p,
usr.sbin/unbound/sldns/keyraw.c
202
BIGNUM** q, BIGNUM** g, BIGNUM** y)
usr.sbin/unbound/sldns/keyraw.c
246
BIGNUM *Q=NULL, *P=NULL, *G=NULL, *Y=NULL;
usr.sbin/unbound/sldns/keyraw.c
291
BIGNUM *p=NULL, *q=NULL, *g=NULL, *y=NULL;
usr.sbin/unbound/sldns/keyraw.c
378
sldns_key_rsa_buf_bignum(unsigned char* key, size_t len, BIGNUM** n,
usr.sbin/unbound/sldns/keyraw.c
379
BIGNUM** e)
usr.sbin/unbound/sldns/keyraw.c
423
BIGNUM* modulus = NULL;
usr.sbin/unbound/sldns/keyraw.c
424
BIGNUM* exponent = NULL;
usr.sbin/unbound/sldns/keyraw.c
459
BIGNUM *n=NULL, *e=NULL;
usr.sbin/unbound/validator/val_secalgo.c
410
BIGNUM *R, *S;