Searched refs:Algorithm (Results 1 – 5 of 5) sorted by relevance
/tools/security/remote_provisioning/hwtrust/src/cbor/ |
D | publickey.rs | 7 use coset::{Algorithm, CoseKey, CoseKeyBuilder, CoseSign1, KeyOperation, KeyType, Label}; 28 sign1.protected.header.alg == Some(Algorithm::Assigned(iana_algorithm(self.kind()))), in verify_cose_sign1() 114 cose_key.alg == Some(Algorithm::Assigned(iana::Algorithm::EdDSA)) in pkey_from_okp_key() 115 || cose_key.alg == Some(Algorithm::Assigned(iana::Algorithm::ECDH_ES_HKDF_256)) in pkey_from_okp_key() 136 Some(Algorithm::Assigned(iana::Algorithm::ES256)) in pkey_from_ec2_key() 137 | Some(Algorithm::Assigned(iana::Algorithm::ECDH_ES_HKDF_256)) => { in pkey_from_ec2_key() 141 Some(Algorithm::Assigned(iana::Algorithm::ES384)) => { in pkey_from_ec2_key() 194 fn iana_algorithm(kind: SignatureKind) -> iana::Algorithm { in iana_algorithm() argument 196 SignatureKind::Ed25519 => iana::Algorithm::EdDSA, in iana_algorithm() 197 SignatureKind::Ec(EcKind::P256) => iana::Algorithm::ES256, in iana_algorithm() [all …]
|
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/ |
D | protected_data.rs | 10 use coset::{iana, Algorithm, AsCborValue, CoseEncrypt, CoseKey, CoseRecipient, CoseSign1, Label}; 156 Id::X25519 => iana::Algorithm::ECDH_ES_HKDF_256, in work_around_recipient_key_missing_alg() 157 Id::EC if eek.bits() == 256 => iana::Algorithm::ES256, in work_around_recipient_key_missing_alg() 162 None => cose_key.alg = Some(Algorithm::Assigned(cose_alg)), in work_around_recipient_key_missing_alg() 163 Some(Algorithm::Assigned(alg)) if *alg == cose_alg => (), in work_around_recipient_key_missing_alg() 164 Some(Algorithm::Assigned(alg)) => { in work_around_recipient_key_missing_alg()
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | eek.rs | 63 .algorithm(coset::iana::Algorithm::A256GCM)
|
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/ |
D | chain.rs | 240 iana::KeyParameter::Alg.to_i64() => iana::Algorithm::EdDSA.to_i64(), in chain_from_cbor_root_key_integer_key_ops()
|
D | entry.rs | 868 iana::KeyParameter::Alg.to_i64() => iana::Algorithm::EdDSA.to_i64(), in integer_key_ops()
|