.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * sm3-ce-core.S - SM3 secure hash using ARMv8.2 Crypto Extensions |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2018 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 <linux/linkage.h> |
---|
.. | .. |
---|
76 | 73 | * int blocks) |
---|
77 | 74 | */ |
---|
78 | 75 | .text |
---|
79 | | -ENTRY(sm3_ce_transform) |
---|
| 76 | +SYM_FUNC_START(sm3_ce_transform) |
---|
80 | 77 | /* load state */ |
---|
81 | 78 | ld1 {v8.4s-v9.4s}, [x0] |
---|
82 | 79 | rev64 v8.4s, v8.4s |
---|
.. | .. |
---|
134 | 131 | ext v9.16b, v9.16b, v9.16b, #8 |
---|
135 | 132 | st1 {v8.4s-v9.4s}, [x0] |
---|
136 | 133 | ret |
---|
137 | | -ENDPROC(sm3_ce_transform) |
---|
| 134 | +SYM_FUNC_END(sm3_ce_transform) |
---|
138 | 135 | |
---|
139 | 136 | .section ".rodata", "a" |
---|
140 | 137 | .align 3 |
---|