vx20220002
Added one more cryptographic hash primitive and some support for incremental hash emulation.
Features
-
Added
BLAKE3
hash algorithm. The library implementation supports the three current available modes for this brand new hash algorithm:hash
,keyed_hash
andderive_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 a 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
andkryptos_hash_finalize
conveniences. By defaultkryptos
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 somesmall/medium/large/huge
but notHUGE
buffered input reading and hashing tasks. Variable sized and keyed hashes are also supported by these conveniences.
Bugfixes
TWOFISH HMAC
tests were enabled duringuser-mode
tests (it was lacking). Anyway everything is fine, since it was running already onkernel-mode
tests and passing. So, no bugfixes. 🥇