1136412Sjkoshy/* 2136412Sjkoshy * CHAP-MD5 (RFC 1994) 3136412Sjkoshy * Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi> 4136412Sjkoshy * 5136412Sjkoshy * This software may be distributed under the terms of the BSD license. 6136412Sjkoshy * See README for more details. 7136412Sjkoshy */ 8136412Sjkoshy 9136412Sjkoshy#ifndef CHAP_H 10136412Sjkoshy#define CHAP_H 11136412Sjkoshy 12136412Sjkoshy#define CHAP_MD5_LEN 16 13136412Sjkoshy 14136412Sjkoshyint chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge, 15136412Sjkoshy size_t challenge_len, u8 *response); 16136412Sjkoshy 17136412Sjkoshy#endif /* CHAP_H */ 18136412Sjkoshy