mbox series

[00/10] mmc-utils: Secure Write Protect Mode Enhancements

Message ID 20250407082833.108616-1-avri.altman@sandisk.com
Headers show
Series mmc-utils: Secure Write Protect Mode Enhancements | expand

Message

Avri Altman April 7, 2025, 8:28 a.m. UTC
This patch series introduces secure write protect mode functionality.
The first six patches are cleanups, while the last four patches add
support for various aspects of secure write protect mode.

It essentially adds the last 2 missing RPMB operations: Authenticated
Device Configuration read and write requests.


Avri Altman (10):
  mmc-utils: Initialize RPMB frame_out structures to zero
  mmc-utils: Reduce scope of nargs for RPMB commands
  mmc-utils: Pack rpmb_frame structure to avoid padding bytes
  mmc-utils: Add byte offset comments to rpmb_frame structure
  mmc-utils: Add SECURE_WP_INFO field in ext_csd register
  mmc-utils: Refactor RPMB key handling into a separate function
  mmc-utils: Add secure write-protect mode enable/disable
  mmc-utils: Enable/Disable write protect
  mmc-utils: Secure Write Protect Mode Read
  mmc-utils: Doc: new secure write protect commands

 docs/HOWTO.rst |  14 ++
 mmc.1          |  39 +++++
 mmc.c          |  62 +++++++-
 mmc.h          |   1 +
 mmc_cmds.c     | 379 ++++++++++++++++++++++++++++++++++++-------------
 mmc_cmds.h     |   5 +
 6 files changed, 398 insertions(+), 102 deletions(-)