From 6b0637bccde6be0ef9815a59e3f94b20cd86dff8 Mon Sep 17 00:00:00 2001 From: rafael-santiago Date: Tue, 6 Sep 2022 09:05:44 -0300 Subject: [PATCH] Add release notes for vx20220002 --- RELNOTES.txt | 28 ++++++++++++++++++++++++++++ src/kryptos_types.h | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/RELNOTES.txt b/RELNOTES.txt index 26ce7ab..18794e6 100644 --- a/RELNOTES.txt +++ b/RELNOTES.txt @@ -5,6 +5,34 @@ Rafael -- +vx20220002 [git-tag: 'vx20220002'] + + Added one more cryptographic hash primitive and some support for incremental hash + emulation. + + Features: + + - Added BLAKE3 hash algorithm. The libary implementation supports the three + current available modes for this brand new hash algorithm: `hash`, `keyed_hash` + and `derive_key`. For the sake of simplicity, concurrency were not handled + by this implementation. Synchronization primitives would be out of library's + scope, its is an operating system business and very oriented to user's status + quo. I believe that an user facing this kind of requirement will be capable of + pick the implementation and shift it to concurrency if she/he wants to. + - Added `kryptos_hash_init`, `kryptos_hash_update` and `kryptos_hash_finalize` + conveniences. By default kryptos does not implement incremental hashing + since all its hash primitives have been implemented taking into consideration + that all data to be hashed will be in memory. Those three new primitives + are only for emulating the incremental hashing behavior. It could be useful + on some small/medium/large/huge but not HUGE buffered input reading and hashing + tasks. Variable sized and keyed hashes are also supported by these conveniences. + + Bugfixes: + + - TWOFISH HMAC tests were enabled during user-mode tests (it was lacking). + Anyway everything is fine, since it was running already on kernel-mode tests and + passing. So, no bugfixes. + vx20220001 [git-tag: 'vx20220001'] Now library counts with two one-time password algorithms (HMAC based and time based). diff --git a/src/kryptos_types.h b/src/kryptos_types.h index 7d95548..70a3ca8 100644 --- a/src/kryptos_types.h +++ b/src/kryptos_types.h @@ -8,7 +8,7 @@ #ifndef KRYPTOS_KRYPTOS_TYPES_H #define KRYPTOS_KRYPTOS_TYPES_H 1 -#define KRYPTOS_VERSION 0x20220001 // INFO(Rafael): a hex value [16-bit-year-in-decimal][16-bit-release-increment] +#define KRYPTOS_VERSION 0x20220002 // INFO(Rafael): a hex value [16-bit-year-in-decimal][16-bit-release-increment] # ifndef KRYPTOS_KERNEL_MODE # include