Home
last modified time | relevance | path

Searched refs:KeyAgreementPublicKey (Results 1 – 3 of 3) sorted by relevance

/tools/security/remote_provisioning/hwtrust/src/
Dpublickey.rs46 pub struct KeyAgreementPublicKey { struct
88 impl KeyAgreementPublicKey { impl
148 impl TryFrom<PKey<Public>> for KeyAgreementPublicKey { implementation
152 let kind = KeyAgreementPublicKey::pkey_kind(&pkey).ok_or(TryFromPKeyError(()))?; in try_from()
224 let key: KeyAgreementPublicKey = pkey.clone().try_into().unwrap(); in key_agreement_key_from_x25519_pkey()
232 let key: KeyAgreementPublicKey = pkey.clone().try_into().unwrap(); in key_agreement_key_from_p256_pkey()
240 let key: KeyAgreementPublicKey = pkey.clone().try_into().unwrap(); in key_agreement_key_from_p384_pkey()
248 assert!(KeyAgreementPublicKey::try_from(pkey).is_err()); in key_agreement_key_from_ed25519_pkey_not_supported()
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/
Dprotected_data.rs5 use crate::publickey::{KeyAgreementPublicKey, PublicKey};
39 let pubkey = KeyAgreementPublicKey::from_cose_key(&pubkey_cose)?; in from_cose_encrypt()
/tools/security/remote_provisioning/hwtrust/src/cbor/
Dpublickey.rs3 use crate::publickey::{EcKind, KeyAgreementPublicKey, PublicKey, SignatureKind};
77 impl KeyAgreementPublicKey { impl