Deleted Added
full compact
test_eap_sim_common.c (189261) test_eap_sim_common.c (214734)
1/*
2 * Test program for EAP-SIM PRF
3 * Copyright (c) 2004-2006, 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
1/*
2 * Test program for EAP-SIM PRF
3 * Copyright (c) 2004-2006, 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 "eap_sim_common.c"
15#include "eap_common/eap_sim_common.c"
16
17
18static int test_eap_sim_prf(void)
19{
20 /* http://csrc.nist.gov/encryption/dss/Examples-1024bit.pdf */
21 u8 xkey[] = {
22 0xbd, 0x02, 0x9b, 0xbe, 0x7f, 0x51, 0x96, 0x0b,
23 0xcf, 0x9e, 0xdb, 0x2b, 0x61, 0xf0, 0x6f, 0x0f,

--- 30 unchanged lines hidden ---
16
17
18static int test_eap_sim_prf(void)
19{
20 /* http://csrc.nist.gov/encryption/dss/Examples-1024bit.pdf */
21 u8 xkey[] = {
22 0xbd, 0x02, 0x9b, 0xbe, 0x7f, 0x51, 0x96, 0x0b,
23 0xcf, 0x9e, 0xdb, 0x2b, 0x61, 0xf0, 0x6f, 0x0f,

--- 30 unchanged lines hidden ---