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