Files
s390-tools/rust/pv
Steffen Eiden 8fadcd9fe5 pvsecret: Fix some edge cases for plaintext keys
Fix two edge cases for generating and interpreting plaintext secrets:
1. The maximum payload size was two bytes to long. The space for the
   length header was forgotten to take into account.
2. One of the checks for if the plaintext secret has a size was too
   strict.

Fixes: fd024387d7 ("rust/pv: Retrievable secrets support")
Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
2025-06-24 15:07:48 +02:00
..
2024-05-27 16:53:03 +02:00

s390_pv - library for pv-tools

This library is intended to be used by tools and libraries that are used for creating and managing IBM Secure Execution guests. pv provides abstraction layers for encryption, secure memory management, and accessing the uvdevice.

If your project is not targeted to provide tooling for and/or managing of IBM Secure execution guests, do not use this crate.

OpenSSL 1.1.0+ is required

If you do not need any OpenSSL features use s390_pv_core. This crate reexports all symbols from s390_pv_core. If your project uses this crate do not include s390_pv_core as well.

Import crate

The recommended way of importing this crate is:

cargo add s390_pv --rename pv