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