Lines Matching refs:blob_
178 blob_.key_material = nullptr; in Keymaster2Test()
180 blob_.key_material = 0; in Keymaster2Test()
201 return device()->generate_key(device(), ¶ms, &blob_, &characteristics_); in GenerateKey()
205 return device()->delete_key(device(), &blob_); in DeleteKey()
219 return device()->import_key(device(), ¶ms, format, &key, &blob_, &characteristics_); in ImportKey()
240 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_); in BeginOperation()
251 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_); in BeginOperation()
347 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey()
353 device()->upgrade_key(device(), &blob_, &upgrade_params, &upgraded_blob); in UpgradeKey()
356 blob_ = upgraded_blob; in UpgradeKey()
611 return device()->get_key_characteristics(device(), &blob_, &client_id_, nullptr /* app_data */, in GetCharacteristics()
617 keymaster_error_t error = device()->export_key(device(), format, &blob_, &client_id_, in ExportKey()
693 free(const_cast<uint8_t*>(blob_.key_material)); in FreeKeyBlob()
694 blob_.key_material = nullptr; in FreeKeyBlob()
698 assert(blob_.key_material); in corrupt_key_blob()
699 uint8_t* tmp = const_cast<uint8_t*>(blob_.key_material); in corrupt_key_blob()
700 ++tmp[blob_.key_material_size / 2]; in corrupt_key_blob()