[RFC/RFT v3 1/3] KEYS: trusted: create trusted keys subsystem

Sumit Garg sumit.garg at linaro.org
Thu Aug 8 12:26:57 UTC 2019


On Thu, 8 Aug 2019 at 00:29, Jarkko Sakkinen
<jarkko.sakkinen at linux.intel.com> wrote:
>
> On Tue, Aug 06, 2019 at 07:07:18PM +0530, Sumit Garg wrote:
> > Move existing code to trusted keys subsystem. Also, rename files with
> > "tpm" as suffix which provides the underlying implementation.
> >
> > Suggested-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> > Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
>
> The name for should be still trusted.ko even if new backends are added.
> Must be done in order not to break user space.

Agree. I think I need to update Makefile as follows:

obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
trusted-y += trusted-tpm.o

-Sumit

>
> Situation is quite similar as when new backends were added to tpm_tis
> some time ago: MMIO backed implementation was kept as tpm_tis.ko, the
> core module was named as tpm_tis_core and SPI backed implementation was
> named as tpm_tis_spi.ko.
>
> /Jarkko



More information about the Linux-security-module-archive mailing list