Lines Matching refs:brv
126 BIG_ERR_CODE brv;
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 = big_extend(&(dhkey.y), CHARLEN2BIGNUMLEN(prime_bytes)))
204 rv = convert_rv(brv);
221 if ((brv = big_random(&(dhkey.x), bkey->value_bits, rf)) != BIG_OK) {
222 rv = convert_rv(brv);
230 if ((brv = big_modexp(&(dhkey.y), &(dhkey.g), &(dhkey.x),
232 rv = convert_rv(brv);
255 BIG_ERR_CODE brv;
283 if ((brv = DH_key_init(&dhkey, bkey->prime_bits)) != BIG_OK) {
284 rv = convert_rv(brv);
289 if ((brv = big_extend(&(dhkey.p), CHARLEN2BIGNUMLEN(prime_bytes))) !=
291 rv = convert_rv(brv);
297 if ((brv = big_extend(&(dhkey.x), CHARLEN2BIGNUMLEN(value_bytes))) !=
299 rv = convert_rv(brv);
305 if ((brv = big_extend(&(dhkey.y), CHARLEN2BIGNUMLEN(prime_bytes))) !=
307 rv = convert_rv(brv);
316 if ((brv = big_extend(&(dhkey.g), CHARLEN2BIGNUMLEN(prime_bytes))) !=
318 rv = convert_rv(brv);
322 if ((brv = big_modexp(&(dhkey.g), &(dhkey.y), &(dhkey.x),
324 rv = convert_rv(brv);