Sm3Context Struct Reference

SM3 algorithm context. More...

#include <sm3.h>

Data Fields

union {
   uint32_t   h [8]
 
   uint8_t   digest [32]
 
}; 
 
union {
   uint32_t   w [16]
 
   uint8_t   buffer [64]
 
}; 
 
size_t size
 
uint64_t totalSize
 

Detailed Description

SM3 algorithm context.

Definition at line 61 of file sm3.h.

Field Documentation

◆ @1

union { ... }

◆ @3

union { ... }

◆ buffer

uint8_t buffer[64]

Definition at line 71 of file sm3.h.

◆ digest

uint8_t digest[32]

Definition at line 66 of file sm3.h.

◆ h

uint32_t h[8]

Definition at line 65 of file sm3.h.

◆ size

size_t size

Definition at line 73 of file sm3.h.

◆ totalSize

uint64_t totalSize

Definition at line 74 of file sm3.h.

◆ w

uint32_t w[16]

Definition at line 70 of file sm3.h.


The documentation for this struct was generated from the following file:
  • cyclone_crypto/hash/sm3.h