Lightweight Cryptography Primitives
|
State for incremental generation of key material from PHOTON-Beetle-HKDF. More...
#include <photon-beetle-hkdf.h>
Data Fields | |
unsigned char | prk [PHOTON_BEETLE_HKDF_OUTPUT_SIZE] |
unsigned char | out [PHOTON_BEETLE_HKDF_OUTPUT_SIZE] |
unsigned char | counter |
unsigned char | posn |
State for incremental generation of key material from PHOTON-Beetle-HKDF.
unsigned char photon_beetle_hkdf_state_t::counter |
Counter for the next output block to generate
unsigned char photon_beetle_hkdf_state_t::out[PHOTON_BEETLE_HKDF_OUTPUT_SIZE] |
Last output block that was generated for photon_beetle_hkdf_expand()
unsigned char photon_beetle_hkdf_state_t::posn |
Current position in the output block
unsigned char photon_beetle_hkdf_state_t::prk[PHOTON_BEETLE_HKDF_OUTPUT_SIZE] |
Hashed key from photon_beetle_hkdf_extract()