Lines Matching refs:BIGNUM
70 BN_check_prime(BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) in BN_check_prime()
78 static void pollard_pminus1(BIGNUM *); /* print factors for big numbers */
82 typedef ubig BIGNUM; typedef
87 #define BN_new() ((BIGNUM *)calloc(sizeof(BIGNUM), 1))
92 static int BN_dec2bn(BIGNUM **, const char *);
93 static int BN_hex2bn(BIGNUM **, const char *);
94 static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG);
95 static void BN_print_fp(FILE *, const BIGNUM *);
99 static void BN_print_dec_fp(FILE *, const BIGNUM *);
100 static void convert_str2bn(BIGNUM **, char *);
102 static void pr_fact(BIGNUM *); /* print factors of a value */
103 static void pr_print(BIGNUM *); /* print a prime */
112 BIGNUM *val; in main()
166 pr_fact(BIGNUM *val) in pr_fact()
196 BIGNUM *bnfact; in pr_fact()
226 pr_print(BIGNUM *val) in pr_print()
248 pollard_pminus1(BIGNUM *val) in pollard_pminus1()
250 BIGNUM *base, *rbase, *num, *i, *x; in pollard_pminus1()
301 BN_print_dec_fp(FILE *fp, const BIGNUM *num) in BN_print_dec_fp()
315 BN_print_fp(FILE *fp, const BIGNUM *num) in BN_print_fp()
321 BN_print_dec_fp(FILE *fp, const BIGNUM *num) in BN_print_dec_fp()
327 BN_dec2bn(BIGNUM **a, const char *str) in BN_dec2bn()
337 BN_hex2bn(BIGNUM **a, const char *str) in BN_hex2bn()
347 BN_div_word(BIGNUM *a, BN_ULONG b) in BN_div_word()
383 convert_str2bn(BIGNUM **val, char *p) in convert_str2bn()