~singpolyma/sgx-endstream