#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_key_management.h>
Derive a key from input material.
- Parameters
-
| [in] | attributes | Key attributes for the derived key. |
| [in] | input | Input material. |
| [in] | input_length | Length of the input material in bytes. |
| [out] | key | Buffer to store the derived key. |
| [in] | key_size | Size of the key buffer in bytes. |
| [out] | key_length | Length of the derived key in bytes. |
- Return values
-
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_NOT_SUPPORTED | The key derivation is not supported. |
| PSA_ERROR_BUFFER_TOO_SMALL | The key buffer is too small. |