Skip to content

Commit d6d659c

Browse files
committed
add missing license headers
Signed-off-by: leongross <leon.gross@9elements.com>
1 parent 3cd80a5 commit d6d659c

7 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/platform/evidence.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
pub const PCR_QUOTE_BUFFER_SIZE: usize = 0x1984;
24

35
pub type SpdmEvidenceResult<T> = Result<T, SpdmEvidenceError>;

src/platform/hash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
pub type SpdmHashResult<T> = Result<T, SpdmHashError>;
24

35
pub trait SpdmHash {

src/platform/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
pub mod evidence;
24
pub mod hash;
35
pub mod rng;

src/platform/rng.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
pub type SpdmRngResult<T> = Result<T, SpdmRngError>;
24

35
#[derive(Debug, PartialEq)]

src/platform/transport.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
use crate::codec::{CodecError, MessageBuf};
24

35
pub type TransportResult<T> = Result<T, TransportError>;

src/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
use crate::{
24
cert_store::{CertStoreResult, SpdmCertStore},
35
context::SpdmContext,

tests/spdm_validator_host.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
//! Basic instantiation test for SpdmContext (host validator)
24
//! Run with: cargo test --features std -- --nocapture
35

0 commit comments

Comments
 (0)