sha1_update.c (225B)
1 /* ISC license. */ 2 3 #include <skalibs/sha1.h> 4 #include "sha1-internal.h" 5 6 void sha1_update (SHA1Schedule *ctx, char const *buf, size_t len) 7 { 8 size_t i = 0 ; 9 for (; i < len ; i++) sha1_feed(ctx, (unsigned char)buf[i]) ; 10 }