mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-09 01:13:42 +00:00
Documentation: fix some nits
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
bdfb80bf3b
commit
fe0f09e35f
@ -3280,7 +3280,7 @@
|
||||
* #MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE.
|
||||
*
|
||||
* \note This feature comes with a (potentially) higher RAM usage since:
|
||||
* - All the key slots are allocated no matter if they are used of not.
|
||||
* - All the key slots are allocated no matter if they are used or not.
|
||||
* - Each key buffer's length is #MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE bytes.
|
||||
*
|
||||
* Requires: MBEDTLS_PSA_CRYPTO_C
|
||||
|
@ -157,9 +157,9 @@ typedef struct {
|
||||
struct key_data {
|
||||
#if defined(MBEDTLS_PSA_STATIC_KEY_SLOTS)
|
||||
uint8_t data[MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE];
|
||||
#else /* MBEDTLS_PSA_STATIC_KEY_SLOTS */
|
||||
#else
|
||||
uint8_t *data;
|
||||
#endif /* MBEDTLS_PSA_STATIC_KEY_SLOTS */
|
||||
#endif
|
||||
size_t bytes;
|
||||
} key;
|
||||
} psa_key_slot_t;
|
||||
|
@ -491,7 +491,7 @@ uint64_t mbedtls_test_parse_binary_string(data_t *bin_string);
|
||||
#endif
|
||||
|
||||
/* Helper macro for the PK module to check whether MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
|
||||
* is large enough to contain 4096 bits RSA key pairs. Of course this check is only
|
||||
* is large enough to contain 4096-bit RSA key pairs. Of course this check is only
|
||||
* necessary if PK relies on PSA (i.e. MBEDTLS_USE_PSA_CRYPTO) to store and manage
|
||||
* the key. */
|
||||
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
||||
|
Loading…
x
Reference in New Issue
Block a user