forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/crypto/sha512-glue.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * sha512-glue.c - accelerated SHA-384/512 for ARM
34 *
45 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <crypto/internal/hash.h>
....@@ -37,7 +34,7 @@
3734 (sha512_block_fn *)sha512_block_data_order);
3835 }
3936
40
-int sha512_arm_final(struct shash_desc *desc, u8 *out)
37
+static int sha512_arm_final(struct shash_desc *desc, u8 *out)
4138 {
4239 sha512_base_do_finalize(desc,
4340 (sha512_block_fn *)sha512_block_data_order);