lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 1 Oct 2012 09:17:28 +0000 From: <Peter.Huewe@...ineon.com> To: <jgunthorpe@...idianresearch.com>, <linux-kernel@...r.kernel.org>, <tpmdd-devel@...ts.sourceforge.net> Subject: RE: [tpmdd-devel] [PATCH] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started Hi Jason, > The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if > TPM_STARTUP has not been issued. This will result in the TPM driver > failing to load and no way to recover. Detect this and automatically > issue TPM_STARTUP. > This is for embedded applications where the kernel is the first thing > to touch the TPM. Thanks for working on this. I also thought about this scenario quite often. Shouldn't we then also add a TpmStartup(ST_STATE) in case of a resume? rc=GetCapability() if(rc==INVALID_POSTINIT) tpm_transmit ("TPM_STARTUP(ST_STATE)")... Thanks, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists