Lines Matching refs:blob_
174 blob_.key_material = nullptr; in Keymaster2Test()
176 blob_.key_material = 0; in Keymaster2Test()
197 return device()->generate_key(device(), ¶ms, &blob_, &characteristics_); in GenerateKey()
201 return device()->delete_key(device(), &blob_); in DeleteKey()
215 return device()->import_key(device(), ¶ms, format, &key, &blob_, &characteristics_); in ImportKey()
236 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_); in BeginOperation()
247 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_); in BeginOperation()
338 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey()
344 device()->upgrade_key(device(), &blob_, &upgrade_params, &upgraded_blob); in UpgradeKey()
347 blob_ = upgraded_blob; in UpgradeKey()
608 return device()->get_key_characteristics(device(), &blob_, &client_id_, NULL /* app_data */, in GetCharacteristics()
614 keymaster_error_t error = device()->export_key(device(), format, &blob_, &client_id_, in ExportKey()
669 free(const_cast<uint8_t*>(blob_.key_material)); in FreeKeyBlob()
670 blob_.key_material = NULL; in FreeKeyBlob()
674 assert(blob_.key_material); in corrupt_key_blob()
675 uint8_t* tmp = const_cast<uint8_t*>(blob_.key_material); in corrupt_key_blob()
676 ++tmp[blob_.key_material_size / 2]; in corrupt_key_blob()