hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/crypto/atmel-authenc.h
....@@ -1,21 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * API for Atmel Secure Protocol Layers Improved Performances (SPLIP)
34 *
45 * Copyright (C) 2016 Atmel Corporation
56 *
67 * Author: Cyrille Pitchen <cyrille.pitchen@atmel.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope that it will be useful, but WITHOUT
13
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15
- * more details.
16
- *
17
- * You should have received a copy of the GNU General Public License along with
18
- * this program. If not, see <http://www.gnu.org/licenses/>.
198 *
209 * This driver is based on drivers/mtd/spi-nor/fsl-quadspi.c from Freescale.
2110 */
....@@ -41,8 +30,7 @@
4130 struct atmel_sha_authenc_ctx *atmel_sha_authenc_spawn(unsigned long mode);
4231 void atmel_sha_authenc_free(struct atmel_sha_authenc_ctx *auth);
4332 int atmel_sha_authenc_setkey(struct atmel_sha_authenc_ctx *auth,
44
- const u8 *key, unsigned int keylen,
45
- u32 *flags);
33
+ const u8 *key, unsigned int keylen, u32 flags);
4634
4735 int atmel_sha_authenc_schedule(struct ahash_request *req,
4836 struct atmel_sha_authenc_ctx *auth,