hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/crypto/bcm/util.h
....@@ -1,17 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright 2016 Broadcom
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License, version 2, as
6
- * published by the Free Software Foundation (the "GPL").
7
- *
8
- * This program is distributed in the hope that it will be useful, but
9
- * WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
- * General Public License version 2 (GPLv2) for more details.
12
- *
13
- * You should have received a copy of the GNU General Public License
14
- * version 2 (GPLv2) along with this source code.
154 */
165
176 #ifndef _UTIL_H
....@@ -94,12 +83,6 @@
9483 u8 from_nents, u32 tot_len);
9584
9685 void add_to_ctr(u8 *ctr_pos, unsigned int increment);
97
-
98
-/* do a synchronous decrypt operation */
99
-int do_decrypt(char *alg_name,
100
- void *key_ptr, unsigned int key_len,
101
- void *iv_ptr, void *src_ptr, void *dst_ptr,
102
- unsigned int block_len);
10386
10487 /* produce a message digest from data of length n bytes */
10588 int do_shash(unsigned char *name, unsigned char *result,