hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/crypto/nx/nx-sha512.c
....@@ -1,20 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * SHA-512 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 */
....@@ -166,8 +154,7 @@
166154 goto out;
167155 }
168156
169
- rc = nx_hcall_sync(nx_ctx, &nx_ctx->op,
170
- desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
157
+ rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0);
171158 if (rc)
172159 goto out;
173160
....@@ -249,8 +236,7 @@
249236 goto out;
250237 }
251238
252
- rc = nx_hcall_sync(nx_ctx, &nx_ctx->op,
253
- desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP);
239
+ rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0);
254240 if (rc)
255241 goto out;
256242