mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Note that custom info structures are not supported
This was already documented for mbedtls_md_info_t. Also document it for mbedtls_pk_info_t (where it's fairly obvious since the structure is not defined in a public header) and for mbedtls_cipher_info_t (where it's not obvious since the structure is defined in a public header). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -258,6 +258,13 @@ typedef struct mbedtls_cmac_context_t mbedtls_cmac_context_t;
|
|||||||
/**
|
/**
|
||||||
* Cipher information. Allows calling cipher functions
|
* Cipher information. Allows calling cipher functions
|
||||||
* in a generic way.
|
* in a generic way.
|
||||||
|
*
|
||||||
|
* \note The library does not support custom cipher info structures,
|
||||||
|
* only built-in structures returned by the functions
|
||||||
|
* mbedtls_cipher_info_from_string(),
|
||||||
|
* mbedtls_cipher_info_from_type(),
|
||||||
|
* mbedtls_cipher_info_from_values(),
|
||||||
|
* mbedtls_cipher_info_from_psa().
|
||||||
*/
|
*/
|
||||||
typedef struct mbedtls_cipher_info_t
|
typedef struct mbedtls_cipher_info_t
|
||||||
{
|
{
|
||||||
|
@ -186,6 +186,10 @@ typedef struct mbedtls_pk_debug_item
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Public key information and operations
|
* \brief Public key information and operations
|
||||||
|
*
|
||||||
|
* \note The library does not support custom pk info structures,
|
||||||
|
* only built-in structures returned by
|
||||||
|
* mbedtls_cipher_info_from_type().
|
||||||
*/
|
*/
|
||||||
typedef struct mbedtls_pk_info_t mbedtls_pk_info_t;
|
typedef struct mbedtls_pk_info_t mbedtls_pk_info_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user