| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sha512-glue.c - accelerated SHA-384/512 for ARM |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #include <crypto/internal/hash.h> |
|---|
| .. | .. |
|---|
| 37 | 34 | (sha512_block_fn *)sha512_block_data_order); |
|---|
| 38 | 35 | } |
|---|
| 39 | 36 | |
|---|
| 40 | | -int sha512_arm_final(struct shash_desc *desc, u8 *out) |
|---|
| 37 | +static int sha512_arm_final(struct shash_desc *desc, u8 *out) |
|---|
| 41 | 38 | { |
|---|
| 42 | 39 | sha512_base_do_finalize(desc, |
|---|
| 43 | 40 | (sha512_block_fn *)sha512_block_data_order); |
|---|