mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
String is more or less a Vec<u8> with some extra invariants (i.e. only UFF-8 chars). Zeroroize is implemented by calling the Vec<u8> implementation. The zero byte is a valid UTF-8 symbol. The String invariant is uphold by the clearing code. Also, implement a into_inner function for clone-able inner types. This allows converting confidential types into no-confidential types. As Drop is implemented this requires a clone (see E0509). Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
s390_pv_core - basic 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.
s390_pv_core provides abstraction layers for secure memory management,
logging, 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.
It does not provide any cryptographic operations through OpenSSL.
For this use s390_pv which reexports all symbols from this crate.
If your project uses s390_pv crate do not include s390_pv_core as well.
Import crate
The recommended way of importing this crate is:
cargo add s390_pv_core --rename pv_core