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

Go to the source code of this file.

Data Structures

struct  ske_cbc_mac_ctx_t
 
struct  ske_cbc_mac_dma_ctx_t
 

Detailed Description

Function Documentation

◆ ske_hp_cbc_mac()

uint32_t ske_hp_cbc_mac ( SKE_ALG  alg,
SKE_PADDING  padding,
uint8_t *  key,
uint16_t  sp_key_idx,
uint8_t *  msg,
uint32_t  msg_bytes,
uint8_t *  mac,
uint8_t  mac_bytes 
)

◆ ske_hp_cbc_mac_final()

uint32_t ske_hp_cbc_mac_final ( ske_cbc_mac_ctx_t ctx,
uint8_t *  mac,
uint8_t  mac_bytes 
)

◆ ske_hp_cbc_mac_init()

uint32_t ske_hp_cbc_mac_init ( ske_cbc_mac_ctx_t ctx,
SKE_ALG  alg,
SKE_PADDING  padding,
uint8_t *  key,
uint16_t  sp_key_idx 
)

◆ ske_hp_cbc_mac_update()

uint32_t ske_hp_cbc_mac_update ( ske_cbc_mac_ctx_t ctx,
uint8_t *  msg,
uint32_t  msg_bytes 
)