Searched hist:a79df348a54a7c959eeb8aed0fb93d6aad7faf1f (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/tools/marvell/doimage/ |
| H A D | doimage.c | a79df348a54a7c959eeb8aed0fb93d6aad7faf1f Wed May 01 14:08:18 UTC 2019 Konstantin Porotchkin <kostap@marvell.com> tools: doimage: migrate to mbedtls v2.8 APIs
Replace deprecated mbedtls_sha256 with mbedtls_sha256_ret The mbedtls_pk_parse_key does not work correctly anymore with the DER buffer embedded in the secure image extentson using the buffer size as the the key length. Move to mbedtls_pk_parse_subpubkey API that handles such case correctly. The DER format already contains the key length, so there is no particular reason to supply it to the key parser. Update the doimage version to 3.3
Change-Id: I0ec5ee84b7d1505b43138e0b7a6bdba44a6702b6 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
|