/freebsd-10-stable/crypto/openssl/crypto/srp/ |
H A D | srp.h | 78 BIGNUM *bn; 87 BIGNUM *s; 88 BIGNUM *v; 90 const BIGNUM *g; 91 const BIGNUM *N; 105 BIGNUM *default_g; 106 BIGNUM *default_N; 114 BIGNUM *g; 115 BIGNUM *N; 131 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **sal [all...] |
H A D | srp_lib.c | 82 static BIGNUM *srp_Calc_k(BIGNUM *N, BIGNUM *g) 115 BIGNUM *SRP_Calc_u(BIGNUM *A, BIGNUM *B, BIGNUM *N) 119 BIGNUM *u; 153 BIGNUM *SRP_Calc_server_key(BIGNUM * [all...] |
/freebsd-10-stable/crypto/openssh/ |
H A D | rsa.h | 22 int rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *); 23 int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
|
H A D | dh.h | 31 BIGNUM *g; 32 BIGNUM *p; 37 DH *dh_new_group(BIGNUM *, BIGNUM *); 45 int dh_pub_is_valid(DH *, BIGNUM *);
|
H A D | bufbn.c | 33 buffer_put_bignum_ret(Buffer *buffer, const BIGNUM *value) 45 buffer_put_bignum(Buffer *buffer, const BIGNUM *value) 52 buffer_get_bignum_ret(Buffer *buffer, BIGNUM *value) 64 buffer_get_bignum(Buffer *buffer, BIGNUM *value) 72 buffer_put_bignum2_ret(Buffer *buffer, const BIGNUM *value) 84 buffer_put_bignum2(Buffer *buffer, const BIGNUM *value) 91 buffer_get_bignum2_ret(Buffer *buffer, BIGNUM *value) 103 buffer_get_bignum2(Buffer *buffer, BIGNUM *value)
|
/freebsd-10-stable/crypto/openssl/crypto/bn/ |
H A D | bn.h | 308 * get a clone of a BIGNUM with changed flags, for *temporary* use only (the 322 typedef struct bignum_st BIGNUM; 344 BIGNUM RR; /* used to convert to montgomery form */ 345 BIGNUM N; /* The modulus */ 346 BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1 (Ni is only 359 BIGNUM N; /* the divisor */ 360 BIGNUM Nr; /* the reciprocal */ 429 BIGNUM *_tmp_bn = (a); \ 439 const BIGNUM *BN_value_one(void); 447 BIGNUM *BN_CTX_ge [all...] |
H A D | bn_mod.c | 120 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) 142 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM * [all...] |
H A D | bn_x931p.c | 70 static int bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx, 97 int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, 98 const BIGNUM *Xp, const BIGNUM *Xp1, 99 const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, 104 BIGNUM * [all...] |
H A D | bn_depr.c | 70 BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, 71 const BIGNUM *add, const BIGNUM *rem, 75 BIGNUM *rnd = NULL; 96 int BN_is_prime(const BIGNUM *a, int checks, 105 int BN_is_prime_fasttest(const BIGNUM *a, int checks,
|
H A D | bn_prime.c | 131 static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, 132 const BIGNUM *a1_odd, int k, BN_CTX *ctx, 134 static int probable_prime(BIGNUM *rnd, int bits); 135 static int probable_prime_dh(BIGNUM *rnd, int bits, 136 const BIGNUM *add, const BIGNUM *rem, 138 static int probable_prime_dh_safe(BIGNUM *rnd, int bits, const BIGNUM *ad [all...] |
H A D | bn_rand.c | 118 static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) 200 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) 205 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) 211 int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) 218 static int bn_rand_range(int pseudo, BIGNUM *r, const BIGNUM *range) 220 int (*bn_rand) (BIGNUM *, int, int, int) = 283 int BN_rand_range(BIGNUM *r, const BIGNUM *range) 288 int BN_pseudo_rand_range(BIGNUM * [all...] |
/freebsd-10-stable/contrib/ntp/include/ |
H A D | libssl_compat.h | 59 extern void sslshim_RSA_get0_key(const RSA *prsa, const BIGNUM **pn, 60 const BIGNUM **pe, const BIGNUM **pd); 61 extern int sslshim_RSA_set0_key(RSA *prsa, BIGNUM *n, 62 BIGNUM *e, BIGNUM *d); 63 extern void sslshim_RSA_get0_factors(const RSA *prsa, const BIGNUM **pp, 64 const BIGNUM **pq); 65 extern int sslshim_RSA_set0_factors(RSA *prsar, BIGNUM *p, BIGNUM * [all...] |
/freebsd-10-stable/crypto/openssl/crypto/ec/ |
H A D | ec_lcl.h | 107 int (*group_set_curve) (EC_GROUP *, const BIGNUM *p, const BIGNUM *a, 108 const BIGNUM *b, BN_CTX *); 109 int (*group_get_curve) (const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, 133 EC_POINT *, const BIGNUM *x, 134 const BIGNUM *y, 135 const BIGNUM *z, BN_CTX *); 137 const EC_POINT *, BIGNUM * [all...] |
H A D | ec_cvt.c | 75 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, 76 const BIGNUM *b, BN_CTX *ctx) 149 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, 150 const BIGNUM *b, BN_CTX *ctx)
|
/freebsd-10-stable/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.h | 15 BIGNUM *load_bignum(const char *name);
|
/freebsd-10-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 86 ASN1_SIMPLE(RSA, n, BIGNUM), 87 ASN1_SIMPLE(RSA, e, BIGNUM), 88 ASN1_SIMPLE(RSA, d, BIGNUM), 89 ASN1_SIMPLE(RSA, p, BIGNUM), 90 ASN1_SIMPLE(RSA, q, BIGNUM), 91 ASN1_SIMPLE(RSA, dmp1, BIGNUM), 92 ASN1_SIMPLE(RSA, dmq1, BIGNUM), 93 ASN1_SIMPLE(RSA, iqmp, BIGNUM) 98 ASN1_SIMPLE(RSA, n, BIGNUM), 99 ASN1_SIMPLE(RSA, e, BIGNUM), [all...] |
/freebsd-10-stable/crypto/openssl/engines/ |
H A D | e_atalla.c | 94 /* BIGNUM stuff */ 95 static int atalla_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 96 const BIGNUM *m, BN_CTX *ctx); 100 static int atalla_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, 103 static int atalla_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM * [all...] |
H A D | e_nuron.c | 116 typedef int tfnModExp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 117 const BIGNUM *m); 189 static int nuron_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 190 const BIGNUM *m, BN_CTX *ctx) 200 static int nuron_rsa_mod_exp(BIGNUM *r0, const BIGNUM * [all...] |
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | libssl_compat.c | 36 * replace a BIGNUM owned by the caller with another one if it's not 43 BIGNUM ** ps, 44 BIGNUM * n 132 const BIGNUM ** pn, 133 const BIGNUM ** pe, 134 const BIGNUM ** pd 150 BIGNUM * n, 151 BIGNUM * e, 152 BIGNUM * d 169 const BIGNUM ** p [all...] |
/freebsd-10-stable/crypto/openssl/crypto/ecdsa/ |
H A D | ecs_locl.h | 71 const BIGNUM *inv, const BIGNUM *rp, 73 int (*ecdsa_sign_setup) (EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 74 BIGNUM **r);
|
H A D | ecdsa.h | 79 BIGNUM *r; 80 BIGNUM *s; 124 * \param kinv BIGNUM with a pre-computed inverse k (optional) 125 * \param rp BIGNUM with a pre-computed rp value (optioanl), 131 const BIGNUM *kinv, const BIGNUM *rp, 174 * \param kinv BIGNUM pointer for the inverse of k 175 * \param rp BIGNUM pointer for x coordinate of k * generator 178 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **r [all...] |
H A D | ecs_sign.c | 68 const BIGNUM *kinv, const BIGNUM *rp, 84 *sig, unsigned int *siglen, const BIGNUM *kinv, 85 const BIGNUM *r, EC_KEY *eckey) 99 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, 100 BIGNUM **rp)
|
/freebsd-10-stable/crypto/openssl/crypto/jpake/ |
H A D | jpake.h | 28 BIGNUM *gr; /* g^r (r random) */ 29 BIGNUM *b; /* b = r - x*h, h=hash(g, g^r, g^x, name) */ 33 BIGNUM *gx; /* g^x in step 1, g^(xa + xc + xd) * xb * s 55 const BIGNUM *p, const BIGNUM *g, const BIGNUM *q, 56 const BIGNUM *secret); 96 const BIGNUM *JPAKE_get_shared_key(JPAKE_CTX *ctx);
|
/freebsd-10-stable/crypto/openssl/engines/ccgost/ |
H A D | gost2001_keyx.h | 2 BIGNUM *eph_key,
|
/freebsd-10-stable/crypto/openssl/crypto/asn1/ |
H A D | x_bignum.c | 66 * Custom primitive type for BIGNUM handling. This reads in an ASN1_INTEGER 67 * as a BIGNUM directly. Currently it ignores the sign which isn't a problem 91 ASN1_ITEM_start(BIGNUM) 92 ASN1_ITYPE_PRIMITIVE, V_ASN1_INTEGER, NULL, 0, &bignum_pf, 0, "BIGNUM" 93 ASN1_ITEM_end(BIGNUM) 96 ASN1_ITYPE_PRIMITIVE, V_ASN1_INTEGER, NULL, 0, &bignum_pf, BN_SENSITIVE, "BIGNUM" 113 BN_clear_free((BIGNUM *)*pval); 115 BN_free((BIGNUM *)*pval); 122 BIGNUM *bn; 126 bn = (BIGNUM *)*pva [all...] |