Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 1 | /* |
| 2 | * CHAP-MD5 (RFC 1994) |
| 3 | * Copyright (c) 2007-2009, Jouni Malinen <j@w1.fi> |
| 4 | * |
Dmitry Shmidt | c5ec7f5 | 2012-03-06 16:33:24 -0800 | [diff] [blame^] | 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
Dmitry Shmidt | 8d520ff | 2011-05-09 14:06:53 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef CHAP_H |
| 10 | #define CHAP_H |
| 11 | |
| 12 | #define CHAP_MD5_LEN 16 |
| 13 | |
| 14 | int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge, |
| 15 | size_t challenge_len, u8 *response); |
| 16 | |
| 17 | #endif /* CHAP_H */ |