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

#include <SharkSslCrypto.h>

Data Fields

psa_mac_operation_t operation
 
psa_key_id_t key
 
psa_status_t status
 
U8 hashID
 

Detailed Description

HMAC.

In PSA consumer builds, this context owns a volatile PSA key. Do not copy it. Finish and destructor release the key; call destructor if a message is abandoned. Consumer methods return zero on success and -1 on error.

Field Documentation

◆ hashID

U8 SharkSslHMACCtx::hashID

◆ key

psa_key_id_t SharkSslHMACCtx::key

◆ operation

psa_mac_operation_t SharkSslHMACCtx::operation

◆ status

psa_status_t SharkSslHMACCtx::status