Re: [PATCH v3 5/5] mmc: card: Add RPMB support in IOCTL interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>
> Hi,
>   Any specific reason why the RPMB support is implemented using the
> IOCTL interface. Can this be done by the Kernel itself instead of
> being initiated by a user space application ?
>
> --
> regards,
> Shashidhar Hiremath
> --

Hi,
There are several reasons for that:
- RPMB partition supports only few commands, it is not a "standard" partition
- RPMB data access requests a dedicated data frame which contains MAC,
write counter, address...
- Only trusted/secured applications owns authentification key to
calculate MAC (message authentification code) for each data frame.

So implementing RPMB access in kernel will complexify the driver (link
with security, data frame management...) and create vulnerability from
security point of view.
With this solution, kernel driver provides just a pipe between secured
application and eMMC.

Regards,
Loic
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux