hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/crypto/virtio/virtio_crypto_common.h
....@@ -1,19 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Common header for Virtio crypto device.
23 *
34 * Copyright 2016 HUAWEI TECHNOLOGIES CO., LTD.
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
175 */
186
197 #ifndef _VIRTIO_CRYPTO_COMMON_H
....@@ -124,7 +112,7 @@
124112 uint32_t algo);
125113 int virtcrypto_dev_start(struct virtio_crypto *vcrypto);
126114 void virtcrypto_dev_stop(struct virtio_crypto *vcrypto);
127
-int virtio_crypto_ablkcipher_crypt_req(
115
+int virtio_crypto_skcipher_crypt_req(
128116 struct crypto_engine *engine, void *vreq);
129117
130118 void