mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-03 17:11:12 +00:00
Fix documentation
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
dd05aab6a0
commit
12ff4d581e
|
@ -2912,8 +2912,8 @@ psa_status_t psa_aead_abort(psa_aead_operation_t *operation);
|
||||||
* must be appropriate for the selected
|
* must be appropriate for the selected
|
||||||
* algorithm and key:
|
* algorithm and key:
|
||||||
* - The required signature size is
|
* - The required signature size is
|
||||||
* #PSA_SIGN_OUTPUT_SIZE(key_type, key_bits, \p alg)
|
* #PSA_SIGN_OUTPUT_SIZE(\c key_type, \c key_bits, \p alg)
|
||||||
* where key_type and key_bits are the type and
|
* where \c key_type and \c key_bits are the type and
|
||||||
* bit-size respectively of key.
|
* bit-size respectively of key.
|
||||||
* - #PSA_SIGNATURE_MAX_SIZE evaluates to the
|
* - #PSA_SIGNATURE_MAX_SIZE evaluates to the
|
||||||
* maximum signature size of any supported
|
* maximum signature size of any supported
|
||||||
|
|
|
@ -2894,7 +2894,7 @@ static psa_status_t psa_sign_internal( mbedtls_svc_key_id_t key,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Immediately reject a zero-length signature buffer. This guarantees
|
/* Immediately reject a zero-length signature buffer. This guarantees
|
||||||
* that signature must be a valid pointer. (On the other hand, the hash
|
* that signature must be a valid pointer. (On the other hand, the input
|
||||||
* buffer can in principle be empty since it doesn't actually have
|
* buffer can in principle be empty since it doesn't actually have
|
||||||
* to be a hash.) */
|
* to be a hash.) */
|
||||||
if( signature_size == 0 )
|
if( signature_size == 0 )
|
||||||
|
|
Loading…
Reference in a new issue