SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
psa_pake_operation_s Struct Reference

#include <crypto.h>

Data Fields

struct SharkSslPSAPake * context
 Provider-owned exchange state. More...
 
uint8_t error
 Internal failure flag; reset through psa_pake_abort(). More...
 

Detailed Description

Opaque PAKE operation storage owned by the caller.

Initialize with PSA_PAKE_OPERATION_INIT or psa_pake_operation_init(). Do not inspect members, copy, or move an active operation. The provider owns its allocated context and retains a dependency on the credential key. Keep the key available until successful shared-key extraction or psa_pake_abort().

Field Documentation

◆ context

struct SharkSslPSAPake* psa_pake_operation_s::context

Provider-owned exchange state.

◆ error

uint8_t psa_pake_operation_s::error

Internal failure flag; reset through psa_pake_abort().