Searched refs:brv (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 169 BIG_ERR_CODE brv; local 200 if ((brv = DSA_key_init(&dsakey, bkey->prime_bits)) != BIG_OK) { 201 rv = convert_rv(brv); 206 if ((brv = big_extend(&(dsakey.p), 208 rv = convert_rv(brv); 214 if ((brv = big_extend(&(dsakey.q), 216 rv = convert_rv(brv); 222 if ((brv = big_extend(&(dsakey.g), 224 rv = convert_rv(brv); 257 BIG_ERR_CODE brv; local 424 BIG_ERR_CODE brv; local [all...] |
/illumos-gate/usr/src/common/crypto/dh/ |
H A D | dh_impl.c | 126 BIG_ERR_CODE brv; local 151 if ((brv = DH_key_init(&dhkey, bkey->prime_bits)) != BIG_OK) { 152 rv = convert_rv(brv); 157 if ((brv = big_extend(&(dhkey.p), CHARLEN2BIGNUMLEN(prime_bytes))) != 159 rv = convert_rv(brv); 165 if ((brv = big_extend(&(dhkey.g), 167 rv = convert_rv(brv); 196 if ((brv = big_extend(&(dhkey.x), BITLEN2BIGNUMLEN(bkey->value_bits))) 198 rv = convert_rv(brv); 202 if ((brv 255 BIG_ERR_CODE brv; local [all...] |
/illumos-gate/usr/src/common/crypto/rsa/ |
H A D | rsa_impl.c | 195 BIG_ERR_CODE brv = BIG_OK; local 246 if ((brv = big_random(&a, psize, rf)) != BIG_OK) { 250 if ((brv = big_nextprime_pos(&b, &a)) != BIG_OK) { 256 if ((brv = big_ext_gcd_pos(&f, &d, &g, pubexp, &a)) != BIG_OK) { 263 if ((brv = big_random(&c, qsize, rf)) != BIG_OK) { 276 if ((brv = big_nextprime_pos(&c, &a)) != BIG_OK) { 281 if ((brv = big_mul(&g, &b, &c)) != BIG_OK) { 292 if ((brv = big_mul(&a, &a, &d)) != BIG_OK) { 295 if ((brv = big_ext_gcd_pos(&f, &d, &h, pubexp, &a)) != BIG_OK) { 304 if ((brv [all...] |
Completed in 58 milliseconds