3
* Copyright (c) 2007, Jouni Malinen <j@w1.fi>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation.
9
* Alternatively, this software may be distributed under the terms of BSD
12
* See README and COPYING for more details.
22
void chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,
23
size_t challenge_len, u8 *response)
33
len[2] = challenge_len;
34
md5_vector(3, addr, len, response);