1/*
2 * tkhash.h
3 * Prototypes for TKIP hash functions.
4 *
5 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; the
6 * contents of this file may not be disclosed to third parties, copied or
7 * duplicated in any form, in whole or in part, without the prior written
8 * permission of Broadcom Corporation.
9 *
10 * $Id: tkhash.h,v 1.1.1.1 2008/10/15 03:31:22 james26_jang Exp $
11 */
12
13#ifndef _TKHASH_H_
14#define _TKHASH_H_
15
16#include <typedefs.h>
17
18#define TKHASH_P1_KEY_SIZE	10	/* size of TKHash Phase1 output, in bytes */
19#define TKHASH_P2_KEY_SIZE	16	/* size of TKHash Phase2 output */
20
21extern void tkhash_phase1(uint16 *P1K, const uint8 *TK, const uint8 *TA,
22			  uint32 IV32);
23extern void tkhash_phase2(uint8 *RC4KEY, const uint8 *TK, const uint16 *P1K,
24			  uint16 IV16);
25
26#endif /* _TKHASH_H_ */
27