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