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

#include <crypto.h>

Data Fields

psa_hash_operation_t hash
 
void * key_references
 
size_t signature_length
 
psa_algorithm_t alg
 
psa_key_id_t key
 
uint32_t state
 
uint8_t flags
 
uint8_t signature [PSA_SIGNATURE_MAX_SIZE]
 

Detailed Description

SharkSSL provider multipart signature-verification state, exposed as psa_verify_operation_t.

Initialize with PSA_VERIFY_OPERATION_INIT. Fields are implementation state, including retained key dependencies; do not edit, copy, or move an active operation. Finish or abort it before reuse. Client and provider must use matching layouts/configuration.

Field Documentation

◆ alg

psa_algorithm_t psa_verify_operation_s::alg

◆ flags

uint8_t psa_verify_operation_s::flags

◆ hash

psa_hash_operation_t psa_verify_operation_s::hash

◆ key

psa_key_id_t psa_verify_operation_s::key

◆ key_references

void* psa_verify_operation_s::key_references

◆ signature

uint8_t psa_verify_operation_s::signature[PSA_SIGNATURE_MAX_SIZE]

◆ signature_length

size_t psa_verify_operation_s::signature_length

◆ state

uint32_t psa_verify_operation_s::state