mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
pvattest is a tool to attest an IBM Secure Execution guest. In a trusted environment, one can create a request using `pvattest create`. To get a measurement of an untrusted IBM Secure Execution guest call 'pvattest perform'. Again in a trusted environment, call 'pvattest verify' to verify that the measurement is the expected one. The tool runs on s390 and x86. It has the same requirements like libpv and therefore requires openssl v1.1.1+, glib2.56+, and libcurl. Additionally, to measure, the linux kernel must provide the Ultravisor userspace interface `uvdevice` at /dev/uv and must be executed on an IBM Secure Execution guest on hardware with Ultravisor attestation support, like IBM z16 or later. Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
32 lines
593 B
C
32 lines
593 B
C
/*
|
|
* Config file.
|
|
* Must be include before any other header.
|
|
*
|
|
* Copyright IBM Corp. 2022
|
|
*
|
|
* s390-tools is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*
|
|
*/
|
|
#ifndef PVATTEST_CONFIG_H
|
|
#define PVATTEST_CONFIG_H
|
|
#define GETTEXT_PACKAGE "pvattest"
|
|
|
|
#ifdef __GNUC__
|
|
#ifdef __s390x__
|
|
#ifndef PVATTEST_NO_PERFORM
|
|
#define PVATTEST_COMPILE_PERFORM
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef __clang__
|
|
#ifdef __zarch__
|
|
#ifndef PVATTEST_NO_PERFORM
|
|
#define PVATTEST_COMPILE_PERFORM
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* PVATTEST_CONFIG_H */
|