mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 12:45:35 +00:00
823efad6e8
This commit unconditionally adds two convenience API functions: - mbedtls_x509_crt_get_frame() - mbedtls_x509_crt_get_pk() which allow users to extract a CRT frame or PK context from a certificate. The difference with the existing acquire/release API for frame and PK contexts is that in contrast to the latter, the structures returned by the new API are owned by the user (and, in case of the PK context, need to be freed by him). This makes the API easier to use, but comes at the cost of additional memory overhead. |
||
---|---|---|
.. | ||
mbedtls | ||
tinycrypt | ||
.gitignore | ||
CMakeLists.txt |