Merge pull request #7700 from silabs-Kusumit/PBKDF2_output_bytes

PBKDF2: Output bytes
This commit is contained in:
Gilles Peskine 2023-06-16 10:08:02 +02:00 committed by GitHub
commit f45a5a0ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 227 additions and 14 deletions

View file

@ -121,6 +121,9 @@ typedef struct {
size_t MBEDTLS_PRIVATE(salt_length);
uint8_t MBEDTLS_PRIVATE(password)[PSA_HMAC_MAX_HASH_BLOCK_SIZE];
size_t MBEDTLS_PRIVATE(password_length);
uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
uint8_t MBEDTLS_PRIVATE(bytes_used);
uint32_t MBEDTLS_PRIVATE(block_number);
} psa_pbkdf2_key_derivation_t;
#endif /* MBEDTLS_PSA_BUILTIN_ALG_PBKDF2_HMAC */