Consider the discrete Log Problem w.r.t. prime $p$. Given $b, p, r$ find $x$ where: $b^x\bmod p=r$.
We are promised that $b^{\frac{(p-1)}2}\bmod p=p-1$.
Q1: What is the complexity of calculating the second Least Significant Bit of $x$ in the worst case?
Q2 Is there a generic formula for calculating time complexity of $i^\text{th}$ Least significant bit and not just second in this promise case?
Edit: $1<x<p$