mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-30 22:17:23 +00:00
Minor documentation fixes
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -218,8 +218,11 @@ typedef struct mbedtls_pk_info_t mbedtls_pk_info_t;
|
|||||||
* \brief Public key container
|
* \brief Public key container
|
||||||
*/
|
*/
|
||||||
typedef struct mbedtls_pk_context {
|
typedef struct mbedtls_pk_context {
|
||||||
const mbedtls_pk_info_t *MBEDTLS_PRIVATE(pk_info); /**< Public key information */
|
/** Method table */
|
||||||
void *MBEDTLS_PRIVATE(pk_ctx); /**< Underlying public key context */
|
const mbedtls_pk_info_t *MBEDTLS_PRIVATE(pk_info);
|
||||||
|
/** Underlying type-specific key context */
|
||||||
|
void *MBEDTLS_PRIVATE(pk_ctx);
|
||||||
|
|
||||||
/* The following field is used to store the ID of a private key in the
|
/* The following field is used to store the ID of a private key in the
|
||||||
* following cases:
|
* following cases:
|
||||||
* - opaque key when MBEDTLS_USE_PSA_CRYPTO is defined
|
* - opaque key when MBEDTLS_USE_PSA_CRYPTO is defined
|
||||||
@@ -838,7 +841,7 @@ int mbedtls_pk_verify_ext(mbedtls_pk_type_t type, const void *options,
|
|||||||
* length up to the hash length), depending on the padding mode
|
* length up to the hash length), depending on the padding mode
|
||||||
* in the underlying RSA context. For a pk object constructed
|
* in the underlying RSA context. For a pk object constructed
|
||||||
* by parsing, this is PKCS#1 v1.5 by default. Use
|
* by parsing, this is PKCS#1 v1.5 by default. Use
|
||||||
* mbedtls_pk_verify_ext() to explicitly select a different
|
* mbedtls_pk_sign_ext() to explicitly select a different
|
||||||
* algorithm.
|
* algorithm.
|
||||||
*
|
*
|
||||||
* \return 0 on success, or a specific error code.
|
* \return 0 on success, or a specific error code.
|
||||||
|
|||||||
Reference in New Issue
Block a user