From b87dde92088dbcc34dfdf4385aec8684524caec2 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 8 Jan 2024 01:44:01 +0800 Subject: [PATCH] add new signature version code to api --- services/root-keys/src/api.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/root-keys/src/api.rs b/services/root-keys/src/api.rs index 6baf4a7f0..e18107304 100644 --- a/services/root-keys/src/api.rs +++ b/services/root-keys/src/api.rs @@ -6,7 +6,9 @@ use core::mem::size_of; pub(crate) const SERVER_NAME_KEYS: &str = "_Root key server and update manager_"; #[allow(dead_code)] -pub(crate) const SIG_VERSION: u32 = 1; +pub(crate) const SIG_LOADER_VERSION: u32 = 1; // standard ed25519 signature +#[allow(dead_code)] +pub(crate) const SIG_KERNEL_VERSION: u32 = 2; // ed25519ph signature #[allow(dead_code)] #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)]