Home
last modified time | relevance | path

Searched refs:Algorithm (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Virtualization/libs/cborutil/src/
Dlib.rs141 pub fn dice_cose_key_alg(cose_key_alg: i32) -> Result<iana::Algorithm> { in dice_cose_key_alg() argument
142 let key_alg = iana::Algorithm::from_i64(cose_key_alg as i64).ok_or_else(|| { in dice_cose_key_alg()
147 iana::Algorithm::EdDSA | iana::Algorithm::ES256 | iana::Algorithm::ES384 => Ok(key_alg), in dice_cose_key_alg()
/packages/modules/Virtualization/service_vm/fake_chain/src/
Dservice_vm.rs25 Algorithm, AsCborValue, CborSerializable, CoseKey, KeyOperation, KeyType, Label,
80 alg: Some(Algorithm::Assigned(iana::Algorithm::EdDSA)), in ed25519_public_key_to_cbor_value()
/packages/modules/Virtualization/libs/dice/sample_inputs/src/
Dsample_inputs.rs22 use coset::{iana, Algorithm, AsCborValue, CoseKey, KeyOperation, KeyType, Label};
82 alg: Some(Algorithm::Assigned(iana::Algorithm::EdDSA)), in ed25519_public_key_to_cbor_value()
/packages/modules/Virtualization/service_vm/client_vm_csr/src/
Dlib.rs41 const ATTESTATION_KEY_ALGO: iana::Algorithm = iana::Algorithm::ES256;
114 fn build_signature_headers(alg: iana::Algorithm) -> CoseSignature { in build_signature_headers()
239 assert_eq!(Some(coset::Algorithm::Assigned(ATTESTATION_KEY_ALGO)), cose_key.alg); in check_ec_key_params()
/packages/modules/Virtualization/service_vm/requests/src/
Dpub_key.rs44 const ALGO: iana::Algorithm = iana::Algorithm::HMAC_256_256; in build_maced_public_key()
Ddice.rs31 Algorithm, AsCborValue, CborSerializable, CoseError, CoseKey, CoseSign1, KeyOperation, KeyType,
239 let Some(Algorithm::Assigned(alg)) = self.0.alg else { in verify()
244 iana::Algorithm::ES256 => Digester::sha256(), in verify()
245 iana::Algorithm::ES384 => Digester::sha384(), in verify()
/packages/modules/Virtualization/libs/bssl/src/
Dec_key.rs45 const ES256_ALGO: iana::Algorithm = iana::Algorithm::ES256;