SemiDrive SSDK Appication Program Interface PTG3.0
Data Structures
ske_cmac.h File Reference
#include "ske.h"

Go to the source code of this file.

Data Structures

struct  ske_cmac_ctx_t
 
struct  ske_cmac_dma_ctx_t
 

Detailed Description

Function Documentation

◆ ske_hp_cmac()

uint32_t ske_hp_cmac ( SKE_ALG  alg,
uint8_t *  key,
uint16_t  sp_key_idx,
uint8_t *  msg,
uint32_t  msg_bytes,
uint8_t *  mac,
uint8_t  mac_bytes 
)

◆ ske_hp_cmac_final()

uint32_t ske_hp_cmac_final ( ske_cmac_ctx_t ctx,
uint8_t *  mac,
uint8_t  mac_bytes 
)

◆ ske_hp_cmac_init()

uint32_t ske_hp_cmac_init ( ske_cmac_ctx_t ctx,
SKE_ALG  alg,
uint8_t *  key,
uint16_t  sp_key_idx 
)

◆ ske_hp_cmac_update()

uint32_t ske_hp_cmac_update ( ske_cmac_ctx_t ctx,
uint8_t *  msg,
uint32_t  msg_bytes 
)