repo.or.cz
/
mpls-ppp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rp_pppoe: Copy acName and pppd_pppoe_service after option parsing
[mpls-ppp.git]
/
pppd
/
plugins
/
radius
/
md5.c
blob
8af03aa3713e922302a7c9e289e093a82a669f51
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
}