blob: 3cd478130ed2861fcd336734c2a81e4968afb522 (
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, unsigned int len)
{
register unsigned int i = 0 ;
for (; i < len ; i++) sha256_feed(ctx, (unsigned char)buf[i]) ;
}
|