| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * API for Atmel Secure Protocol Layers Improved Performances (SPLIP) |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2016 Atmel Corporation |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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/>. |
|---|
| 19 | 8 | * |
|---|
| 20 | 9 | * This driver is based on drivers/mtd/spi-nor/fsl-quadspi.c from Freescale. |
|---|
| 21 | 10 | */ |
|---|
| .. | .. |
|---|
| 41 | 30 | struct atmel_sha_authenc_ctx *atmel_sha_authenc_spawn(unsigned long mode); |
|---|
| 42 | 31 | void atmel_sha_authenc_free(struct atmel_sha_authenc_ctx *auth); |
|---|
| 43 | 32 | 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); |
|---|
| 46 | 34 | |
|---|
| 47 | 35 | int atmel_sha_authenc_schedule(struct ahash_request *req, |
|---|
| 48 | 36 | struct atmel_sha_authenc_ctx *auth, |
|---|