![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_key_derivation_input_key | ( | cracen_key_derivation_operation_t * | operation, |
| psa_key_derivation_step_t | step, | ||
| const psa_key_attributes_t * | attributes, | ||
| const uint8_t * | key_buffer, | ||
| size_t | key_buffer_size ) |
#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_key_derivation.h>
Provide a key as input to a key derivation operation.
| [in,out] | operation | Key derivation operation context. |
| [in] | step | Derivation step. |
| [in] | attributes | Key attributes. |
| [in] | key_buffer | Key material buffer. |
| [in] | key_buffer_size | Size of the key buffer in bytes. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |