From 356e37cb9cceeca82df50ef99b68979eb3ff0136 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 29 May 2025 23:30:35 +0000 Subject: Add crc32c. Prepare for 2.14.5.0 Signed-off-by: Laurent Bercot --- doc/index.html | 4 +-- doc/libstdcrypto/index.html | 82 +++++++++++++++++++-------------------------- doc/license.html | 2 +- doc/upgrade.html | 7 ++++ 4 files changed, 45 insertions(+), 50 deletions(-) (limited to 'doc') diff --git a/doc/index.html b/doc/index.html index c92183a..8887bc0 100644 --- a/doc/index.html +++ b/doc/index.html @@ -60,8 +60,8 @@ with a standard C development environment

Download

+

+blake2s

+ + Same scheme as with the other hashes. + +
+  blake2s_ctx ctx ;
+  char const *message ;
+  size_t messagelen ;
+  size_t outlen = 32 ;  /* the user gives the length of the digest */
+  char digest[outlen] ;
+
+  blake2s_init(&ctx, outlen) ;
+  blake2s_update(&ctx, message, messagelen) ;
+  blake2s_final(&ctx, digest) ;
+
+ +

+crc32c

+ + This isn't a cryptography primitive, but just a function to compute +the Castagnoli version of a cyclic redundancy code. + +
+  uint32_t crc = 0 ;  /* no need for context except that crc needs to be initialized to 0 */
+  char const *message ;
+  size_t messagelen ;
+
+  crc = crc32c(crc, message, messagelen) ;
+
+ diff --git a/doc/license.html b/doc/license.html index e10a595..94fa9ba 100644 --- a/doc/license.html +++ b/doc/license.html @@ -74,7 +74,7 @@ color, or different text font.

I am aware that the previous restrictions sound completely ridiculous while the official skalibs documentation is incomplete. -As of 2.14.4.0, I'm not going to enforce those restrictions, but if you're +As of 2.14.5.0, I'm not going to enforce those restrictions, but if you're going to provide documentation for skalibs, don't keep it to yourself, please send it to me instead. :-)

diff --git a/doc/upgrade.html b/doc/upgrade.html index e6763d2..3903acc 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -16,6 +16,13 @@ skarnet.org

+

in 2.14.5.0

+ + +

in 2.14.4.0