Searched refs:BIGNUM (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/common/bignum/
H A Dbignum.h87 } BIGNUM; typedef in typeref:struct:__anon1943
109 typedef BIG_ERR_CODE (*big_modexp_ncp_func_ptr)(BIGNUM *result,
110 BIGNUM *ma, BIGNUM *e, BIGNUM *n,
111 BIGNUM *tmp, BIG_CHUNK_TYPE n0, void *ncp, void *req);
130 extern BIGNUM big_One;
131 extern BIGNUM big_Two;
133 void printbignum(char *aname, BIGNUM *a);
135 BIG_ERR_CODE big_init(BIGNUM *numbe
[all...]
H A Dbignumimpl.c155 * Print a BIGNUM type to stdout.
158 printbignum(char *aname, BIGNUM *a)
214 * Initialize and allocate memory for a BIGNUM type.
221 * number Uninitialized memory for BIGNUM
222 * size Minimum size, in BIG_CHUNK_SIZE-bit words, required for BIGNUM
225 * number Initialized BIGNUM
230 big_init(BIGNUM *number, int size)
246 * Initialize and, if needed, allocate memory for a BIGNUM type.
253 * number Uninitialized memory for BIGNUM
254 * size Minimum size, in BIG_CHUNK_SIZE-bit words, required for BIGNUM
[all...]
/illumos-gate/usr/src/common/crypto/dsa/
H A Ddsa_impl.h71 /* DSA key using BIGNUM representations */
74 BIGNUM p; /* p (<size-bit> prime) */
75 BIGNUM q; /* q (160-bit prime) */
76 BIGNUM g; /* g (the base) */
77 BIGNUM x; /* private key (< q) */
78 BIGNUM y; /* = g^x mod p */
79 BIGNUM k; /* k (random number < q) */
80 BIGNUM r; /* r (signature 1st part) */
81 BIGNUM s; /* s (signature 2st part) */
82 BIGNUM
[all...]
H A Ddsa_impl.c259 BIGNUM msg, tmp, tmp1;
426 BIGNUM msg, tmp1, tmp2, tmp3;
/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.h83 /* RSA key using BIGNUM representations */
86 BIGNUM p; /* p */
87 BIGNUM q; /* q */
88 BIGNUM n; /* n = p * q (the modulus) */
89 BIGNUM d; /* private exponent */
90 BIGNUM e; /* public exponent */
91 BIGNUM dmodpminus1; /* d mod (p - 1) (exponent 1) */
92 BIGNUM dmodqminus1; /* d mod (q - 1) (exponent 2) */
93 BIGNUM pinvmodq; /* p^(-1) mod q (the coefficient) */
94 BIGNUM p_r
[all...]
H A Drsa_impl.c187 generate_rsa_key(RSAkey *key, int psize, int qsize, BIGNUM *pubexp,
193 BIGNUM a, b, c, d, e, f, g, h;
401 BIGNUM public_exponent = {0};
493 BIGNUM msg;
560 BIGNUM msg;
/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.h68 /* DH key using BIGNUM representations */
71 BIGNUM p; /* p (prime) */
72 BIGNUM g; /* g (base) */
73 BIGNUM x; /* private value (random) */
74 BIGNUM y; /* public value (= g^x mod p) */
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.h165 (BIGNUM *, BIGNUM *, BIGNUM *, unsigned char **, unsigned int *);
169 (BIGNUM * p1, BIGNUM * p2, BIGNUM * g1, BIGNUM * q1);
191 static void print_pubkey(BIGNUM *, char *);
H A Dpkinit_crypto_openssl.c2285 BIGNUM *server_pub_key = NULL;
2518 pkinit_encode_dh_params(BIGNUM *p, BIGNUM *g, BIGNUM *q,
2983 pkinit_check_dh_params(BIGNUM * p1, BIGNUM * p2, BIGNUM * g1, BIGNUM * q1)
2985 BIGNUM *g2 = NULL, *q2 = NULL;
5210 BIGNUM *b
[all...]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c180 sslBN2KMFBN(BIGNUM *, KMF_BIGINT *);
515 BIGNUM *bn;
809 BIGNUM *D = NULL, *P = NULL, *Q = NULL, *COEF = NULL;
810 BIGNUM *Exp1 = NULL, *Exp2 = NULL, *pminus1 = NULL;
811 BIGNUM *qminus1 = NULL;
1763 fixbnlen(BIGNUM *bn, unsigned char *buf, int len) {
4054 sslBN2KMFBN(BIGNUM *from, KMF_BIGINT *to)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c5537 BIGNUM a, e, n, result;
5541 BIGNUM g, result1;
5789 BIGNUM g, e, n, result1;
5938 BIGNUM a, e, n, result;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c1322 BIGNUM n;
1894 BIGNUM x, q;
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2555 BIGNUM p, g, x, y;

Completed in 133 milliseconds