Searched refs:big_init (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.c118 if ((err = big_init(&(key->p), plen)) != BIG_OK)
120 if ((err = big_init(&(key->q), qlen)) != BIG_OK)
122 if ((err = big_init(&(key->n), nlen)) != BIG_OK)
124 if ((err = big_init(&(key->d), nlen)) != BIG_OK)
126 if ((err = big_init(&(key->e), nlen)) != BIG_OK)
128 if ((err = big_init(&(key->dmodpminus1), plen)) != BIG_OK)
130 if ((err = big_init(&(key->dmodqminus1), qlen)) != BIG_OK)
132 if ((err = big_init(&(key->pinvmodq), qlen)) != BIG_OK)
134 if ((err = big_init(&(key->p_rr), plen)) != BIG_OK)
136 if ((err = big_init(
[all...]
/illumos-gate/usr/src/common/crypto/dsa/
H A Ddsa_impl.c78 if ((err = big_init(&(key->q), len160)) != BIG_OK)
80 if ((err = big_init(&(key->p), len)) != BIG_OK)
82 if ((err = big_init(&(key->g), len)) != BIG_OK)
84 if ((err = big_init(&(key->x), len160)) != BIG_OK)
86 if ((err = big_init(&(key->y), len)) != BIG_OK)
88 if ((err = big_init(&(key->k), len160)) != BIG_OK)
90 if ((err = big_init(&(key->r), len160)) != BIG_OK)
92 if ((err = big_init(&(key->s), len160)) != BIG_OK)
94 if ((err = big_init(&(key->v), len160)) != BIG_OK)
314 if ((brv = big_init(
[all...]
/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c80 if ((err = big_init(&(key->p), len)) != BIG_OK)
82 if ((err = big_init(&(key->g), len)) != BIG_OK)
84 if ((err = big_init(&(key->x), len)) != BIG_OK)
86 if ((err = big_init(&(key->y), len)) != BIG_OK)
/illumos-gate/usr/src/common/bignum/
H A Dbignum.h135 BIG_ERR_CODE big_init(BIGNUM *number, int size);
H A Dbignumimpl.c213 * big_init()
216 * big_init(number, size) is equivalent to big_init1(number, size, NULL, 0)
218 * Note: call big_finish() to free memory allocated by big_init().
230 big_init(BIGNUM *number, int size) function
250 * Note: call big_finish() to free memory allocated by big_init().
288 * Free memory, if any, allocated by big_init() or big_init1().
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dhchap.c5565 if (big_init(&a, CHARLEN2BIGNUMLEN(*dhvallen)) != BIG_OK) {
5567 "BIGNUM_get_pubkey: big_init failed. a size=%d",
5581 if (big_init(&e, CHARLEN2BIGNUMLEN(hash_size)) != BIG_OK) {
5583 "BIGNUM_get_pubkey: big_init failed. e size=%d",
5640 if (big_init(&n, CHARLEN2BIGNUMLEN(plen)) != BIG_OK) {
5642 "BIGNUM_get_pubkey: big_init failed. n size=%d",
5649 if (big_init(&result, CHARLEN2BIGNUMLEN(512)) != BIG_OK) {
5651 "BIGNUM_get_pubkey: big_init failed. result size=%d",
5705 if (big_init(&g, 1) != BIG_OK) {
5707 "BIGNUM_get_pubkey: big_init faile
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c1583 if (big_init(&n, (int)CHARLEN2BIGNUMLEN(
1586 if (big_init(&n, CHARLEN2BIGNUMLEN(
2308 * Size for big_init is in BIG_CHUNK_TYPE words.
2311 if (big_init(&x,
2315 if (big_init(&x,
2323 if (big_init(&q,
2327 if (big_init(&q,

Completed in 73 milliseconds