mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 05:55:27 +00:00
073c1e1391
In very reduced configurations, we don't want the overhead of maintaining a bool just to remember if the context is valid and checking that bit at every point of entry. Note: so far this validity bit also served as a proxy to ensure that pk_ctx was valid (currently this is a pointer to a dynamically-allocated buffer). In the next series of commits, this will be changed to a statically-allocated buffer, so there will be no question about its validity. In the end (after this commit and the next series), a pk_context_t will be (memory-wise) just the same as a mbedtls_uecc_keypair when SINGLE_TYPE is enabled - meaning the PK layer will have zero memory overhead in that case. |
||
---|---|---|
.. | ||
mbedtls | ||
tinycrypt | ||
.gitignore | ||
CMakeLists.txt |