Arvind Sankar
67b2692daa
lib/string: Make memzero_explicit() inline instead of external
...
With the use of the barrier implied by barrier_data(), there is no need
for memzero_explicit() to be extern. Making it inline saves the overhead
of a function call, and allows the code to be reused in arch/*/purgatory
without having to duplicate the implementation.
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H . Peter Anvin <hpa@zytor.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephan Mueller <smueller@chronox.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-crypto@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Fixes: 906a4bb97f5d ("crypto: sha256 - Use get/put_unaligned_be32 to get input, memzero_explicit")
Link: https://lkml.kernel.org/r/20191007220000.GA408752@rani.riverdale.lan
Change-Id: Ic2098c6a670c16c60444e107d35ab49a0bc27a90
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2025-02-09 23:14:46 -03:00
..
2017-11-02 11:10:55 +01:00
2024-09-29 17:32:34 -03:00
2024-09-29 17:32:34 -03:00
2024-09-29 17:32:34 -03:00
2024-09-29 17:32:34 -03:00
2023-09-23 10:47:04 +02:00
2022-04-20 09:08:12 +02:00
2022-04-26 15:03:40 +07:00
2022-03-19 07:30:51 +00:00
2022-04-06 13:18:30 +07:00
2022-04-06 13:18:30 +07:00
2024-09-29 17:32:34 -03:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:52:52 +01:00
2022-06-06 08:20:56 +02:00
2017-07-14 15:05:13 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2025-01-17 00:51:10 -03:00
2022-06-10 15:41:44 +07:00
2019-04-05 22:31:33 +02:00
2025-02-09 23:14:25 -03:00
2024-01-10 12:49:04 +00:00
2017-11-02 11:10:55 +01:00
2018-12-05 12:30:44 -08:00
2017-11-02 11:10:55 +01:00
2023-08-30 16:35:15 +02:00
2017-11-02 11:10:55 +01:00
2017-09-08 18:26:49 -07:00
2017-11-02 11:10:55 +01:00
2023-06-14 10:35:25 +02:00
2024-05-21 20:44:45 -03:00
2017-06-09 11:52:07 +02:00
2024-11-26 01:06:22 -03:00
2024-11-26 01:05:39 -03:00
2020-11-10 10:29:04 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-13 11:14:51 -08:00
2023-08-11 11:33:47 +02:00
2020-02-05 16:16:37 -08:00
2024-10-11 00:50:20 -03:00
2017-11-02 11:10:55 +01:00
2021-07-20 16:17:51 +02:00
2022-04-06 13:18:30 +07:00
2022-04-06 13:18:32 +07:00
2022-04-06 13:18:29 +07:00
2020-01-27 14:46:39 +01:00
2017-10-12 17:16:40 +01:00
2019-04-20 09:15:07 +02:00
2022-06-14 16:53:45 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-11-12 19:18:01 +01:00
2024-06-04 16:33:29 -03:00
2017-11-02 11:10:55 +01:00
2018-05-09 09:51:54 +02:00
2017-07-10 16:32:35 -07:00
2017-08-10 15:54:06 -07:00
2022-06-10 15:41:42 +07:00
2017-11-02 11:10:55 +01:00
2024-11-26 01:05:48 -03:00
2021-01-12 20:09:06 +01:00
2022-05-12 12:17:06 +02:00
2017-11-02 11:10:55 +01:00
2024-10-29 20:17:04 -03:00
2017-11-02 11:10:55 +01:00
2025-01-17 01:13:17 -03:00
2018-12-17 09:28:55 +01:00
2017-11-06 11:37:20 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-17 21:01:11 +02:00
2022-02-23 11:57:35 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2024-05-10 15:48:34 -03:00
2024-11-26 00:37:39 -03:00
2019-07-10 09:14:22 -07:00
2017-05-16 08:44:22 -03:00
2020-01-27 14:46:44 +01:00
2018-10-03 17:00:48 -07:00
2024-08-27 11:40:01 -03:00
2023-11-08 11:21:07 +01:00
2021-07-20 16:17:33 +02:00
2021-07-20 16:17:33 +02:00
2017-06-08 17:36:03 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-06-10 17:01:01 +07:00
2017-11-02 11:10:55 +01:00
2024-09-29 17:32:34 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2022-05-03 06:17:09 +07:00
2018-09-05 09:26:35 +02:00
2022-06-14 16:54:01 +02:00
2023-01-18 09:26:10 +01:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:08:01 +01:00
2023-01-18 09:26:04 +01:00
2017-11-02 11:10:55 +01:00
2022-04-06 13:18:17 +07:00
2023-12-07 20:15:44 -03:00
2022-06-25 11:46:36 +02:00
2022-09-05 10:25:04 +02:00
2017-11-02 11:10:55 +01:00
2018-12-17 09:28:55 +01:00
2025-02-09 23:14:37 -03:00
2025-01-17 01:13:18 -03:00
2018-05-09 22:53:15 -07:00
2019-04-03 06:25:09 +02:00
2019-05-31 06:47:10 -07:00
2022-05-03 06:11:14 +07:00
2021-07-20 16:17:47 +02:00
2022-06-25 11:46:27 +02:00
2022-06-25 11:46:39 +02:00
2022-06-10 16:45:21 +07:00
2025-01-17 01:13:17 -03:00
2024-06-04 16:33:29 -03:00
2017-09-13 18:53:16 -07:00
2025-02-09 23:14:46 -03:00
2020-06-22 11:22:58 +02:00
2020-06-22 11:22:58 +02:00
2022-07-02 16:18:11 +02:00
2017-11-02 11:10:55 +01:00
2022-06-10 15:41:43 +07:00
2021-10-17 10:08:32 +02:00
2019-01-13 10:01:07 +01:00
2023-08-30 16:35:13 +02:00
2018-12-08 13:03:35 +01:00
2020-07-27 11:04:03 +05:30
2022-04-20 09:08:21 +02:00
2017-05-08 17:15:10 -07:00
2020-02-14 01:31:11 +01:00
2022-06-28 17:38:20 +00:00
2017-07-25 12:35:23 -07:00
2017-05-08 17:15:10 -07:00
2020-03-05 09:58:19 -08:00
2017-07-12 16:26:00 -07:00
2017-07-21 09:38:30 +02:00
2022-06-30 14:12:22 +00:00
2023-08-11 11:33:35 +02:00
2017-10-22 03:14:07 +01:00
2017-10-22 03:14:07 +01:00
2023-09-23 10:46:52 +02:00
2023-09-23 10:46:52 +02:00
2017-11-02 11:10:55 +01:00
2023-02-25 11:50:31 +01:00
2017-06-05 16:59:05 +02:00
2024-03-25 23:54:05 -03:00
2017-11-02 11:10:55 +01:00
2024-11-20 02:27:39 -03:00