14f7ff21fSopenharmony_ci/* 24f7ff21fSopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd. 34f7ff21fSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 44f7ff21fSopenharmony_ci * you may not use this file except in compliance with the License. 54f7ff21fSopenharmony_ci * You may obtain a copy of the License at 64f7ff21fSopenharmony_ci * 74f7ff21fSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 84f7ff21fSopenharmony_ci * 94f7ff21fSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 104f7ff21fSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 114f7ff21fSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 124f7ff21fSopenharmony_ci * See the License for the specific language governing permissions and 134f7ff21fSopenharmony_ci * limitations under the License. 144f7ff21fSopenharmony_ci */ 154f7ff21fSopenharmony_ci 164f7ff21fSopenharmony_ci#ifndef MEMORY_GUARD_H 174f7ff21fSopenharmony_ci#define MEMORY_GUARD_H 184f7ff21fSopenharmony_ci 194f7ff21fSopenharmony_ci#include <cstdint> 204f7ff21fSopenharmony_ci 214f7ff21fSopenharmony_cinamespace OHOS { 224f7ff21fSopenharmony_cinamespace UserIam { 234f7ff21fSopenharmony_cinamespace FingerprintAuth { 244f7ff21fSopenharmony_ciclass MemoryGuard { 254f7ff21fSopenharmony_cipublic: 264f7ff21fSopenharmony_ci MemoryGuard(); 274f7ff21fSopenharmony_ci ~MemoryGuard(); 284f7ff21fSopenharmony_ci}; 294f7ff21fSopenharmony_ci} // namespace FingerprintAuth 304f7ff21fSopenharmony_ci} // namespace UserIam 314f7ff21fSopenharmony_ci} // namespace OHOS 324f7ff21fSopenharmony_ci#endif // MEMORY_GUARD_H 33