Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_sha_link_s Struct Reference

#include <bflb_sec_sha.h>

Collaboration diagram for bflb_sha_link_s:
Collaboration graph

Data Fields

uint32_t __pad0__: 2
 
uint32_t sha_mode: 3
 
uint32_t __pad1__: 1
 
uint32_t sha_newhash_dis: 1
 
uint32_t __pad2__: 2
 
uint32_t sha_intclr: 1
 
uint32_t sha_intset: 1
 
uint32_t __pad3__: 1
 
uint32_t sha_mode_ext: 2
 
uint32_t __pad4__: 2
 
uint32_t sha_msglen: 16
 
uint32_t sha_srcaddr
 
uint32_t result [16]
 

Detailed Description

Definition at line 43 of file bflb_sec_sha.h.

Field Documentation

◆ __pad0__

uint32_t __pad0__

[1:0]Reserved

Definition at line 44 of file bflb_sec_sha.h.

◆ __pad1__

uint32_t __pad1__

[5]Reserved

Definition at line 46 of file bflb_sec_sha.h.

◆ __pad2__

uint32_t __pad2__

[8:7]Reserved

Definition at line 48 of file bflb_sec_sha.h.

◆ __pad3__

uint32_t __pad3__

[11]Reserved

Definition at line 51 of file bflb_sec_sha.h.

◆ __pad4__

uint32_t __pad4__

[15:14]Reserved

Definition at line 53 of file bflb_sec_sha.h.

◆ result

uint32_t result[16]

Result of SHA

Definition at line 56 of file bflb_sec_sha.h.

◆ sha_intclr

uint32_t sha_intclr

[9]Clear interrupt

Definition at line 49 of file bflb_sec_sha.h.

◆ sha_intset

uint32_t sha_intset

[10]Set interrupt

Definition at line 50 of file bflb_sec_sha.h.

◆ sha_mode

uint32_t sha_mode

[4:2]Sha-256/sha-224/sha-1/sha-1/sha-512/sha-384/sha-512T224/sha-512T256

Definition at line 45 of file bflb_sec_sha.h.

◆ sha_mode_ext

uint32_t sha_mode_ext

[13:12]Extention,0:sha 1:md5 2:crc16 3:crc32

Definition at line 52 of file bflb_sec_sha.h.

◆ sha_msglen

uint32_t sha_msglen

[31:16]Number of 512-bit block

Definition at line 54 of file bflb_sec_sha.h.

◆ sha_newhash_dis

uint32_t sha_newhash_dis

[6]New hash or accumulate last hash

Definition at line 47 of file bflb_sec_sha.h.

◆ sha_srcaddr

uint32_t sha_srcaddr

Message source address

Definition at line 55 of file bflb_sec_sha.h.


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