add rdv account identifiers

This commit is contained in:
Maple Nebel 2026-06-21 02:56:52 +02:00
commit 438819c34b
3 changed files with 6 additions and 2 deletions

2
Cargo.lock generated
View file

@ -918,7 +918,7 @@ checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"
[[package]]
name = "nex-account"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"hmac",
"log",

View file

@ -1,6 +1,6 @@
[package]
name = "nex-account"
version = "0.1.1"
version = "0.1.2"
edition = "2024"
publish = ["spbr"]

View file

@ -3,6 +3,10 @@ use md5::Md5;
pub mod grpc;
pub const GUEST_PID: i32 = 100;
pub const RDV_AUTHENTICATION_PID: i32 = 1;
pub const RDV_SECURE_PID: i32 = 2;
pub type NexKey = [u8; 16];
type HmacMd5 = Hmac<Md5>;