Changed definition of output and set them in quote_tpm function