Path: blob/main/crypto/heimdal/lib/gssapi/krb5/cfx.h
34923 views
/*1* Copyright (c) 2003, PADL Software Pty Ltd.2* All rights reserved.3*4* Redistribution and use in source and binary forms, with or without5* modification, are permitted provided that the following conditions6* are met:7*8* 1. Redistributions of source code must retain the above copyright9* notice, this list of conditions and the following disclaimer.10*11* 2. Redistributions in binary form must reproduce the above copyright12* notice, this list of conditions and the following disclaimer in the13* documentation and/or other materials provided with the distribution.14*15* 3. Neither the name of PADL Software nor the names of its contributors16* may be used to endorse or promote products derived from this software17* without specific prior written permission.18*19* THIS SOFTWARE IS PROVIDED BY PADL SOFTWARE AND CONTRIBUTORS ``AS IS'' AND20* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE21* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE22* ARE DISCLAIMED. IN NO EVENT SHALL PADL SOFTWARE OR CONTRIBUTORS BE LIABLE23* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL24* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS25* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)26* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT27* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY28* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF29* SUCH DAMAGE.30*/3132/* $Id$ */3334#ifndef GSSAPI_CFX_H_35#define GSSAPI_CFX_H_ 13637/*38* Implementation of draft-ietf-krb-wg-gssapi-cfx-01.txt39*/4041typedef struct gss_cfx_mic_token_desc_struct {42u_char TOK_ID[2]; /* 04 04 */43u_char Flags;44u_char Filler[5];45u_char SND_SEQ[8];46} gss_cfx_mic_token_desc, *gss_cfx_mic_token;4748typedef struct gss_cfx_wrap_token_desc_struct {49u_char TOK_ID[2]; /* 04 05 */50u_char Flags;51u_char Filler;52u_char EC[2];53u_char RRC[2];54u_char SND_SEQ[8];55} gss_cfx_wrap_token_desc, *gss_cfx_wrap_token;5657typedef struct gss_cfx_delete_token_desc_struct {58u_char TOK_ID[2]; /* 05 04 */59u_char Flags;60u_char Filler[5];61u_char SND_SEQ[8];62} gss_cfx_delete_token_desc, *gss_cfx_delete_token;6364#endif /* GSSAPI_CFX_H_ */656667