All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@kernel.org>
To: Tomas Winkler <tomas.winkler@intel.com>,
	gregkh@linuxfoundation.org, Ulf Hansson <ulf.hansson@linaro.org>,
	Adrian Hunter <adrian.hunter@intel.com>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Vinayak Holikatti <vinholikatti@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>,
	Yaniv Gardi <ygardi@codeaurora.org>,
	Joao Pinto <Joao.Pinto@synopsys.com>,
	linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/8] Replay Protected Memory Block (RPMB) subsystem
Date: Sun, 3 Apr 2016 06:27:27 -0700	[thread overview]
Message-ID: <57011A3F.1010007@kernel.org> (raw)
In-Reply-To: <1459676572-29921-1-git-send-email-tomas.winkler@intel.com>

On 04/03/2016 02:42 AM, Tomas Winkler wrote:
> Few storage technology such is EMMC, UFS, and NVMe support RPMB
> hardware partition with common protocol and frame layout.
> The RPMB partition cannot be accessed via standard block layer, but
> by a set of specific commands: WRITE, READ, GET_WRITE_COUNTER, and
> PROGRAM_KEY.
> Such a partition provides authenticated and replay protected access,
> hence suitable as a secure storage.
>
> A storage device registers its RPMB hardware (emmc) partition or
> RPMB W-LUN (ufs) with the RPMB layer providing an implementation for
> send_rpmb_req() handler.
> Tere is as well simulation platform device. This is handy as an RPMB
> key can be programmed only once at storage device lifetime.
>
> The RPMB layer aims to provide in-kernel API for Trusted Execution
> Environment (TEE) devices that are capable to securely compute block
> frame signature. A TEE driver can claim rpmb interface, for example,
> via  class_interface_register ().

What's the workflow?  Does the TEE ask the kernel to do RPMB operations 
for it and supply the kernel with the authenticated request blobs to 
forward to the RPMB?

--Andy

  parent reply	other threads:[~2016-04-03 13:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03  9:42 [PATCH 0/8] Replay Protected Memory Block (RPMB) subsystem Tomas Winkler
2016-04-03  9:42 ` [PATCH 1/8] rpmb: add " Tomas Winkler
2016-04-03  9:42 ` [PATCH 2/8] char: rpmb: add sysfs-class ABI documentation Tomas Winkler
2016-04-24  9:19   ` Pavel Machek
2016-04-24 16:27     ` Winkler, Tomas
2016-04-03  9:42 ` [PATCH 3/8] char: rpmb: add device attributes Tomas Winkler
2016-04-03  9:42 ` [PATCH 4/8] char: rpmb: provide user space interface Tomas Winkler
2016-04-03 10:36   ` [PATCH] char: rpmb: fix memdup_user.cocci warnings kbuild test robot
2016-04-03 10:36     ` kbuild test robot
2016-04-03 10:36   ` [PATCH 4/8] char: rpmb: provide user space interface kbuild test robot
2016-04-03 10:36     ` kbuild test robot
2016-04-03  9:42 ` [PATCH 5/8] char: rpmb: add RPMB simulation device Tomas Winkler
2016-04-03 10:45   ` kbuild test robot
2016-04-03 10:45     ` kbuild test robot
2016-04-03 10:45   ` [PATCH] char: rpmb: fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-04-03 10:45     ` kbuild test robot
2016-04-03 15:35   ` [PATCH 5/8] char: rpmb: add RPMB simulation device kbuild test robot
2016-04-03 15:35     ` kbuild test robot
2016-04-03  9:42 ` [PATCH 6/8] tools rpmb: add RPBM access tool Tomas Winkler
2016-04-04  0:55   ` kbuild test robot
2016-04-04  0:55     ` kbuild test robot
2016-04-03  9:42 ` [PATCH 7/8] mmc: block: register rpmb partition with the RPMB subsystem Tomas Winkler
2016-04-03  9:42 ` [PATCH 8/8] scsi: ufs: connect to " Tomas Winkler
2016-04-04 10:32   ` Joao Pinto
2016-04-04 10:32     ` Joao Pinto
2016-04-04 10:35     ` Winkler, Tomas
2016-04-03 13:27 ` Andy Lutomirski [this message]
2016-04-03 19:27   ` [PATCH 0/8] Replay Protected Memory Block (RPMB) subsystem Winkler, Tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57011A3F.1010007@kernel.org \
    --to=luto@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=adrian.hunter@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=tomas.winkler@intel.com \
    --cc=ulf.hansson@linaro.org \
    --cc=vinholikatti@gmail.com \
    --cc=ygardi@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.