rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit e8649ca24b4ebd9c8688783c7f4dc48cc41a5ecb
parent ab03f007c2769d33ec32929ce193577c80f6e208
Author: vaplv <vaplv@free.fr>
Date:   Mon,  2 Jan 2023 11:40:58 +0100

Write the 0.13 release note

Diffstat:
MREADME.md | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -17,6 +17,18 @@ project can be now edited, built, tested and installed as any CMake project. ## Release notes +### Version 0.13 + +- Complete rewrite of sha256 calculations. To compute a hash following the + sha256 cipher, we no longer rely on data pre-cut by the caller. As in GnuPG + or the GNU C library, sha256 calculations now use a context that the caller + updates with the data to digest. This rewrite introduces an API break. +- Add `size_to_cstr` function: it fills a C string with human readable text + corresponding to a given size (in bytes). For example, 1024 can be formatted + as `1 KB` or `1024 B`, depending on the input arguments. +- Fix `time_dump` function: correct invalid memory write as well as incorrect + text formatting when write time is 0 and `TIME_DAY` flag is set. + ### Version 0.12.1 - Fix compilation warnings with GCC 11.