tools/arch/x86/intel_sdsi: Fix meter_show display
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 11 Apr 2024 02:58:53 +0000 (19:58 -0700)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 08:52:01 +0000 (10:52 +0200)
commit76f2bc17428c890754d11aa6aea14b332ba130c5
tree6b5185e443b9505f969a0be017e2a6cf95bfdc4a
parenta66f962f67ebbbdf7c82c6652180930c0169cf13
tools/arch/x86/intel_sdsi: Fix meter_show display

Fixes sdsi_meter_cert_show() to correctly decode and display the meter
certificate output. Adds and displays a missing version field, displays the
ASCII name of the signature, and fixes the print alignment.

Fixes: 7fdc03a7370f ("tools/arch/x86: intel_sdsi: Add support for reading meter certificates")
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240411025856.2782476-7-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/arch/x86/intel_sdsi/intel_sdsi.c