Move all the existing function pointer casts associated with LHASH's two