Home | History | Annotate | Download | only in radius
      1 /*
      2  * $Id: md5.c,v 1.1 2004/11/14 07:26:26 paulus Exp $
      3  */
      4 #include "md5.h"
      5 
      6 void rc_md5_calc (unsigned char *output, unsigned char *input, unsigned int inlen)
      7 {
      8 	MD5_CTX         context;
      9 
     10 	MD5_Init (&context);
     11 	MD5_Update (&context, input, inlen);
     12 	MD5_Final (output, &context);
     13 }
     14