summaryrefslogtreecommitdiff
path: root/src/libstdcrypto/md5_init.c
blob: 56c85de2820dfd10f16e51f2809ab2ec5bb002c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* ISC license. */

#include <skalibs/md5.h>

void md5_init (MD5Schedule *ctx)
{
  ctx->buf[0] = 0x67452301UL ;
  ctx->buf[1] = 0xefcdab89UL ;
  ctx->buf[2] = 0x98badcfeUL ;
  ctx->buf[3] = 0x10325476UL ;
  ctx->bits[0] = 0 ;
  ctx->bits[1] = 0 ;
}