mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-27 01:38:37 -05:00
3724ddc0c1
This function can fail in theory since the SHA-1 functions are allowed to return an error. While this does not really happen in practice (we would not get this far if SHA-1 does not work), it is cleaner to include the error handling here to keep static analyzers happier. [Bug 421] Signed-hostap: Jouni Malinen <j@w1.fi>
23 lines
644 B
C
23 lines
644 B
C
/*
|
|
* EAP-PEAP common routines
|
|
* Copyright (c) 2008-2011, 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 EAP_PEAP_COMMON_H
|
|
#define EAP_PEAP_COMMON_H
|
|
|
|
int peap_prfplus(int version, const u8 *key, size_t key_len,
|
|
const char *label, const u8 *seed, size_t seed_len,
|
|
u8 *buf, size_t buf_len);
|
|
|
|
#endif /* EAP_PEAP_COMMON_H */
|