#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_srp.h>
Get the shared key from a completed SRP operation.
- Parameters
-
| [in,out] | operation | SRP operation context. |
| [in] | attributes | Key attributes for the shared key. |
| [out] | output | Buffer to store the shared key. |
| [in] | output_size | Size of the output buffer in bytes. |
| [out] | output_length | Length of the generated shared key in bytes. |
- Return values
-
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |
| PSA_ERROR_BUFFER_TOO_SMALL | The output buffer is too small. |