private void checkInitialised() {
    if (ctx == null) {
      throw new IllegalStateException("Not initialised");
    }
  }
Implementation of {@link HpkeSpi}.  Should not be used directly, but rather by one
of the subclasses of {@link HpkeContext}.
common/src/main/java/org/conscrypt/HpkeImpl.java