| /src/sbin/nvmectl/ |
| bn.h | 59 #define BIGNUM mp_int 66 BIGNUM **v; 88 BIGNUM *BN_new(void); 89 BIGNUM *BN_dup(const BIGNUM */*a*/); 90 int BN_copy(BIGNUM */*b*/, const BIGNUM */*a*/); 92 void BN_init(BIGNUM */*a*/); 93 void BN_free(BIGNUM */*a*/); 94 void BN_clear(BIGNUM */*a*/) [all...] |
| humanize_bignum.c | 45 static const BIGNUM * 49 static const BIGNUM bn = { &digit, 1, 1, 0 }; 53 static const BIGNUM * 57 static const BIGNUM bn = { &digit, 1, 1, 0 }; 61 static const BIGNUM * 65 static const BIGNUM bn = { &digit, 1, 1, 0 }; 69 static const BIGNUM * 73 static const BIGNUM bn = { &digit, 1, 1, 0 }; 77 static const BIGNUM * 81 static const BIGNUM bn = { &digit, 1, 1, 0 } [all...] |
| util.c | 88 unit_string(BIGNUM *bn, const char *unit, long scale, char *out, size_t len) 93 BIGNUM *sn; 161 BIGNUM *bn = BN_bin2bn(tmp, sizeof(tmp), NULL);
|
| bignum.c | 1 /* $NetBSD: bignum.c,v 1.6 2023/02/27 22:00:25 andvar Exp $ */ 220 mp_copy(BIGNUM *a, BIGNUM *b) 4954 /* stores a bignum as a ASCII string in a given radix (2..64) 5023 formatbn(const BIGNUM *a, const int radix) 5085 getbn(BIGNUM **a, const char *str, int radix) 5210 /* BIGNUM emulation layer */ 5214 /* the BIGNUM API tends to have more const poisoning */ 5217 BIGNUM * 5218 BN_bin2bn(const uint8_t *data, int len, BIGNUM *ret [all...] |
| /src/games/factor/ |
| factor.c | 94 static void pollard_pminus1(BIGNUM *, int, int); 98 typedef long BIGNUM; 103 #define BN_new() calloc(sizeof(BIGNUM), 1) 112 static BIGNUM *BN_dup(const BIGNUM *); 113 static int BN_dec2bn(BIGNUM **, const char *); 114 static int BN_hex2bn(BIGNUM **, const char *); 115 static BN_ULONG BN_div_word(BIGNUM *, BN_ULONG); 116 static void BN_print_fp(FILE *, const BIGNUM *); 120 static void BN_print_dec_fp(FILE *, const BIGNUM *); [all...] |
| /src/usr.bin/dc/ |
| bcode.h | 24 BIGNUM *number; 89 void scale_number(BIGNUM *, int); 93 void pbn(const char *, const BIGNUM *); 95 void split_number(const struct number *, BIGNUM *, BIGNUM *);
|
| bcode.c | 102 static bool bsqrt_stop(const BIGNUM *, const BIGNUM *, u_int *); 323 pbn(const char *str, const BIGNUM *n) 347 scale_number(BIGNUM *n, int s) 362 BIGNUM *a, *p; 386 split_number(const struct number *n, BIGNUM *i, BIGNUM *f) 399 BIGNUM *a, *p; 1182 BIGNUM *i, *f; 1244 BIGNUM *one [all...] |
| inout.c | 334 BIGNUM *mult, *stop; 398 BIGNUM *v;
|
| /src/lib/libtelnet/ |
| pk.c | 66 extractideakey(BIGNUM *ck, IdeaData *ideakey) 68 BIGNUM *a = BN_new(); 69 BIGNUM *z = BN_new(); 70 BIGNUM *base = BN_new(); 100 extractdeskey(BIGNUM *ck, DesData *deskey) 102 BIGNUM *a = BN_new(); 103 BIGNUM *z = BN_new(); 104 BIGNUM *base = BN_new(); 135 BIGNUM *public = BN_new(); 136 BIGNUM *secret = BN_new() [all...] |
| /src/usr.bin/moduli/qsieve/ |
| qfile.h | 69 BIGNUM *);
|
| qfile.c | 50 uint32_t osize, uint32_t ogenerator, BIGNUM * omodulus)
|
| qsieve.c | 119 static BIGNUM *largebase; 219 BIGNUM *q; 318 BIGNUM *a;
|
| /src/tests/crypto/libcrypto/bn/div/ |
| divtest.c | 11 static void bug(const char *m, BIGNUM *a, BIGNUM *b) 25 BIGNUM *a = BN_new(), *b = BN_new(), *c = BN_new(), *d = BN_new(),
|
| /src/usr.bin/moduli/qsafe/ |
| qsafe.c | 77 BIGNUM *q, *p, *a;
|
| /src/tests/crypto/libcrypto/ecdh/ |
| ecdhtest.c | 127 BIGNUM *x_a = NULL, *y_a = NULL, *x_b = NULL, *y_b = NULL; 389 BIGNUM *priv = NULL;
|
| /src/usr.sbin/syslogd/ |
| tls.c | 106 BIGNUM *p, *g;
|