From b9b4f09c47d941b9c61a07738cb3ad00d44774d0 Mon Sep 17 00:00:00 2001 From: k-stachowiak Date: Thu, 15 Aug 2019 19:01:59 +0200 Subject: [PATCH] Document new error type returned from the key derivation API --- include/psa/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 2b5bb97fc..f5d17965d 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -3201,6 +3201,8 @@ psa_status_t psa_key_derivation_output_bytes( * \retval #PSA_ERROR_NOT_SUPPORTED * The key type or key size is not supported, either by the * implementation in general or in this particular location. + * \retval #PSA_ERROR_INVALID_ARGUMENT + * The provided key attributes are not valid for the operation. * \retval #PSA_ERROR_BAD_STATE * \retval #PSA_ERROR_INSUFFICIENT_MEMORY * \retval #PSA_ERROR_INSUFFICIENT_STORAGE