cTPM: A Cloud TPM for Cross-Device Trusted Applications