| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sm3_base.h - core logic for SM3 implementations |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2017 ARM Limited or its affiliates. |
|---|
| 5 | 6 | * Written by Gilad Ben-Yossef <gilad@benyossef.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 9 | | - * published by the Free Software Foundation. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License |
|---|
| 17 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
|---|
| 18 | 7 | */ |
|---|
| 8 | + |
|---|
| 9 | +#ifndef _CRYPTO_SM3_BASE_H |
|---|
| 10 | +#define _CRYPTO_SM3_BASE_H |
|---|
| 19 | 11 | |
|---|
| 20 | 12 | #include <crypto/internal/hash.h> |
|---|
| 21 | 13 | #include <crypto/sm3.h> |
|---|
| .. | .. |
|---|
| 115 | 107 | *sctx = (struct sm3_state){}; |
|---|
| 116 | 108 | return 0; |
|---|
| 117 | 109 | } |
|---|
| 110 | + |
|---|
| 111 | +#endif /* _CRYPTO_SM3_BASE_H */ |
|---|