1 2 3 4 5 6 7 8 9 10
/* ISC license. */ #include <skalibs/sha256.h> #include "sha256-internal.h" void sha256_update (SHA256Schedule_ref ctx, char const *buf, unsigned int len) { register unsigned int i = 0 ; for (; i < len ; i++) sha256_feed(ctx, (unsigned char)buf[i]) ; }