mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 00:02:42 +00:00
Remove unneccessary 'Implementation' references
These were copied from the PSA docs when they should not have been. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
c884b29b95
commit
cae2bed689
@ -4938,14 +4938,11 @@ uint32_t psa_key_agreement_iop_get_num_ops(psa_key_agreement_iop_t *operation);
|
|||||||
* `PSA_KEY_TYPE_DERIVE`,`PSA_KEY_TYPE_RAW_DATA`,
|
* `PSA_KEY_TYPE_DERIVE`,`PSA_KEY_TYPE_RAW_DATA`,
|
||||||
* `PSA_KEY_TYPE_HMAC`, or
|
* `PSA_KEY_TYPE_HMAC`, or
|
||||||
* `PSA_KEY_TYPE_PASSWORD`.
|
* `PSA_KEY_TYPE_PASSWORD`.
|
||||||
* * Implementations must support the
|
|
||||||
* `PSA_KEY_TYPE_DERIVE` and
|
|
||||||
* `PSA_KEY_TYPE_RAW_DATA` key types.
|
|
||||||
* * The size of the returned key is always the
|
* * The size of the returned key is always the
|
||||||
* bit-size of the shared secret, rounded up to a
|
* bit-size of the shared secret, rounded up to a
|
||||||
* whole number of bytes. The key size in \p
|
* whole number of bytes. The key size in \p
|
||||||
* attributes can be zero; if it is nonzero, it
|
* attributes can be zero; if it is nonzero,
|
||||||
* must be equal to the output size of the key
|
* it must be equal to the output size of the key
|
||||||
* agreement, in bits.
|
* agreement, in bits.
|
||||||
* * The output size, in bits, of the key agreement
|
* * The output size, in bits, of the key agreement
|
||||||
* is #PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE(type,
|
* is #PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE(type,
|
||||||
@ -4977,8 +4974,6 @@ uint32_t psa_key_agreement_iop_get_num_ops(psa_key_agreement_iop_t *operation);
|
|||||||
* The following conditions can result in this error:
|
* The following conditions can result in this error:
|
||||||
* * Either the \p private_key does not have the #PSA_KEY_USAGE_DERIVE`
|
* * Either the \p private_key does not have the #PSA_KEY_USAGE_DERIVE`
|
||||||
* flag, or it does not permit the requested algorithm.
|
* flag, or it does not permit the requested algorithm.
|
||||||
* * The implementation does not permit creating a key with the
|
|
||||||
* specified attributes due to some implementation-specific policy.
|
|
||||||
*
|
*
|
||||||
* \retval #PSA_ERROR_INVALID_HANDLE
|
* \retval #PSA_ERROR_INVALID_HANDLE
|
||||||
* \p private_key is not a valid key identifier.
|
* \p private_key is not a valid key identifier.
|
||||||
@ -5022,8 +5017,7 @@ uint32_t psa_key_agreement_iop_get_num_ops(psa_key_agreement_iop_t *operation);
|
|||||||
* \retval #PSA_ERROR_BAD_STATE
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
* The following conditions can result in this error:
|
* The following conditions can result in this error:
|
||||||
* * The library has not been previously initialized by
|
* * The library has not been previously initialized by
|
||||||
* \c psa_crypto_init(). It is implementation-dependent whether a
|
* \c psa_crypto_init().
|
||||||
* failure to initialize results in this error code.
|
|
||||||
* * The operation state is not valid: it must be inactive.
|
* * The operation state is not valid: it must be inactive.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -5109,8 +5103,7 @@ psa_status_t psa_key_agreement_iop_setup(
|
|||||||
* \retval #PSA_ERROR_BAD_STATE
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
* The following conditions can result in this error:
|
* The following conditions can result in this error:
|
||||||
* * The library has not been previously initialized by
|
* * The library has not been previously initialized by
|
||||||
* \c psa_crypto_init(). It is implementation-dependent whether a
|
* \c psa_crypto_init().
|
||||||
* failure to initialize results in this error code.
|
|
||||||
* * The operation state is not valid: it must be inactive.
|
* * The operation state is not valid: it must be inactive.
|
||||||
*/
|
*/
|
||||||
psa_status_t psa_key_agreement_iop_complete(
|
psa_status_t psa_key_agreement_iop_complete(
|
||||||
@ -5152,8 +5145,7 @@ psa_status_t psa_key_agreement_iop_complete(
|
|||||||
* \retval #PSA_ERROR_NOT_SUPPORTED \emptydescription
|
* \retval #PSA_ERROR_NOT_SUPPORTED \emptydescription
|
||||||
* \retval #PSA_ERROR_BAD_STATE
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
* The library has not been previously initialized by
|
* The library has not been previously initialized by
|
||||||
* \c psa_crypto_init(). It is implementation-dependent whether a
|
* \c psa_crypto_init().
|
||||||
* failure to initialize results in this error code.
|
|
||||||
*/
|
*/
|
||||||
psa_status_t psa_key_agreement_iop_abort(
|
psa_status_t psa_key_agreement_iop_abort(
|
||||||
psa_key_agreement_iop_t *operation);
|
psa_key_agreement_iop_t *operation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user