objc

Data Fields
sys_hash_t Struct Reference

Hash context structure. More...

#include <runtime-sys/sys.h>

Data Fields

sys_hash_algorithm_t algorithm
 The hash algorithm being used for this context.
 
uint8_t hash [SYS_HASH_SIZE]
 Buffer to hold the computed hash value (max 32 bytes for SHA-256)
 
size_t size
 Actual size of the computed hash in bytes.
 
union {
   void *   ptr
 Pointer to external hash context (e.g., OpenSSL EVP_MD_CTX)
 
   uint8_t   ctx [SYS_HASH_CTX_SIZE]
 Internal context buffer for hash algorithm state.
 
ctx
 Union holding either external pointer or internal context buffer.
 

Detailed Description

Hash context structure.

Contains the state and result buffer for hash operations.

Definition at line 70 of file hash.h.


The documentation for this struct was generated from the following file: