mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 18:58:21 -05:00
24 lines
607 B
C
24 lines
607 B
C
/*
|
|
* CHAP-MD5 (RFC 1994)
|
|
* Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef CHAP_H
|
|
#define CHAP_H
|
|
|
|
#define CHAP_MD5_LEN 16
|
|
|
|
int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,
|
|
size_t challenge_len, u8 *response);
|
|
|
|
#endif /* CHAP_H */
|