SEcube
SEcube Open Source Library - Device
se3_algo_aes256hmacsha256.h
1 #pragma once
2 #include "se3c1.h"
3 #include "pbkdf2.h"
4 
5 #define PBKDF2_SALT_LEN 32
6 #define PBKDF2_ITERATION 1000
7 #define PBKDF2_INPUT_KEY_LEN 32
8 #define PBKDF2_OUTPUT_KEY_LEN 64
9 
10 uint16_t se3_algo_aes256hmacsha256_init(
11  se3_flash_key* key, uint16_t mode, uint8_t* ctx);
12 
13 uint16_t se3_algo_aes256hmacsha256_update(
14  uint8_t* ctx, uint16_t flags,
15  uint16_t datain1_len, const uint8_t* datain1,
16  uint16_t datain2_len, const uint8_t* datain2,
17  uint16_t* dataout_len, uint8_t* dataout);
L1 structures and functions.
Flash key structure.
Definition: se3_keys.h:22