Deleted Added
full compact
eap_peap_common.c (189261) eap_peap_common.c (214734)
1/*
2 * EAP-PEAP common routines
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15#include "includes.h"
16
17#include "common.h"
1/*
2 * EAP-PEAP common routines
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15#include "includes.h"
16
17#include "common.h"
18#include "sha1.h"
18#include "crypto/sha1.h"
19#include "eap_peap_common.h"
20
21void peap_prfplus(int version, const u8 *key, size_t key_len,
22 const char *label, const u8 *seed, size_t seed_len,
23 u8 *buf, size_t buf_len)
24{
25 unsigned char counter = 0;
26 size_t pos, plen;

--- 62 unchanged lines hidden ---
19#include "eap_peap_common.h"
20
21void peap_prfplus(int version, const u8 *key, size_t key_len,
22 const char *label, const u8 *seed, size_t seed_len,
23 u8 *buf, size_t buf_len)
24{
25 unsigned char counter = 0;
26 size_t pos, plen;

--- 62 unchanged lines hidden ---