Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

shw_hmac.h File Reference

Detailed Description

This file contains definitions for use of the (internal) SHW HMAC software computation. It defines the usual three steps:

The only other item of note to callers is SHW_HASH_LEN, which is the number of bytes calculated for the HMAC.

Definition in file shw_hmac.h.

#include "shw_hash.h"

Go to the source code of this file.


struct  shw_hmac_state


typedef struct shw_hmac_state shw_hmac_state_t


fsl_shw_return_t shw_hmac_final (shw_hmac_state_t *state, uint8_t *hmac, unsigned int hmac_len)
fsl_shw_return_t shw_hmac_init (shw_hmac_state_t *state, const uint8_t *key, unsigned int key_len)
fsl_shw_return_t shw_hmac_update (shw_hmac_state_t *state, const uint8_t *msg, unsigned int msg_len)

Generated by  Doxygen 1.6.0   Back to index