FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
clib_sha2_ctx_t Struct Reference

Data Fields

u64 total_bytes
 
u16 n_pending
 
u8 block_size
 
u8 digest_size
 
union {
   u32   h32 [8]
 
   u64   h64 [8]
 
}; 
 
union {
   u8   as_u8 [SHA2_MAX_BLOCK_SIZE]
 
   u64   as_u64 [SHA2_MAX_BLOCK_SIZE/sizeof(u64)]
 
   uword   as_uword [SHA2_MAX_BLOCK_SIZE/sizeof(uword)]
 
pending
 

Detailed Description

Definition at line 232 of file sha2.h.

Field Documentation

◆ @612

union { ... }

◆ as_u64

u64 clib_sha2_ctx_t::as_u64[SHA2_MAX_BLOCK_SIZE/sizeof(u64)]

Definition at line 249 of file sha2.h.

◆ as_u8

u8 clib_sha2_ctx_t::as_u8[SHA2_MAX_BLOCK_SIZE]

Definition at line 248 of file sha2.h.

◆ as_uword

uword clib_sha2_ctx_t::as_uword[SHA2_MAX_BLOCK_SIZE/sizeof(uword)]

Definition at line 250 of file sha2.h.

◆ block_size

u8 clib_sha2_ctx_t::block_size

Definition at line 236 of file sha2.h.

◆ digest_size

u8 clib_sha2_ctx_t::digest_size

Definition at line 237 of file sha2.h.

◆ h32

u32 clib_sha2_ctx_t::h32[8]

Definition at line 240 of file sha2.h.

◆ h64

u64 clib_sha2_ctx_t::h64[8]

Definition at line 241 of file sha2.h.

◆ n_pending

u16 clib_sha2_ctx_t::n_pending

Definition at line 235 of file sha2.h.

◆ pending

union { ... } clib_sha2_ctx_t::pending

◆ total_bytes

u64 clib_sha2_ctx_t::total_bytes

Definition at line 234 of file sha2.h.


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