Skip to content

Re-export HPKE for enclave_encrypt:: EnclaveEncryptClient users #29

@r-n-o

Description

@r-n-o

When instantiating EnclaveEncryptClient users need to reach into HPKE because from_enclave_auth_key_and_target_key requires hpke::Kem:

pub fn from_enclave_auth_key_and_target_key(
enclave_auth_key: VerifyingKey,
target_public_key: <Kem as KemTrait>::PublicKey,
target_private_key: <Kem as KemTrait>::PrivateKey,
) -> Self {
Self {
enclave_auth_key,
target_public: Some(target_public_key),
target_private: Some(target_private_key),
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions