| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* Common header for Virtio crypto device. |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * 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/>. |
|---|
| 17 | 5 | */ |
|---|
| 18 | 6 | |
|---|
| 19 | 7 | #ifndef _VIRTIO_CRYPTO_COMMON_H |
|---|
| .. | .. |
|---|
| 124 | 112 | uint32_t algo); |
|---|
| 125 | 113 | int virtcrypto_dev_start(struct virtio_crypto *vcrypto); |
|---|
| 126 | 114 | void virtcrypto_dev_stop(struct virtio_crypto *vcrypto); |
|---|
| 127 | | -int virtio_crypto_ablkcipher_crypt_req( |
|---|
| 115 | +int virtio_crypto_skcipher_crypt_req( |
|---|
| 128 | 116 | struct crypto_engine *engine, void *vreq); |
|---|
| 129 | 117 | |
|---|
| 130 | 118 | void |
|---|