I am doing some work with measuring the distance between distributions, and someone pointed out to me that I should look into calculating the integrated squared difference of two brownian bridge processes. Rather than re-invent the wheel, what I would like to ask is if there are any known results for the integrated squared difference of two brownian bridge processes (does it have a known distribution)? In particular,
$$\int_0^1(B_{1t} - B_{2t})^2dt$$
where $B_{1t}$ and $B_{2t}$ are independent brownian bridge processes.