Manuel Pégourié-Gonnard
f035904060
Check for mandatory RNG parameters in RSA private
...
(This commit is best reviewed using `git show -b` as indentation levels
have changed.)
The documentation already states that the RNG parameter is mandatory,
since PRs #4488 and #4515 . There are several families of functions to
consider here:
- private-key operations (sign, decrypt) all call
mbedtls_rsa_private() where this commit adds a non-NULL check;
- encrypt operations need an RNG for masking/padding and already had a
non-NULL check since #4515 (conditional on \p mode before that)
- verify operations no longer take an RNG parameter since #4515
So, after this commit, all RSA functions that accept an RNG will reach a
non-NULL check before the RNG is used.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2021-06-17 09:37:55 +02:00
..
2021-05-20 10:37:22 +02:00
2021-05-28 11:06:40 +02:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-25 09:23:10 +02:00
2021-01-26 13:57:46 +01:00
2021-01-27 15:37:12 +01:00
2021-03-04 14:34:50 +00:00
2021-06-03 18:10:04 +02:00
2021-03-10 12:52:37 +00:00
2021-05-25 09:23:10 +02:00
2021-03-25 14:25:46 +01:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-20 15:08:55 +02:00
2021-03-02 10:18:08 +01:00
2021-05-07 23:32:32 +02:00
2021-05-27 14:39:53 +02:00
2021-06-08 16:45:41 +02:00
2021-04-27 17:18:52 +01:00
2021-06-15 00:14:28 +02:00
2021-05-19 11:31:37 -04:00
2021-06-15 00:12:37 +02:00
2021-06-01 10:02:13 +08:00
2021-06-15 00:10:37 +02:00
2021-06-03 18:10:04 +02:00
2021-06-15 00:10:37 +02:00
2021-05-11 13:15:19 +02:00
2021-05-11 13:15:19 +02:00
2021-06-08 16:45:41 +02:00
2021-05-18 23:15:40 +02:00
2021-06-08 16:45:41 +02:00
2021-05-20 10:37:22 +02:00
2021-06-08 16:45:41 +02:00
2021-06-08 16:45:41 +02:00
2021-06-08 16:45:41 +02:00
2021-04-28 14:38:37 +02:00
2021-06-08 16:45:41 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-05-07 13:17:06 -06:00
2021-06-01 11:22:56 +02:00
2021-05-28 10:43:41 +02:00
2021-03-10 12:52:37 +00:00
2021-05-18 19:01:42 +01:00
2021-06-08 16:45:41 +02:00
2021-06-15 00:12:37 +02:00
2021-03-10 12:52:37 +00:00
2021-05-19 12:27:35 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-28 14:12:07 +01:00
2021-04-21 12:31:43 +02:00
2021-04-15 17:32:06 +02:00
2021-04-07 16:03:31 +02:00
2021-03-26 15:58:25 +01:00
2021-03-26 15:58:25 +01:00
2021-02-09 15:36:08 +01:00
2021-05-13 11:19:01 +02:00
2021-05-21 18:07:06 +02:00
2021-05-13 11:18:57 +02:00
2021-03-15 12:14:40 +01:00
2021-02-18 15:45:12 +01:00
2021-06-08 16:45:41 +02:00
2021-04-19 10:51:59 +02:00
2021-03-03 19:58:02 +01:00
2021-05-11 11:10:34 +02:00
2021-05-10 11:29:13 +02:00
2021-02-16 18:55:05 +01:00
2021-06-08 14:11:19 +02:00
2021-02-18 15:45:06 +01:00
2021-05-27 17:33:32 +02:00
2021-04-01 14:05:41 +02:00
2021-05-27 14:40:40 +02:00
2021-02-15 14:26:44 +01:00
2021-06-08 14:11:10 +02:00
2021-05-27 14:40:40 +02:00
2021-06-08 16:45:41 +02:00
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-06-17 09:37:55 +02:00
2021-06-08 16:45:41 +02:00
2021-06-08 16:45:41 +02:00
2021-06-08 16:45:41 +02:00
2021-05-14 14:55:15 +01:00
2021-06-04 12:29:33 +02:00
2021-06-15 00:12:37 +02:00
2021-05-24 12:45:20 +02:00
2021-06-08 11:07:27 +02:00
2021-06-07 20:53:33 +02:00
2021-06-15 12:12:46 +02:00
2021-03-10 12:52:37 +00:00
2021-05-31 19:40:45 +01:00
2021-05-26 04:47:29 +01:00
2021-06-15 20:32:07 +02:00
2021-02-22 19:24:03 +01:00
2021-06-15 00:12:37 +02:00
2021-04-28 17:31:55 +01:00
2021-06-10 17:43:36 +02:00
2021-04-28 17:31:55 +01:00
2021-04-28 17:31:55 +01:00
2021-06-08 16:45:41 +02:00
2021-05-27 14:27:43 +02:00