mschapv2.h
来自「IEEE802.11 a/b/g 客户端应用程序源代码」· C头文件 代码 · 共 35 行
H
35 行
/* * MSCHAPV2 (RFC 2759) * Copyright (c) 2004-2008, 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 MSCHAPV2_H#define MSCHAPV2_H#define MSCHAPV2_CHAL_LEN 16#define MSCHAPV2_NT_RESPONSE_LEN 24#define MSCHAPV2_AUTH_RESPONSE_LEN 20#define MSCHAPV2_MASTER_KEY_LEN 16const u8 * mschapv2_remove_domain(const u8 *username, size_t *len);void mschapv2_derive_response(const u8 *username, size_t username_len, const u8 *password, size_t password_len, int pwhash, const u8 *auth_challenge, const u8 *peer_challenge, u8 *nt_response, u8 *auth_response, u8 *master_key);int mschapv2_verify_auth_response(const u8 *auth_response, const u8 *buf, size_t buf_len);#endif /* MSCHAPV2_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?