Change input cost type to uint64_t and fix max iteration test case

Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
This commit is contained in:
Kusumit Ghoderao
2023-05-31 12:51:02 +05:30
parent 5e7ef203e3
commit b20f13a41b
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ typedef enum {
typedef struct {
psa_pbkdf2_key_derivation_state_t MBEDTLS_PRIVATE(state);
size_t MBEDTLS_PRIVATE(input_cost);
uint64_t MBEDTLS_PRIVATE(input_cost);
uint8_t *MBEDTLS_PRIVATE(salt);
size_t MBEDTLS_PRIVATE(salt_length);
uint8_t MBEDTLS_PRIVATE(password)[PSA_HMAC_MAX_HASH_BLOCK_SIZE];