BN_rshift
int BN_rshift(BIGNUM */*r*/, const BIGNUM */*a*/, int /*n*/);
bn_check(BN_rshift(x, x, BN_num_bits(x)/2));
BN_rshift(q, p, 1);