Nick Child 73621ef0f0 pkcs7: Improve verify logic and rebuild test data
Various responses to feedback regarding the
pkcs7_verify_signed_data/hash functions. Mainly, merge these two
functions into one to reduce redudant logic [1]. As a result, an
identified bug about skipping over a signer is patched [2].

Additionally, add a conditional in the verify logic that checks if
the given x509 validity period is expired [3]. During testing of this
conditional, it turned out that all of the testing data was expired.
So, rebuild all of the pkcs7 testing data to refresh timestamps.

[1] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r999652525
[2] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r997090215
[3] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r967238206
Signed-off-by: Nick Child <nick.child@ibm.com>
2022-10-28 11:24:25 -05:00
..
2022-06-29 16:17:50 +01:00
2021-06-28 09:24:07 +01:00
2022-08-22 11:19:10 +01:00
2022-08-22 11:19:10 +01:00
2022-08-22 09:08:04 +01:00
2022-08-22 09:08:04 +01:00
2022-08-19 13:11:22 +01:00
2022-08-19 13:11:22 +01:00
2022-08-19 13:11:22 +01:00
2021-08-19 09:55:41 +01:00
2022-08-23 05:26:02 -04:00
2022-05-06 10:55:10 +02:00
2022-09-01 19:45:41 -05:00
2022-08-22 09:08:04 +01:00
2021-06-17 21:46:29 +02:00
2021-09-27 16:22:08 +02:00
2022-07-27 14:43:38 +01:00
2022-07-28 10:31:16 +01:00
2022-08-11 12:50:06 +02:00
2022-09-01 19:45:33 -05:00
2021-08-19 09:31:55 +01:00
2021-06-28 09:24:07 +01:00
2021-04-07 12:45:35 +01:00
2021-06-28 09:24:07 +01:00
2022-08-19 10:36:57 +02:00
2021-04-15 11:19:47 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-09-08 22:04:13 +05:30
2021-12-06 07:50:27 +01:00
2021-08-19 09:31:55 +01:00
2022-08-11 12:50:06 +02:00
2021-08-19 09:31:55 +01:00
2022-08-23 05:26:02 -04:00
2022-07-20 11:07:29 +08:00
2022-08-25 11:09:35 +08:00
2022-08-23 17:53:43 +08:00
2022-03-29 17:43:56 +02:00