rust/pv: Export EcPubKeyCoord

Make EcPubKeyCoord available, after renaming it from EcdhPubkeyCoord.
This enables API users to calculate the hash of a public host-key and
compare it to a hash from attestation.
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2024-10-31 11:15:44 +01:00
parent 53d803abf3
commit 17aba9322e
2 changed files with 49 additions and 25 deletions
+2 -1
View File
@@ -93,12 +93,13 @@ pub use pv_core::{FileAccessErrorType, FileIoErrorType};
pub mod request {
pub use crate::brcb::BootHdrTags;
pub use crate::crypto::{SymKey, SymKeyType};
pub use crate::req::{Keyslot, ReqEncrCtx, Request};
pub use crate::req::{EcPubKeyCoord, Keyslot, ReqEncrCtx, Request};
pub use crate::verify::{CertVerifier, HkdVerifier, NoVerifyHkd};
/// Reexports some useful OpenSSL symbols
pub mod openssl {
pub use openssl::error::ErrorStack;
pub use openssl::hash::DigestBytes;
pub use openssl::pkey;
pub use openssl::x509;
}