joey shelton / LED_Demo2

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

prf_sec_param_t Struct Reference

prf_sec_param_t Struct Reference

PRF 256 stucture This structure is used to configure PRF calc operation: secret, label, seed and buffer before call shalib_prf_calc(). More...

#include <shalib.h>

Data Fields

const uint8_t * secret
 HMAC security signature pointer.
uint8_t sec_len
 HMAC security signature length.
uint8_t label [25]
 Label text.
uint8_t lablen
 Label text length.
const uint8_t * seed
 Seed data.
uint8_t seedlen
 Seed data length.
uint8_t * buffer
 Buffer for saving 256-BIT hash.

Detailed Description

PRF 256 stucture This structure is used to configure PRF calc operation: secret, label, seed and buffer before call shalib_prf_calc().

Definition at line 69 of file shalib.h.


Field Documentation

uint8_t* buffer

Buffer for saving 256-BIT hash.

Definition at line 76 of file shalib.h.

uint8_t label[25]

Label text.

Definition at line 72 of file shalib.h.

uint8_t lablen

Label text length.

Definition at line 73 of file shalib.h.

uint8_t sec_len

HMAC security signature length.

Definition at line 71 of file shalib.h.

const uint8_t* secret

HMAC security signature pointer.

Definition at line 70 of file shalib.h.

const uint8_t* seed

Seed data.

Definition at line 74 of file shalib.h.

uint8_t seedlen

Seed data length.

Definition at line 75 of file shalib.h.