SEcube open-source SDK
pbkdf2.h
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4 
5 #include <stddef.h>
6 #include "sha256.h"
7 
8 void PBKDF2HmacSha256( const uint8_t *pw,
9  size_t npw,
10  const uint8_t *salt,
11  size_t nsalt,
12  uint32_t iterations,
13  uint8_t *out,
14  size_t nout);
15 
16 #ifdef __cplusplus
17 }
18 #endif
B5_HmacSha256_Update
int32_t B5_HmacSha256_Update(B5_tHmacSha256Ctx *ctx, const uint8_t *data, int32_t dataLen)
Compute the HMAC-SHA256 algorithm on input data depending on the current status of the HMAC-SHA256 co...
Definition: sha256.c:374
B5_HmacSha256_Init
int32_t B5_HmacSha256_Init(B5_tHmacSha256Ctx *ctx, const uint8_t *Key, int16_t keySize)
Initialize the HMAC-SHA256 context.
Definition: sha256.c:321
B5_HmacSha256_Finit
int32_t B5_HmacSha256_Finit(B5_tHmacSha256Ctx *ctx, uint8_t *rDigest)
De-initialize the current HMAC-SHA256 context.
Definition: sha256.c:398