Searched refs:eek (Results 1 – 2 of 2) sorted by relevance
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/ |
D | protected_data.rs | 4 use crate::eek; 25 let (recipient, eek) = Self::match_recipient(&protected_data.recipients)?; in from_cose_encrypt() 37 Self::work_around_recipient_key_missing_alg(&mut pubkey_cose, &eek)?; in from_cose_encrypt() 40 let encryption_key = eek::derive_ephemeral_symmetric_key(&eek, pubkey.pkey()) in from_cose_encrypt() 153 eek: &PKey<Private>, in work_around_recipient_key_missing_alg() 155 let cose_alg = match eek.id() { in work_around_recipient_key_missing_alg() 157 Id::EC if eek.bits() == 256 => iana::Algorithm::ES256, in work_around_recipient_key_missing_alg() 158 other => bail!("Unsupported EEK: {:?}, key size: {}", other, eek.bits()), in work_around_recipient_key_missing_alg() 176 if r.unprotected.key_id == eek::X25519_EEK_ID { in match_recipient() 177 return Ok((r.clone(), eek::x25519_geek())); in match_recipient() [all …]
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | lib.rs | 10 mod eek; module
|