Commit graph

17 commits

Author SHA1 Message Date
bc3cfe71dc Add the IKM id and the nonce to the AAD 2024-03-11 14:55:08 +01:00
232fdb6fb2 Add decryption tests 2024-03-11 10:44:08 +01:00
d922297e91 Use the DataContext type 2024-03-09 17:29:55 +01:00
61d38fb6d9 Rename the get_value method to get_ctx_elems 2024-03-09 16:09:34 +01:00
35400b7278 Set a default key periodicity of 1 year 2024-03-09 12:40:28 +01:00
9e3cfc2fd6 Use the time period instead of the timestamp 2024-03-09 11:49:40 +01:00
5da1e3f5b6 Add a dedicated type for the key context 2024-03-02 14:53:38 +01:00
a0bbd6bf00 Improve error display in tests 2024-03-02 11:05:56 +01:00
423476c987 Refactor the IKM storage format 2024-03-02 11:00:59 +01:00
a1bf9e0bcc Move the scheme related primitives to dedicated modules 2024-02-25 14:19:56 +01:00
382492e915 Remove comments that went too obvious after refactoring the parts they were commenting 2024-02-25 14:06:43 +01:00
85d0ee7e31 Implement decryption 2024-02-25 13:40:19 +01:00
9df9fa6bf5 Use a custom result type 2024-02-17 20:47:07 +01:00
14e2fc2ac6 Implement encryption 2024-02-17 20:26:45 +01:00
65796a2c91 Refactor the context canonicalization 2024-02-17 16:29:54 +01:00
d679546331 Derive the key 2024-02-15 23:45:21 +01:00
d8d867bb1e Expose the encryption and decryption interfaces 2024-02-15 18:47:36 +01:00