aztec-nr - noir_aztec::protocol::abis::validation_requests::key_validation_request

Struct KeyValidationRequest

pub struct KeyValidationRequest {
    pub pk_m_hash: Field,
    pub sk_app: Field,
}

A request from an app circuit to the kernel for validation of a siloed app secret key.

The master public key is exposed only as its hash_public_key digest -- apps must not see the raw point. The kernel reset circuit derives the point from the master secret key hint, hashes it, and asserts equality with pk_m_hash.

Fields

pk_m_hash: Field
sk_app: Field

Trait implementations

impl Deserialize for KeyValidationRequest

pub fn deserialize(fields: [Field; 2]) -> Self pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self

impl Empty for KeyValidationRequest

pub fn empty() -> Self pub fn is_empty(self: Self) -> bool
where Self: Eq
pub fn assert_empty<let S: u32>(self: Self, msg: str<S>)
where Self: Eq

impl Eq for KeyValidationRequest

pub fn eq(_self: Self, _other: Self) -> bool

impl Serialize for KeyValidationRequest

pub fn serialize(self) -> [Field; 2] pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)