Skip to content

Commit

Permalink
Merge pull request #156 from derekpierre/acp
Browse files Browse the repository at this point in the history
Changes needed for ACP, ThresholdMessageKit work in `nucypher-core`
  • Loading branch information
KPrasch authored Aug 27, 2023
2 parents bc0a6a5 + c3fe68a commit e2c4c2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ferveo/src/bindings_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub fn ferveo_encrypt(
}

#[wasm_bindgen]
#[derive(Clone, Debug, Serialize, Deserialize)]
#[derive(Clone, Debug, Serialize, Deserialize, derive_more::AsRef)]
pub struct SharedSecret(api::SharedSecret);

generate_common_methods!(SharedSecret);
Expand Down Expand Up @@ -317,6 +317,7 @@ pub fn decrypt_with_shared_secret(
type InnerDkgPublicKey = api::DkgPublicKey;

#[wasm_bindgen]
#[derive(derive_more::From, derive_more::AsRef)]
pub struct DkgPublicKey(InnerDkgPublicKey);

generate_equals!(DkgPublicKey);
Expand Down

0 comments on commit e2c4c2e

Please sign in to comment.