Lines Matching defs:key_blob
219 keymaster_key_blob_t key_blob{nullptr, 0};
225 auto rc = keymaster_device_->generate_key(keymaster_device_, &kmParams, &key_blob,
230 resultKeyBlob = kmBlob2hidlVec(key_blob);
239 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material));
284 keymaster_key_blob_t key_blob{nullptr, 0};
292 &key_blob, &key_characteristics);
296 resultKeyBlob = kmBlob2hidlVec(key_blob);
304 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material));
333 // (Can we assume that key_blob is {nullptr, 0} or a valid buffer description?)
398 keymaster_key_blob_t key_blob = {};
404 &kmUpgradeParams, &key_blob);
408 resultKeyBlob = kmBlob2hidlVec(key_blob);
413 if (key_blob.key_material) free(const_cast<uint8_t*>(key_blob.key_material));