Commit graph

16 commits

Author SHA1 Message Date
Rodolphe Bréard
8162fadf19 Hide schemes behind features 2024-04-20 11:48:58 +02:00
Rodolphe Bréard
ae19a16531 Improve the context and IKM list APIs 2024-03-24 09:47:36 +01:00
Rodolphe Bréard
b8539602f0 Move the context objects to a dedicated module 2024-03-17 14:31:01 +01:00
Rodolphe Bréard
165b197a3a Add tests to the KDF 2024-03-09 16:27:23 +01:00
Rodolphe Bréard
cac466f5ed Use a NonZeroU64 since the periodicity cannot be zero 2024-03-09 16:26:21 +01:00
Rodolphe Bréard
61d38fb6d9 Rename the get_value method to get_ctx_elems 2024-03-09 16:09:34 +01:00
Rodolphe Bréard
35400b7278 Set a default key periodicity of 1 year 2024-03-09 12:40:28 +01:00
Rodolphe Bréard
e735198f6a Allow to set the key context periodicity 2024-03-09 11:50:27 +01:00
Rodolphe Bréard
9e3cfc2fd6 Use the time period instead of the timestamp 2024-03-09 11:49:40 +01:00
Rodolphe Bréard
5da1e3f5b6 Add a dedicated type for the key context 2024-03-02 14:53:38 +01:00
Rodolphe Bréard
423476c987 Refactor the IKM storage format 2024-03-02 11:00:59 +01:00
Rodolphe Bréard
a1bf9e0bcc Move the scheme related primitives to dedicated modules 2024-02-25 14:19:56 +01:00
Rodolphe Bréard
cfdfcec03e Add some tests 2024-02-17 17:58:42 +01:00
Rodolphe Bréard
f3c6dee007 Move the canonicalize function to a dedicated module 2024-02-17 17:12:16 +01:00
Rodolphe Bréard
65796a2c91 Refactor the context canonicalization 2024-02-17 16:29:54 +01:00
Rodolphe Bréard
d679546331 Derive the key 2024-02-15 23:45:21 +01:00