David Benjamin
754bcf6dcb
Don't expose EVP_PKEY internal representation through EVP_PKEY_assign
...
While EVP_PKEY_RSA, EVP_PKEY_DSA, and EVP_PKEY_EC have publicly-exposed
internaly representations, other EVP_PKEY types to not. EVP_PKEY_assign
should not allow callers to manipulate those representations.
As part of this, teach EVP_PKEY_assign_RSA, etc. to find their method
tables directly, rather than indirecting through an integer. This makes
those EVP APIs static-linker-friendly.
Bug: 618, 497
Change-Id: Ic45a7514e9a3adc505759f2327129f13faf03a65
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/60645
Auto-Submit: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
Commit-Queue: Bob Beck <bbe@google.com>
2023-06-09 21:17:26 +00:00
..
2023-05-05 22:52:23 +00:00
2020-07-06 18:20:21 +00:00
2022-01-07 18:41:53 +00:00
2016-08-03 21:37:31 +00:00
2023-06-08 21:49:20 +00:00
2023-02-01 20:02:30 +00:00
2021-11-18 20:48:43 +00:00
2023-06-08 17:16:14 +00:00
2023-04-26 16:51:21 +00:00
2023-05-10 21:18:38 +00:00
2019-01-03 21:46:45 +00:00
2023-06-02 05:55:45 +00:00
2019-10-21 21:06:07 +00:00
2015-05-12 00:09:57 +00:00
2023-03-16 23:46:11 +00:00
2019-01-03 21:46:45 +00:00
2023-06-06 17:59:44 +00:00
2023-02-08 17:33:40 +00:00
2018-09-06 20:07:52 +00:00
2023-05-24 17:25:03 +00:00
2022-01-07 18:33:50 +00:00
2023-02-01 17:10:19 +00:00
2023-03-15 22:55:24 +00:00
2018-09-06 20:07:52 +00:00
2020-09-30 20:32:54 +00:00
2022-10-04 22:11:36 +00:00
2022-01-14 22:09:00 +00:00
2023-06-06 18:25:06 +00:00
2015-05-08 18:02:02 +00:00
2018-05-08 01:32:14 +00:00
2022-12-07 17:28:38 +00:00
2023-02-14 15:56:40 +00:00
2018-07-30 22:40:31 +00:00
2023-02-23 15:59:47 +00:00
2019-04-17 20:57:57 +00:00
2023-02-11 17:32:19 +00:00
2021-03-19 17:24:14 +00:00
2023-06-09 21:17:26 +00:00
2022-12-07 19:01:54 +00:00
2021-09-02 22:11:49 +00:00
2022-08-13 16:07:16 +00:00
2023-05-02 19:22:24 +00:00
2021-07-15 19:18:41 +00:00
2017-08-18 23:38:51 +00:00
2022-06-08 16:33:00 +00:00
2023-03-30 17:05:20 +00:00
2021-06-22 22:45:22 +00:00
2019-04-08 18:19:01 +00:00
2019-04-08 18:19:01 +00:00
2023-02-13 22:13:11 +00:00
2023-05-04 02:28:38 +00:00
2016-03-31 20:45:35 +00:00
2023-03-28 17:35:24 +00:00
2014-07-14 22:42:18 +00:00
2022-09-06 17:30:47 +00:00
2015-05-20 22:58:14 +00:00
2014-07-14 22:42:18 +00:00
2023-04-11 21:40:44 +00:00
2021-11-15 16:59:41 +00:00
2022-03-28 17:57:41 +00:00
2014-07-14 22:42:18 +00:00
2020-01-06 19:10:12 +00:00
2021-10-25 19:06:48 +00:00
2022-08-31 19:44:18 +00:00
2017-08-18 23:38:51 +00:00
2019-04-08 18:19:01 +00:00
2023-06-09 02:57:17 +00:00
2015-02-20 23:33:48 +00:00
2022-05-23 23:37:16 +00:00
2020-04-15 21:23:37 +00:00
2019-07-10 21:14:32 +00:00
2023-05-12 18:08:37 +00:00
2015-09-14 23:59:37 +00:00
2023-01-17 17:49:32 +00:00
2023-06-08 17:16:14 +00:00
2023-06-07 17:36:09 +00:00
2023-06-09 14:13:40 +00:00
2022-11-23 17:18:08 +00:00
2023-05-05 22:52:23 +00:00
2023-04-12 14:29:48 +00:00
2022-07-30 20:16:43 +00:00
2021-10-05 17:57:43 +00:00
2023-06-08 17:08:43 +00:00
2023-06-08 17:08:43 +00:00