blob: 4fa393cb0ba648aa7721ef9ba119e2e698feb23a (
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)
{
size_t i = 0 ;
for (; i < len ; i++) sha1_feed(ctx, (unsigned char)buf[i]) ;
}
|