Assume that there is a protocol $(A,B)$ such that receives no input and satisfies:
$A$ - outputs two random bits $x_0, x_1 \in \{0,1\}$
$B$ - outputs a random bit $b \in \{0,1\}$ and also outputs $x_b$
Saying that $(A,B)$ is secure means that $A$ doesn't learn what is $b$, and $B$ doesn't learn what is $x_{\lnot b}$
Now, I need to construct a secure Oblivious Transfer protocol $(S,R)$ using $(A,B)$.
At first, I didn't really understand why I can't just plainly use $(A,B)$ as the Oblivious Transfer protocol, but I guess that since the outputs of $(A,B)$ are random and don't use any input, so it's not really an Oblivious Transfer protocol.
So my idea was to somehow use the output of $(A,B)$, namely $x_0, x_1, b$ as keys in an encryption system that will be used to pass input between $S$ and $R$. I want to use the simplest encryption, so One Time Pad will work for me.
However, I am not sure how exactly construct $(S,R)$, when to use $(A,B)$ and when to use the One Time Pad.
I know that are Oblivious Transfer protocols based on $RSA$ or $DDH$, but I don't think that I need to use them when $(A,B)$ is given to me.
Help would be really appreciated.