hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/crypto/nx/nx-sha256.c
....@@ -1,20 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * SHA-256 routines supporting the Power 7+ Nest Accelerators driver
34 *
45 * Copyright (C) 2011-2012 International Business Machines Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; version 2 only.
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, write to the Free Software
17
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
186 *
197 * Author: Kent Yoder <yoder1@us.ibm.com>
208 */
....@@ -162,8 +150,7 @@
162150 goto out;
163151 }
164152
165
- rc = nx_hcall_sync(nx_ctx, &nx_ctx->op,
166
- desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
153
+ rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0);
167154 if (rc)
168155 goto out;
169156
....@@ -243,8 +230,7 @@
243230 goto out;
244231 }
245232
246
- rc = nx_hcall_sync(nx_ctx, &nx_ctx->op,
247
- desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
233
+ rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0);
248234 if (rc)
249235 goto out;
250236