Key derivation by small input steps: proof-of-concept

Document the new API. Keep the old one.

Implement for HKDF. Use it in a few test cases.

Key agreement is still unchanged.
This commit is contained in:
Gilles Peskine 2019-01-07 22:59:38 +01:00
parent 8d4be19517
commit b70a0fd1a5
6 changed files with 427 additions and 14 deletions

View file

@ -165,6 +165,8 @@ typedef struct
#endif
uint8_t offset_in_block;
uint8_t block_number;
uint8_t state : 2;
uint8_t info_set : 1;
} psa_hkdf_generator_t;
#endif /* MBEDTLS_MD_C */