Nick Child bb82ab764f pkcs7: Respond to feeback on parsing logic
After recieving review on the pkcs7 parsing functions, attempt
to use better API's, increase consisitency and use better
documentation. The changes are in response to the following
comments:
 - use mbedtls_x509_crt_parse_der instead of mbedtls_x509_crt_parse [1]
 - make lack of support for authenticatedAttributes more clear [2]
 - increment pointer in pkcs7_get_content_info_type rather than after [3]
 - rename `start` to `p` for consistency in mbedtls_pkcs7_parse_der [4]

[1] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r992509630
[2] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r992562450
[3] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r992741877
[4] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r992754103

Signed-off-by: Nick Child <nick.child@ibm.com>
2022-10-28 12:28:54 -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-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +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