commit 106993a18fb56b974ffdf6a34b233eebf78dc2f3
parent a0a15fea8438ce7fe4a3e3d5eb22b389b29e0703
Author: vaplv <vaplv@free.fr>
Date: Thu, 17 Sep 2020 10:55:25 +0200
Merge branch 'release_0.10' into develop
Diffstat:
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -17,6 +17,26 @@ project can be now edited, built, tested and installed as any CMake project.
## Release notes
+### Version 0.10
+
+- Add the `str_vprintf` and `str_append_[v]printf` functions to the string API
+ that sets the string content or appends text to it, respectively. The input
+ text is formatted following the `[v]printf` syntax, i.e. a literal is used to
+ format the text and a variable list of data are either provided directly as
+ function arguments (`printf`) or through a `va_list` (`vprintf`).
+- Add macros and functions to deal with data endianness. The `BYTE_ORDER` macro
+ defines the endianness of the host; its value can be `LITTLE_ENDIAN` or
+ `BIG_ENDIAN`. The `byte_swap_<16|32|64>` functions revert the byte ordering
+ of the submitted unsigned integer of 16, 32 or 64 bits. Finally, the
+ `<little|big>_endian_<16|32|64>` functions ensure that the input unsigned
+ integer follows the little or big endian ordering: bytes are swapped only if
+ the host endianness is not the expected one.
+- Add support of 256 bits hash. The `hash_sha256` function digest input data
+ wrt to the SHA-256 cryptographic hash algorithm. The `hash256_to_cstr`
+ function converts a 256 bits hash to its corresponding lower case string.
+ Finally The `hash256_eq` function check that the submitted 256 bits hashes
+ are the same.
+
### Version 0.9.1
- Add the `VFATAL` macro that works as the regular `FATAL` macro but with an