Yes, you can directly put encH.
Just in case you want to have different hidden sizes for encoder and decoder you can add a linear layer to change the size of encH or, also, sometimes the context is sampled from a distribution derived from encH: https://arxiv.org/pdf/1511.06349.pdf 16, especially if the space is continuous