Searched refs:macedKey (Results 1 – 4 of 4) sorted by relevance
90 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()104 request.SetKeyToSign(i, keysToSign[i].macedKey.data(), keysToSign[i].macedKey.size()); in generateCertificateRequest()
102 macedPublicKey->macedKey = km_utils::kmBlob2vector(response.maced_public_key); in generateEcdsaP256KeyPair()116 request.SetKeyToSign(i, keysToSign[i].macedKey.data(), keysToSign[i].macedKey.size()); in generateCertificateRequest()
294 .map(|key| MacedPublicKey { macedKey: key.to_vec() }) in generate_csr()322 if maced_public_key.macedKey.len() > cose_key_size + byte_dist_mac0_payload { in generate_csr()324 &maced_public_key.macedKey in generate_csr()365 let mut maced_key = MacedPublicKey { macedKey: Vec::new() }; in generate_key_pair()371 let data = &maced_key.macedKey; in generate_key_pair()383 db.create_attestation_key_entry(&maced_key.macedKey, &raw_key, &priv_key, &uuid) in generate_key_pair()
395 auto macedKey = constructCoseMac0(macFunction, {} /* externalAad */, cosePublicKey); in GenerateRkpKey() local396 if (!macedKey) { in GenerateRkpKey()400 std::vector<uint8_t> enc = macedKey->encode(); in GenerateRkpKey()