Given a field $k$, an associative $k$-algebra $A$, and an $A$-bimodule $M$, one can define as the Hochschild homology and cohomology as the homology of the complexes $$M\otimes A^{\otimes n}$$ and $$\text{Hom}(A^{\otimes n},M)$$ respectively (with appropriate differentials)
One can similarly define Hochschild (co)homology for a coassociate coalgebra $C$ and a bicomodule by taking homology of the complexes $$C^{\otimes n}\otimes M$$ and $$\text{Hom}(M, C^{\otimes n})$$
Is it known how the algebra and coalgebra versions are related? In particular, given a Hopf algebra, do both approaches compute the same objects?