#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_pake.h>
Get the shared key from a completed PAKE operation.
- Parameters
-
| [in,out] | operation | PAKE operation context. |
| [in] | attributes | Key attributes for the shared key. |
| [out] | key_buffer | Buffer to store the shared key. |
| [in] | key_buffer_size | Size of the key buffer in bytes. |
| [out] | key_buffer_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 key buffer is too small. |