Home | History | Annotate | Download | only in inc
      1 /** \file eapolParserMainInternal.h
      2  * \brief EAPOL frame parser internal definitions header file.
      3  *
      4  *
      5  * \see  eapolParseerMain.c,  eapolBuilderMain.h,  eapolBuilderMain.c, eapolParserMain.h
      6 */
      7 
      8 /****************************************************************************
      9 **+-----------------------------------------------------------------------+**
     10 **|                                                                       |**
     11 **| Copyright(c) 1998 - 2008 Texas Instruments. All rights reserved.      |**
     12 **| All rights reserved.                                                  |**
     13 **|                                                                       |**
     14 **| Redistribution and use in source and binary forms, with or without    |**
     15 **| modification, are permitted provided that the following conditions    |**
     16 **| are met:                                                              |**
     17 **|                                                                       |**
     18 **|  * Redistributions of source code must retain the above copyright     |**
     19 **|    notice, this list of conditions and the following disclaimer.      |**
     20 **|  * Redistributions in binary form must reproduce the above copyright  |**
     21 **|    notice, this list of conditions and the following disclaimer in    |**
     22 **|    the documentation and/or other materials provided with the         |**
     23 **|    distribution.                                                      |**
     24 **|  * Neither the name Texas Instruments nor the names of its            |**
     25 **|    contributors may be used to endorse or promote products derived    |**
     26 **|    from this software without specific prior written permission.      |**
     27 **|                                                                       |**
     28 **| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   |**
     29 **| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT     |**
     30 **| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |**
     31 **| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT  |**
     32 **| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |**
     33 **| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT      |**
     34 **| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |**
     35 **| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |**
     36 **| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT   |**
     37 **| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |**
     38 **| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  |**
     39 **|                                                                       |**
     40 **+-----------------------------------------------------------------------+**
     41 ****************************************************************************/
     42 
     43 /****************************************************************************
     44  *                                                                          *
     45  *   MODULE:                                                                *
     46  *   PURPOSE:                                                               *
     47  *   CREATOR: Alexander Sirotkin.                                           *
     48  *            Demiurg (at) ti.com                                                *
     49  *                                                                          *
     50  ****************************************************************************/
     51 
     52 #ifndef  _KEY_TYPES_H
     53 #define  _KEY_TYPES_H
     54 
     55 #include "osTIType.h"
     56 
     57 /* Constatnts */
     58 
     59 
     60 #define SESSION_KEY_LEN				16
     61 
     62 /* Structures */
     63 
     64 typedef struct
     65 {
     66 	UINT32	keyId;                          /**< Decoded key Id */
     67 	UINT32	keyLen;							/**< Key length */
     68 	char	*pData;							/**< Pointer to the material to derive the key from */
     69 } encodedKeyMaterial_t;
     70 
     71 
     72 #endif /*  _EAPOL_PARSER_INTERNAL_H*/
     73