/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sample.h - Common declarations for sample client/server */
/*
- * appl/sample/sample.h
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Common definitions for the sample client/server.
*/
#ifndef KRB5_SAMPLE__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sclient/sclient.c */
/*
- * appl/sample/sclient/sclient.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Sample Kerberos v5 client.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/sample/sserver/sserver.c */
/*
- * appl/sample/sserver/sserver.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Sample Kerberos v5 server.
*
* sample_server:
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/client/sim_client.c */
/*
- * appl/simple/client/sim_client.c
- *
* Copyright 1989,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Simple UDP-based sample client program. For demonstration.
* This program performs no useful function.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/server/sim_server.c */
/*
- * appl/simple/server/sim_server.c
- *
* Copyright 1989,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Usage:
* sample_server servername
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/simple/simple.h */
/*
- * appl/simple/simple.h
- *
* Copyright 1988,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Common definitions for the simple UDP-based Kerberos-mediated
* server & client applications.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/user_user/client.c - Other end of user-user client/server pair */
/*
- * appl/user_user/client.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Other end of user-user client/server pair.
*/
#include <sys/types.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* appl/user_user/server.c - One end of user-user client-server pair */
/*
- * appl/user_user/server.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * One end of the user-user client-server pair.
*/
#include <sys/types.h>
+/* ccapi/common/cci_array_internal.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_array_internal.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_common.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_cred_union.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_cred_union.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_debugging.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_debugging.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_identifier.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_identifier.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_message.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_message.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_os_debugging.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_os_identifier.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/cci_types.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/mac/cci_os_debugging.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/mac/cci_os_identifier.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/OldCC/ccutils.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/OldCC/ccutils.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/OldCC/name.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/OldCC/util.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/cci_os_debugging.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/cci_os_identifier.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/tls.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/tls.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/win-utils.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/common/win/win-utils.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ccache.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ccache.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ccache_iterator.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ccache_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_context.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_context.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_context_change_time.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_context_change_time.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_credentials.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_credentials.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_credentials_iterator.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_credentials_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ipc.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_ipc.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_os_ipc.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_string.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/ccapi_v2.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/mac/ccapi_os_ipc.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/mac/ccapi_vector.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/mac/ccapi_vector.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/win/OldCC/client.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/win/ccs_reply_proc.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/lib/win/dllmain.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_array.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_array.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_cache_collection.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_cache_collection.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_callback.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_callback.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_ccache.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_ccache.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_ccache_iterator.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_ccache_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_client.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_client.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_common.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_credentials.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_credentials.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_credentials_iterator.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_credentials_iterator.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_list.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_list.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_list_internal.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_list_internal.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_lock.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_lock.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_lock_state.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_lock_state.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_os_notify.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_os_pipe.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_os_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_pipe.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_pipe.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_server.c */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/ccs_types.h */
/*
- * $Header$
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/mac/ccs_os_notify.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/mac/ccs_os_pipe.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/mac/ccs_os_server.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/win/WorkQueue.h */
/*
- * $Header$
- *
* Copyright 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/win/ccs_os_pipe.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/win/ccs_request_proc.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/win/ccs_win_pipe.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* ccapi/server/win/ccs_win_pipe.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kdestroy/kdestroy.c - Destroy contents of credential cache */
/*
- * clients/kdestroy/kdestroy.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Destroy the contents of your credential cache.
*/
#include "autoconf.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/extern.h - Global declarations for kinit */
/*
- * clients/kinit/extern.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Global declarations for kinit.
*/
#ifndef KINIT_EXTERN_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/kinit.c - Initialize a credential cache */
/*
- * clients/kinit/kinit.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Initialize a credentials cache.
*/
#include "autoconf.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/kinit/kinit_kdb.c */
/*
- * clients/kinit/kinit_kdb.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- */
+ */
+
/**
* @file kinit_kdb.c
* Operations to open the KDB and make the KDB key table available
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/klist/klist.c - List contents of credential cache or keytab */
/*
- * clients/klist/klist.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * List out the contents of your credential cache or keytab.
*/
#include "autoconf.h"
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley. The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
/* based on @(#)setenv.c 5.2 (Berkeley) 6/27/88 */
break;
}
#endif
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
/* based on @(#)getenv.c 5.5 (Berkeley) 6/27/88 */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* clients/ksu/xmalloc.c - Exit-on-failure allocation wrappers */
/*
- * clients/ksu/xmalloc.c
- *
* Copyright 1999 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Perform simple allocation/copy operations, exiting on failure.
*/
#include "ksu.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/CredentialsCache.h */
/*
- * $Header$
- *
* Copyright 1998-2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/CredentialsCache2.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/adm.h */
/*
- * include/krb5/adm.h
- *
* Copyright 1995,2001,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
#ifndef KRB5_ADM_H__
#define KRB5_ADM_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/adm_proto.h */
/*
- * include/krb5/adm_proto.h
- *
* Copyright 1995, 2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
#ifndef KRB5_ADM_PROTO_H__
#define KRB5_ADM_PROTO_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/cm.h */
/*
- * include/cm.h
- *
* Copyright 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/foreachaddr.h */
/*
- * include/foreachaddr.c
- *
* Copyright 1990,1991,2000,2001,2002,2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Iterate over the protocol addresses supported by this host, invoking
* a callback function or three supplied by the caller.
+/* include/gssrpc/auth_gss.h */
/*
- auth_gssapi.h
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
+/* include/gssrpc/auth_gssapi.h - GSS-API style auth parameters for RPC */
/*
- * auth_gssapi.h, Protocol for GSS-API style authentication parameters for RPC
- *
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
- *
- * $Id$
- *
*/
#ifndef GSSRPC_AUTH_GSSAPI_H
-#ifndef RPC_NETDB_H
-#define RPC_NETDB_H
-
-/* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */
+/* include/gssrpc/netdb.h */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+/* @(#)netdb.h 2.1 88/07/29 3.9 RPCSRC */
/* @(#)rpc.h 1.8 87/07/24 SMI */
+
+#ifndef RPC_NETDB_H
+#define RPC_NETDB_H
+
#include <gssrpc/types.h>
/* since the gssrpc library requires that any application using it be
built with these header files, I am making the decision that any app
+/* include/gssrpc/rename.h */
/*
- * lib/rpc/rename.h
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Namespace mangling for various purposes.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-buf.h - k5buf interface declarations */
/*
- * include/k5-buf.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * k5buf string buffer module interface
*/
#ifndef K5_BUF_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-err.h */
/*
- * include/k5-err.h
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Error-message handling
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-gmt_mktime.h */
/*
- * include/k5-gmt_mktime.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* GMT struct tm conversion
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001, 2003,2006,2007,2008,2009 by the Massachusetts Institute of Technology,
+ * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001,
+ * 2003,2006,2007,2008,2009 by the Massachusetts Institute of Technology,
* Cambridge, MA, USA. All Rights Reserved.
*
* This software is being provided to you, the LICENSEE, by the
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* Sandia National Laboratories also makes no representations about the
* suitability of the modifications, or additions to this software for
* any purpose. It is provided "as is" without express or implied warranty.
- *
*/
#ifndef KRB5_PREAUTH__
#define KRB5_PREAUTH__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-ipc_stream.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* include/k5-platform.h */
/*
- * k5-platform.h
- *
* Copyright 2003, 2004, 2005, 2007, 2008, 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Some platform-dependent definitions to sync up the C support level.
* Some to a C99-ish level, some related utility code.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-thread.h - Preliminary portable thread support */
/*
- * include/k5-thread.h
- *
* Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Preliminary thread support.
*/
#ifndef K5_THREAD_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/k5-trace.h */
/*
- * include/k5-trace.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* This header contains trace macro definitions, which map trace points within
* the code to krb5int_trace() calls with descriptive text strings.
*
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* This notice applies to changes, created by or for Novell, Inc.,
- * to preexisting works for which notices appear elsewhere in this file.
- *
+/*
* Copyright (C) 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
* PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
#ifndef K5_UNICODE_H
#define K5_UNICODE_H
* your software as modified software and not distribute it in such a
* fashion that it might be confused with the original M.I.T. software.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* This notice applies to changes, created by or for Novell, Inc.,
- * to preexisting works for which notices appear elsewhere in this file.
- *
+/*
* Copyright (C) 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND TREATIES.
* LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT THE
* PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
#ifndef K5_UTF8_H
#define K5_UTF8_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * include/krb5/kdb.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * KDC Database interface definitions.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/* KDC Database interface definitions */
+
/* This API is not considered as stable as the main krb5 API.
*
* - We may make arbitrary incompatible changes between feature
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/kdb_kt.h - KDC keytab declarations */
/*
- * include/krb5/kdb_kt.h
- *
* Copyright 1997 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * KDC keytab definitions.
*/
-
#ifndef KRB5_KDB5_KT_H
#define KRB5_KDB5_KT_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * krb5/authdata_plugin.h
- *
* Copyright (C) 2007 Apple Inc. All Rights Reserved.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * AuthorizationData plugin definitions for Kerberos 5.
*/
/*
+ * Authorization data plugin definitions for Kerberos 5.
* This is considered an INTERNAL interface at this time.
*
* Some work is needed before exporting it:
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * include/krb5/kadm5_hook_plugin.h
- */
/*
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* include/krb5.h - General definitions for Kerberos version 5.
- *
- * Copyright 1989,1990,1995,2001, 2003, 2007, 2011 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+/*
+ * Copyright 1989,1990,1995,2001, 2003, 2007, 2011 by the Massachusetts
+ * Institute of Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/locate_plugin.h>
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Service location plugin definitions for Kerberos 5.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/plugin.h>
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Generic declarations for dynamic modules implementing krb5 plugin modules.
*/
+/* Generic declarations for dynamic modules implementing krb5 plugin
+ * modules. */
+
#ifndef KRB5_PLUGIN_H
#define KRB5_PLUGIN_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * <krb5/preauth_plugin.h>
- *
* Copyright (c) 2006 Red Hat, Inc.
* Portions copyright (c) 2006 Massachusetts Institute of Technology
* All Rights Reserved.
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * Preauthentication plugin definitions for Kerberos 5.
*/
+/* Preauthentication plugin definitions for Kerberos 5 */
+
#ifndef KRB5_PREAUTH_PLUGIN_H_INCLUDED
#define KRB5_PREAUTH_PLUGIN_H_INCLUDED
#include <krb5/krb5.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * prototype/prototype.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Declarations for password quality plugin module implementors.
*
* The password quality pluggable interface currently has only one supported
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* include/net-server.h */
/*
- * include/net-server.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Declarations for "API" of network listener/dispatcher in libapputils.
*/
+/* Declarations for "API" of network listener/dispatcher in libapputils. */
+
#ifndef NET_SERVER_H
#define NET_SERVER_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* include/krb5/stock/osconf.h
- *
+/*
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Site- and OS- dependant configuration.
*/
+/* Site- and OS- dependent configuration */
+
#ifndef KRB5_OSCONF__
#define KRB5_OSCONF__
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * kadmin.c: base functions for a kadmin command line interface using
- * the OVSecure library
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/* Base functions for a kadmin command line interface using the OVSecure
+ * library */
+
/* for "_" macro */
#include "k5-platform.h"
#include <krb5.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/cli/kadmin.h */
/*
- * kadmin/cli/kadmin.h
- *
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Prototypes for kadmin functions called from SS library.
*/
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * ss wrapper for kadmin
*/
#include <krb5.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/dump.c - Dump a KDC database */
/*
- * kadmin/dbutil/dump.c
- *
- * Copyright 1990,1991,2001,2006,2008,2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2001,2006,2008,2009 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Dump a KDC database
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_create.c - Create a KDC database */
/*
- * kadmin/dbutil/kdb5_create.c
- *
- * Copyright 1990,1991,2001, 2002, 2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2001, 2002, 2008 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Generate (from scratch) a Kerberos KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_destroy.c - Destroy a KDC database */
/*
- * admin/destroy/kdb5_destroy.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * kdb_dest(roy): destroy the named database.
- *
- * This version knows about DBM format databases.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_stash.c - Store the master database key in a file */
/*
- * admin/stash/kdb5_stash.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Store the master database key in a file.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_util.c - Administer a KDC database */
/*
- * admin/edit/kdb5_edit.c
- *
* (C) Copyright 1990,1991, 1996, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Edit a KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/dbutil/kdb5_util.h */
/*
- * admin/edit/kdb5_edit.h
- *
* Copyright 1992, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <kdb_log.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil.c - SS user interface for ktutil */
/*
- * kadmin/ktutil/ktutil.c
- *
* Copyright 1995, 1996, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * SS user interface for ktutil.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil.h */
/*
- * kadmin/ktutil/ktutil.h
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
typedef struct _krb5_kt_list {
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kadmin/ktutil/ktutil_funcs.c */
/*
- * kadmin/ktutil/ktutil_funcs.c
- *
*(C) Copyright 1995, 1996 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Utility functions for ktutil.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/dispatch.c - Dispatch an incoming packet */
/*
- * kdc/dispatch.c
- *
* Copyright 1990, 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Dispatch an incoming packet.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_as_req.c */
/*
- * kdc/do_as_req.c
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990,1991,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/do_tgs_req.c - KDC Routines to deal with TGS_REQ's */
/*
- * kdc/do_tgs_req.c
- *
* Copyright 1990,1991,2001,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * KDC Routines to deal with TGS_REQ's
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.c */
/*
- * kdc/extern.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* allocations of extern stuff
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/extern.h */
/*
- * kdc/extern.h
- *
* Copyright 1990,2001,2007,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * <<< Description >>>
*/
#ifndef __KRB5_KDC_EXTERN__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/fast_util.c */
/*
- * kdc/fast_util.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_authdata.c - Authorization data routines for the KDC */
/*
- * kdc/kdc_authdata.c
- *
* Copyright (C) 2007 Apple Inc. All Rights Reserved.
* Copyright (C) 2008, 2009 by the Massachusetts Institute of Technology.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * AuthorizationData routines for the KDC.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_preauth.c - Preauthentication routines for the KDC */
/*
- * kdc/kdc_preauth.c
- *
- * Copyright 1995, 2003, 2007, 2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1995, 2003, 2007, 2009 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Preauthentication routines for the KDC.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.c - Utility functions for the KDC implementation */
/*
- * kdc/kdc_util.c
- *
* Copyright 1990,1991,2007,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Utility functions for the KDC implementation.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/kdc_util.h */
/*
- * kdc/kdc_util.h
- *
* Portions Copyright (C) 2007 Apple Inc.
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/main.c - Main procedure body for the KDC server process */
/*
- * kdc/main.c
- *
* Copyright 1990,2001,2008,2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Main procedure body for the KDC server process.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.c - Policy decision routines for KDC */
/*
- * kdc/policy.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Policy decision routines for KDC.
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/policy.h - Declarations for policy.c */
/*
- * kdc/policy.h
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Declarations for policy.c
*/
#ifndef __KRB5_KDC_POLICY__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/replay.c - Replay lookaside cache for the KDC, to avoid extra work */
/*
- * kdc/replay.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Replay lookaside cache for the KDC, to avoid extra work.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* kdc/rtest.c */
/*
- * kdc/rtest.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include "k5-int.h"
+/* kim/lib/kim_credential.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_credential_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_debug.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_debug_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_error_message.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_error_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_identity_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_library.c */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_library_private.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_options.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_options_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_preferences_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_private.h */
/*
- * $Header$
- *
* Copyright 2006-2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_selection_hints_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_string_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_cli.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_cli_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_gui_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_plugin.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_plugin_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/kim_ui_private.h */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/KerberosLogin.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_debug.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_library.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_private.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_selection_hints.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_string.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/lib/mac/kim_os_ui_gui.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/main.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_common.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_common.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_identity.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_identity.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_preferences.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_preferences.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_selection_hints.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_kim_selection_hints.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
+/* kim/test/test_ui_plugin.c */
/*
- * $Header$
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-/*-
+/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/apputils/net-server.c - Network code for krb5 servers (kdc, kadmind) */
/*
- * lib/apputils/net-server.c
- *
* Copyright 1990,2000,2007,2008,2009,2010 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Network code for Kerberos v5 servers (kdc, kadmind).
*/
#include "k5-int.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the definitions required to use AES (Rijndael) in C.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the definitions required to use AES (Rijndael) in C.
+ */
#ifndef _AES_H
#define _AES_H
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * TERMS
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted subject to the following conditions:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * 3. The copyright holder's name must not be used to endorse or promote
+ * any products derived from this software without his specific prior
+ * written permission.
+ *
+ * This software is provided 'as is' with no express or implied warranties
+ * of correctness or fitness for purpose.
+ */
- TERMS
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted subject to the following conditions:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. The copyright holder's name must not be used to endorse or promote
- any products derived from this software without his specific prior
- written permission.
-
- This software is provided 'as is' with no express or implied warranties
- of correctness or fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the definitions required to use AES (Rijndael) in C++.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the definitions required to use AES (Rijndael) in C++.
+ */
#ifndef _AESCPP_H
#define _AESCPP_H
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing encryption and decryption
- for AES (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
- It can optionally be replaced by code written in assembler using NASM.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing encryption and decryption
+ * for AES (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
+ * It can optionally be replaced by code written in assembler using NASM.
+ */
#include "aesopt.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing encryption and decryption
- for AES (Rijndael) for block and key sizes of 16, 24 and 32 bytes. It
- can optionally be replaced by code written in assembler using NASM.
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing encryption and decryption
+ * for AES (Rijndael) for block and key sizes of 16, 24 and 32 bytes. It
+ * can optionally be replaced by code written in assembler using NASM.
*/
#include "aesopt.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
-
- This file contains the code for implementing the key schedule for AES
- (Rijndael) for block and key sizes of 16, 24, and 32 bytes.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing the key schedule for AES
+ * (Rijndael) for block and key sizes of 16, 24, and 32 bytes.
+ */
#include "aesopt.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 21/01/2002
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This file contains the code for implementing the key schedule for AES
- (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
-*/
+/*
+ * Issue Date: 21/01/2002
+ *
+ * This file contains the code for implementing the key schedule for AES
+ * (Rijndael) for block and key sizes of 16, 20, 24, 28 and 32 bytes.
+ */
#include "aesopt.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
+/*
Issue Date: 07/02/2002
This file contains the compilation options for AES (Rijndael) and code
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
-
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 07/02/2002
-*/
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
+
+/* Issue Date: 07/02/2002 */
#include "aesopt.h"
/*
- -------------------------------------------------------------------------
- Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
- All rights reserved.
+ * Copyright (c) 2001, Dr Brian Gladman <brg@gladman.uk.net>, Worcester, UK.
+ * All rights reserved.
+ *
+ * LICENSE TERMS
+ *
+ * The free distribution and use of this software in both source and binary
+ * form is allowed (with or without changes) provided that:
+ *
+ * 1. distributions of this source code include the above copyright
+ * notice, this list of conditions and the following disclaimer;
+ *
+ * 2. distributions in binary form include the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other associated materials;
+ *
+ * 3. the copyright holder's name is not used to endorse products
+ * built using this software without specific written permission.
+ *
+ * DISCLAIMER
+ *
+ * This software is provided 'as is' with no explcit or implied warranties
+ * in respect of any properties, including, but not limited to, correctness
+ * and fitness for purpose.
+ */
- LICENSE TERMS
-
- The free distribution and use of this software in both source and binary
- form is allowed (with or without changes) provided that:
-
- 1. distributions of this source code include the above copyright
- notice, this list of conditions and the following disclaimer;
-
- 2. distributions in binary form include the above copyright
- notice, this list of conditions and the following disclaimer
- in the documentation and/or other associated materials;
-
- 3. the copyright holder's name is not used to endorse products
- built using this software without specific written permission.
-
- DISCLAIMER
-
- This software is provided 'as is' with no explcit or implied warranties
- in respect of any properties, including, but not limited to, correctness
- and fitness for purpose.
- -------------------------------------------------------------------------
- Issue Date: 01/02/2002
-
- This file contains code to obtain or set the definitions for fixed length
- unsigned integer types.
-*/
+/*
+ * Issue Date: 01/02/2002
+ *
+ * This file contains code to obtain or set the definitions for fixed length
+ * unsigned integer types.
+ */
#ifndef _UITYPES_H
#define _UITYPES_H
-/* camellia.c ver 1.2.0
- *
+/* lib/crypto/builtin/camellia/camellia.c - Camellia version 1.2.0 */
+/*
* Copyright (c) 2006,2007,2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
-/* camellia.h ver 1.2.0
- *
+/* lib/crypto/builtin/camellia/camellia.h - Camellia version 1.2.0 */
+/*
* Copyright (c) 2006,2007,2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/afsstring2key.c */
/*
- * lib/crypto/des/string2key.c
- *
- * based on lib/crypto/des/string2key.c from MIT V5
- * and on lib/des/afs_string_to_key.c from UMD.
- * constructed by Mark Eichin, Cygnus Support, 1995.
- * made thread-safe by Ken Raeburn, MIT, 2001.
- */
-
-/*
- * Copyright 2001 by the Massachusetts Institute of Technology.
+ * Copyright 1989, 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ * Copyright (c) 1990 Regents of The University of Michigan.
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * and its documentation for any purpose and without fee is hereby
+ * granted, provided that the above copyright notice appears in all
+ * copies and that both that copyright notice and this permission
+ * notice appear in supporting documentation, and that the name of
+ * The University of Michigan not be used in advertising or
+ * publicity pertaining to distribution of the software without
+ * specific, written prior permission. This software is supplied as
+ * is without expressed or implied warranties of any kind.
+ *
+ * ITD Research Systems
+ * University of Michigan
+ * 535 W. William Street
+ * Ann Arbor, Michigan
+ * +1-313-936-2652
+ * netatalk@terminator.cc.umich.edu
+ */
+
+/*
+ * based on lib/crypto/des/string2key.c from MIT V5
+ * and on lib/des/afs_string_to_key.c from UMD.
+ * constructed by Mark Eichin, Cygnus Support, 1995.
+ * made thread-safe by Ken Raeburn, MIT, 2001.
+ */
#include "crypto_int.h"
#include "des_int.h"
return 0;
}
-
-/* Portions of this code:
- Copyright 1989 by the Massachusetts Institute of Technology
-*/
-
-/*
- * Copyright (c) 1990 Regents of The University of Michigan.
- * All Rights Reserved.
- *
- * Permission to use, copy, modify, and distribute this software
- * and its documentation for any purpose and without fee is hereby
- * granted, provided that the above copyright notice appears in all
- * copies and that both that copyright notice and this permission
- * notice appear in supporting documentation, and that the name of
- * The University of Michigan not be used in advertising or
- * publicity pertaining to distribution of the software without
- * specific, written prior permission. This software is supplied as
- * is without expressed or implied warranties of any kind.
- *
- * ITD Research Systems
- * University of Michigan
- * 535 W. William Street
- * Ann Arbor, Michigan
- * +1-313-936-2652
- * netatalk@terminator.cc.umich.edu
- */
-
static void krb5_afs_crypt_setkey (char*, char*, char(*)[48]);
static void krb5_afs_encrypt (char*,char*,char (*)[48]);
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/des_int.h */
/*
- * lib/crypto/des/des_int.h
- *
* Copyright 1987, 1988, 1990, 2002 by the Massachusetts Institute of
* Technology. All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Private include file for the Data Encryption Standard library.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* Private include file for the Data Encryption Standard library. */
+
/* only do the whole thing once */
#ifndef DES_INTERNAL_DEFS
#define DES_INTERNAL_DEFS
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/destest.c */
/*
- * lib/crypto/des/destest.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Test a DES implementation against known inputs & outputs
*/
-
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/* Test a DES implementation against known inputs & outputs. */
+
#include "des_int.h"
#include "crypto_int.h"
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_cbc.c */
/*
- * lib/crypto/des/f_cbc.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* CBC functions; used only by the test programs at this time. (krb5 uses the
* functions in f_aead.c instead.)
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_cksum.c */
/*
- * lib/crypto/des/f_cksum.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_cbc_cksum.c - compute an 8 byte checksum using DES in CBC mode
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_sched.c */
/*
- * lib/crypto/des/f_sched.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_make_sched.c - permute a DES key, returning the resulting key schedule
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_tables.c */
/*
- * lib/crypto/des/f_tables.c
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * DES implementation donated by Dennis Ferguson
*/
+/* DES implementation donated by Dennis Ferguson */
+
/*
* des_tables.c - precomputed tables used for the DES cipher function
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/f_tables.h */
/*
- * lib/crypto/des/f_tables.h
- *
* Copyright (C) 1990 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* DES implementation donated by Dennis Ferguson
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/key_sched.c */
/*
- * lib/crypto/des/key_sched.c
- *
* Copyright 1985, 1986, 1987, 1988, 1990 by the Massachusetts Institute
* of Technology.
* All Rights Reserved.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* This routine computes the DES key schedule given a key. The
* permutations and shifts have been done at compile time, resulting
* in a direct one-step mapping from the input key to the key
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/string2key.c */
/*
- * lib/crypto/des/des_s2k.c
- *
* Copyright 2004, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Compute encryption key from salt and pass phrase.
*/
+/* Compute encryption key from salt and pass phrase. */
+
#include "crypto_int.h"
#include "des_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/t_verify.c */
/*
- * lib/crypto/des/verify.c
- *
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Program to test the correctness of the DES library
- * implementation.
- *
- * exit returns 0 ==> success
- * -1 ==> error
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/*
+ *
+ * Program to test the correctness of the DES library
+ * implementation.
+ *
+ * exit returns 0 ==> success
+ * -1 ==> error
+ */
+
#include "k5-int.h"
#include "des_int.h"
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/des/weak_key.c */
/*
- * lib/crypto/des/weak_key.c
- *
* Copyright 1989,1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Under U.S. law, this software may not be exported outside the US
* without license from the U.S. Commerce department.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/enc_provider/aes.c */
/*
- * lib/crypto/enc_provider/aes.c
- *
* Copyright (C) 2003, 2007, 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/enc_provider/camellia.c - Camellia enc provider definition */
+/* lib/crypto/builtin/enc_provider/camellia.c - Camellia enc provider */
/*
* Copyright (C) 2009, 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* arcfour.c
- *
+/* lib/crypto/builtin/enc_provider/rc4.c */
+/*
* Copyright (c) 2000 by Computer Science Laboratory,
* Rensselaer Polytechnic Institute
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/init.c - Module init and cleanup functions */
/*
- * lib/crypto/builtin/init.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Built-in back-end library init functions
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/md4/md4.c */
+
/*
- * lib/crypto/md4/md4.c
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
/*
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md4.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/md4/rsa-md4.h */
/*
- * lib/crypto/md4/rsa-md4.h
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
+ */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
*
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
*
- * RSA MD4 header file, with Kerberos/STDC additions.
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
+/* RSA MD4 header file, with Kerberos/STDC additions. */
+
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
/* Data structure for MD4 (Message Digest) computation */
typedef struct {
krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD5 Message-
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD5 Message-Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
/*
***********************************************************************
** md5.c -- the source code for MD5 routines **
* Modified by John Carr, MIT, to use Kerberos 5 typedefs.
*/
-/*
-***********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD5 Message- **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-***********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD5 Message-
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD5 Message-Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
/*
***********************************************************************
** md5.h -- header file for implementation of MD5 **
***********************************************************************
*/
-/*
-***********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD5 Message- **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-***********************************************************************
-*/
-
#ifndef KRB5_RSA_MD5__
#define KRB5_RSA_MD5__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/builtin/pbkdf2.c - Implementation of PBKDF2 from RFC 2898 */
/*
- * lib/crypto/pbkdf2.c
- *
* Copyright 2002, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Implementation of PBKDF2 from RFC 2898.
*/
#include <ctype.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/builtin/t_sha256.c */
+/* lib/crypto/builtin/sha2/t_sha256.c */
/*
* Copyright (c) 1995 - 2002 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/aes-test.c */
/*
- * lib/crypto/aes/aes-test.c
- *
* Copyright (C) 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Subset of NIST tests for AES; specifically, the variable-key and
* variable-text tests for 128- and 256-bit keys.
*/
+/* lib/crypto/crypto_tests/camellia-test.c */
/*
- * lib/crypto/camellia/camellia-test.c
- *
* Copyright (c) 2009
* NTT (Nippon Telegraph and Telephone Corporation) . All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cf2.c */
/*
- * lib/crypto/t_cf2.c
- *
* Copyright (C) 2004, 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
+ */
+
+/*
+ * This file contains tests for the KRB-FX-CF2 code in Kerberos, based on the
+ * PRF regression tests. It reads an input file, and writes an output file.
+ * It is assumed that the output file will be diffed against expected output to
+ * see whether regression tests pass. The input file is a very primitive
+ * format.
+ *
+ * Line 1: enctype
+ * Line 2: key to pass to string2key; also used as salt
+ * Line 3: second key to pass to string2key
+ * Line 4: pepper1
+ * Line 5: pepper2
*
- * This file contains tests for theKRB-FX-CF2 code in Kerberos, based
- *on the PRF regression tests. It reads an input file, and writes an
- *output file. It is assumed that the output file will be diffed
- *against expected output to see whether regression tests pass. The
- *input file is a very primitive format.
- *First line: enctype
- *second line: key to pass to string2key; also used as salt
- *Third line: second key to pass to string2key
- *fourth line: pepper1
- *fifth line: pepper2
- *scanf is used to read the file, so interior spaces are not permitted. The program outputs the hex bytes of the key.
+ * scanf is used to read the file, so interior spaces are not permitted. The
+ * program outputs the hex bytes of the key.
*/
#include <krb5.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cksum.c */
/*
- * lib/crypto/md5/t_cksum.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * t_cksum.c - Test checksum and checksum compatability for rsa-md[4,5]-des
- */
+/* Test checksum and checksum compatability for rsa-md[4,5]-des. */
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/crypto-tests/t_cksums.c - Test known checksum results */
+/* lib/crypto/crypto_tests/t_cksums.c - Test known checksum results */
/*
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cmac.c */
/*
- * lib/crypto/t_cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Test vectors for CMAC. Inputs are taken from RFC 4493 section 4. Outputs
* are changed for the use of Camellia-128 in place of AES-128.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_crc.c */
/*
- * lib/crypto/crc32/t_crc.c
- *
* Copyright 2002,2005 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Sanity checks for CRC32.
*/
#include <sys/times.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_cts.c */
/*
- * lib/crypto/vectors.c
- *
* Copyright 2001, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Test vectors for crypto code, matching data submitted for inclusion
* with RFC1510bis.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_encrypt.c */
/*
- * lib/crypto/t_encrypt.c
- *
* Copyright 2001, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* <<< Description >>>
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_hmac.c */
/*
- * lib/crypto/t_hmac.c
- *
* Copyright 2001,2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Test vectors for HMAC-MD5 and HMAC-SHA1 (placeholder only).
* Tests taken from RFC 2202.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_kperf.c */
/*
- * lib/crypto/crypto_tests/t_kperf.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_mdcksum.c */
/*
- * lib/crypto/md5/t_cksum.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * t_cksum.c - Test checksum and checksum compatability for rsa-md[4,5]-des
- */
+/* Test checksum and checksum compatability for rsa-md[4,5]-des. */
#ifndef MD
#define MD 5
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* MDDRIVER.C - test driver for MD2, MD4 and MD5
+/* lib/crypto/crypto_tests/t_mddriver.c - test driver for MD2, MD4 and MD5 */
+/*
+ * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
+ * rights reserved.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
-/* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
- rights reserved.
-
- RSA Data Security, Inc. makes no representations concerning either
- the merchantability of this software or the suitability of this
- software for any particular purpose. It is provided "as is"
- without express or implied warranty of any kind.
-
- These notices must be retained in any copies of any part of this
- documentation and/or software.
-*/
-
/* The following makes MD default to MD5 if it has not already been
defined with C compiler flags.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_nfold.c - Test nfold implementation correctness */
/*
- * lib/crypto/t_nfold.c
- *
* Copyright 1988, 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Program to test the correctness of nfold implementation.
- *
- * exit returns 0 ==> success
- * -1 ==> error
*/
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_pkcs5.c */
/*
- * lib/crypto/t_pkcs5.c
- *
* Copyright 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Test vectors for PBKDF2 (from PKCS #5v2), based on RFC 3211.
*/
+/* Test vectors for PBKDF2 (from PKCS #5v2), based on RFC 3211. */
+
#include <assert.h>
#include <stdio.h>
#include <string.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_prf.c */
/*
- * lib/crypto/t_prf.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* This file contains tests for the PRF code in Kerberos. IT reads an
* input file, and writes an output file. It is assumed that the
* output file will be diffed against expected output to see whether
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_prng.c */
/*
- * lib/crypto/t_prng.c
- *
* Copyright (C) 2001 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* This file contains tests for the PRNG code in Kerberos. It reads
* an input file, and writes an output file. It is assumed that the
* output file will be diffed against expected output to see whether
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_short.c */
/*
- * lib/crypto/crypto_tests/t_short.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Tests the outcome of decrypting overly short tokens. This program can be
* run under a tool like valgrind to detect bad memory accesses; when run
* normally by the test suite, it verifies that each operation returns
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/t_str2key.c */
/*
- * lib/crypto/crypto_tests/t_str2key.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* String-to-key test vectors
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/crypto_tests/vectors.c */
/*
- * lib/crypto/vectors.c
- *
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Test vectors for crypto code, matching data submitted for inclusion
* with RFC1510bis.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/aead.c */
/*
- * lib/crypto/aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/cf2.c */
/*
- * lib/crypto/cf2.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * Implement KRB_FX_CF2 function per
- *draft-ietf-krb-wg-preauth-framework-09. Take two keys and two
- *pepper strings as input and return a combined key.
+ */
+
+/*
+ * Implement KRB_FX_CF2 function per draft-ietf-krb-wg-preauth-framework-09.
+ * Take two keys and two pepper strings as input and return a combined key.
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_cbc.c */
/*
- * lib/crypto/krb/checksum/cbc.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * CBC checksum, which computes the ivec resulting from CBC encryption of the
- * input.
*/
+/* CBC checksum, which computes the ivec resulting from CBC encryption of the
+ * input. */
+
#include "crypto_int.h"
krb5_error_code
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_confounder.c */
/*
- * lib/crypto/krb/checksum/confounder.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Confounder checksum implementation, using tokens of the form:
* enc(xorkey, confounder | hash(confounder | data))
* where xorkey is the key XOR'd with 0xf0 bytes.
+/* lib/crypto/krb/checksum_dk_cmac.c */
/*
- * lib/crypto/krb/dk/checksum_cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_hmac_md5.c */
/*
- * lib/crypto/krb/checksum/hmac_md5.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Microsoft HMAC-MD5 and MD5-HMAC checksums (see RFC 4757):
* HMAC(KS, hash(msusage || input))
* KS is HMAC(key, "signaturekey\0") for HMAC-MD5, or just the key for
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/checksum_unkeyed.c - Unkeyed checksum handler */
/*
- * lib/crypto/krb/checksum/unkeyed.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Unkeyed hash checksum implementation.
*/
#include "crypto_int.h"
+/* lib/crypto/krb/cmac.c */
/*
- * lib/crypto/krb/checksum/cmac.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* Copyright (c) 2002 Naval Research Laboratory (NRL/CCS) */
/*
- * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
- *
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the software,
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
+ */
+
+/*
* Key combination function.
*
* If Key1 and Key2 are two keys to be combined, the algorithm to combine
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/crc32.c */
/*
- * lib/crypto/crc32/crc.c
- *
* Copyright 1990, 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * CRC-32/AUTODIN-II routines
*/
-
-#include "crypto_int.h"
-
-/* This table and block of comments are taken from code labeled: */
/*
* Copyright (C) 1986 Gary S. Brown. You may use this program, or
* code or tables extracted from it, as desired without restriction.
*/
+/*
+ *
+ * CRC-32/AUTODIN-II routines
+ */
+
+#include "crypto_int.h"
+
/* First, the polynomial itself and its table of feedback terms. The */
/* polynomial is */
/* X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+X^2+X^1+X^0 */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/crypto_length.c */
/*
- * lib/crypto/crypto_length.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/decrypt_iov.c */
/*
- * lib/crypto/encrypt_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/dk/dk_cmac.c - Derived-key enctype functions using CMAC */
+/* lib/crypto/krb/enc_dk_cmac.c - Derived-key enctype functions using CMAC */
/*
* Copyright 2008, 2009, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_dk_hmac.c */
/*
- * lib/crypto/dk/dk_aead.c
- *
* Copyright 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_old.c */
/*
- * lib/crypto/old/old_aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enc_raw.c */
/*
- * lib/crypto/raw/raw_aead.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/encrypt_iov.c */
/*
- * lib/crypto/encrypt_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/enctype_util.c */
/*
- * lib/crypto/krb/enctype_util.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- *
+ */
+
+/*
* krb5int_c_valid_enctype()
* krb5int_c_weak_enctype()
* krb5_c_enctype_compare()
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/keyblocks.c - Keyblock utility functions */
/*
- * lib/crypto/keyblocks.c
- *
* Copyright (C) 2002, 2005 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * krb5_init_keyblock- a function to set up
- * an empty keyblock
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/make_checksum_iov.c */
/*
- * lib/crypto/make_checksum_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf.c */
/*
- * lib/crypto/prf.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * This contains the implementation of krb5_c_prf, which will find
- *the enctype-specific PRF and then generate pseudo-random data. This
- *function yields krb5_c_prf_length bytes of output.
+ */
+
+/*
+ * This contains the implementation of krb5_c_prf, which will find the
+ * enctype-specific PRF and then generate pseudo-random data. This function
+ * yields krb5_c_prf_length bytes of output.
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_cmac.c - CMAC-based PRF */
/*
- * lib/crypto/krb/prf/cmac_prf.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- *simplified profile enctypes.
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_des.c - RFC 3961 DES-based PRF */
/*
- * lib/crypto/krb/prf//des_prf.c
- *
* Copyright (C) 2004, 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- * des-cbc-crc, des-cbc-md4, and des-cbc-md5 enctypes.
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_dk.c - RFC 3961 simplified profile PRF */
/*
- * lib/crypto/krb/prf/dk_prf.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * This file contains an implementation of the RFC 3961 PRF for
- *simplified profile enctypes.
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prf_rc4.c */
/*
- * lib/crypto/krb/prf/rc4_prf.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/prng_fortuna.c - Fortuna PRNG implementation */
+/* lib/crypto/krb/prng_fortuna.c - Fortuna PRNG implementation */
/*
* Copyright (c) 2005 Marko Kreen
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/prng_nss.c */
/*
- * prng_nss.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/prng_os.c - OS-native PRNG implementation */
+/* lib/crypto/krb/prng_os.c - OS-native PRNG implementation */
/*
* Copyright (C) 2011 by the Massachusetts Institute of Technology.
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/state.c */
/*
- * lib/crypto/state.c
- *
* Copyright (C) 2001 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/krb/prng/fortuna/t_fortuna.c - Fortuna test program */
+/* lib/crypto/krb/t_fortuna.c - Fortuna test program */
/*
* Copyright (c) 2007 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/krb/verify_checksum_iov.c */
/*
- * lib/crypto/verify_checksum_iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/des/des_oldapis.c */
/*
- * lib/crypto/openssl/des/des_oldapis.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/des/string2key.c */
/*
- * lib/crypto/openssl/des/string2key.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/aes.c
- *
+/* lib/crypto/nss/enc_provider/aes.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/camellia.c
- *
+/* lib/crypto/nss/enc_provider/camellia.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/des.c
- *
+/* lib/crypto/nss/enc_provider/des.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/des3.c
- *
+/* lib/crypto/nss/enc_provider/des3.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/enc_gen.c
- *
+/* lib/crypto/nss/enc_provider/enc_gen.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/enc_provider/rc4.c
- *
+/* lib/crypto/nss/enc_provider/rc4.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_gen.c
- *
+/* lib/crypto/nss/hash_provider/hash_gen.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_gen.h
- *
+/* lib/crypto/nss/hash_provider/hash_gen.h */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_md5.c
- *
+/* lib/crypto/nss/hash_provider/hash_md5.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hash_provider/hash_sha1.c
- *
+/* lib/crypto/nss/hash_provider/hash_sha1.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/hmac.c
- *
+/* lib/crypto/nss/hmac.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/md4/md4.c */
/*
- * lib/crypto/md4/md4.c
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
+ *
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
+ *
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
/*
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
#include "k5-int.h"
#include "rsa-md4.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/nss/md4/rsa-md4.h */
/*
- * lib/crypto/md4/rsa-md4.h
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
+ */
+/*
+ * Copyright (C) 1990, RSA Data Security, Inc. All rights reserved.
*
+ * License to copy and use this software is granted provided that
+ * it is identified as the "RSA Data Security, Inc. MD4 Message
+ * Digest Algorithm" in all material mentioning or referencing this
+ * software or this function.
*
- * RSA MD4 header file, with Kerberos/STDC additions.
+ * License is also granted to make and use derivative works
+ * provided that such works are identified as "derived from the RSA
+ * Data Security, Inc. MD4 Message Digest Algorithm" in all
+ * material mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning
+ * either the merchantability of this software or the suitability
+ * of this software for any particular purpose. It is provided "as
+ * is" without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
*/
+/* RSA MD4 header file, with Kerberos/STDC additions */
+
#ifndef __KRB5_RSA_MD4_H__
#define __KRB5_RSA_MD4_H__
**********************************************************************
*/
-/*
-**********************************************************************
-** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
-** **
-** License to copy and use this software is granted provided that **
-** it is identified as the "RSA Data Security, Inc. MD4 Message **
-** Digest Algorithm" in all material mentioning or referencing this **
-** software or this function. **
-** **
-** License is also granted to make and use derivative works **
-** provided that such works are identified as "derived from the RSA **
-** Data Security, Inc. MD4 Message Digest Algorithm" in all **
-** material mentioning or referencing the derived work. **
-** **
-** RSA Data Security, Inc. makes no representations concerning **
-** either the merchantability of this software or the suitability **
-** of this software for any particular purpose. It is provided "as **
-** is" without express or implied warranty of any kind. **
-** **
-** These notices must be retained in any copies of any part of this **
-** documentation and/or software. **
-**********************************************************************
-*/
-
/* Data structure for MD4 (Message Digest) computation */
typedef struct {
krb5_ui_4 i[2]; /* number of _bits_ handled mod 2^64 */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/nss_gen.h
- *
+/* lib/crypto/nss/nss_gen.h */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/nss/pbkdf2.c
- *
+/* lib/crypto/nss/pbkdf2.c */
+/*
* Copyright (c) 2010 Red Hat, Inc.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/des_oldapis.c */
/*
- * lib/crypto/openssl/des/des_oldapis.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/f_parity.c */
/*
- * lib/crypto/openssl/des/f_parity.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/des/string2key.c */
/*
- * lib/crypto/openssl/des/string2key.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/enc_provider/aes.c */
/*
- * lib/crypto/openssl/enc_provider/aes.c
- *
* Copyright (C) 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/enc_provider/camellia.c */
/*
- * lib/crypto/openssl/enc_provider/camellia.c
- *
* Copyright (C) 2003, 2007, 2008, 2009, 2010 by the Massachusetts Institute of
* Technology. All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/des.c
- *
+/* lib/crypto/openssl/enc_provider/des.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/des3.c
- *
+/* lib/crypto/openssl/enc_provider/des3.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/enc_provider/rc4.c
- *
- * #include STD_DISCLAIMER
- *
+/* lib/crypto/openssl/enc_provider/rc4.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* or implied warranty.
*/
-/* arcfour.c
- *
+/*
* Copyright (c) 2000 by Computer Science Laboratory,
* Rensselaer Polytechnic Institute
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/hash/yhash.h
- *
+/* lib/crypto/openssl/hash_provider/hash_sha1.c */
+/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/crypto/openssl/hmac.c
- *
+/* lib/crypto/openssl/hmac.c */
+/*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/init.c - Module init and cleanup functions */
/*
- * lib/crypto/openssl/init.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * OpenSSL back-end library init functions
*/
#include "crypto_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/crypto/openssl/pbkdf2.c */
/*
- * lib/crypto/openssl/pbkdf2.c
- *
* Copyright 2002, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Implementation of PBKDF2 from RFC 2898.
- * Not currently used; likely to be used when we get around to AES support.
*/
#include "crypto_int.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#ifndef GSSAPI_EXT_H_
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/generic/oid_ops.c */
/*
- * lib/gssapi/generic/oid_ops.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
- * oid_ops.c - GSS-API V2 interfaces to manipulate OIDs
+ * Copyright 1993 by OpenVision Technologies, Inc.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software
+ * and its documentation for any purpose is hereby granted without fee,
+ * provided that the above copyright notice appears in all copies and
+ * that both that copyright notice and this permission notice appear in
+ * supporting documentation, and that the name of OpenVision not be used
+ * in advertising or publicity pertaining to distribution of the software
+ * without specific, written prior permission. OpenVision makes no
+ * representations about the suitability of this software for any
+ * purpose. It is provided "as is" without express or implied warranty.
+ *
+ * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
+ * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
*/
+/* GSS-API V2 interfaces to manipulate OIDs */
+
#include "gssapiP_generic.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
return GSS_S_COMPLETE;
}
-/*
- * Copyright 1993 by OpenVision Technologies, Inc.
- *
- * Permission to use, copy, modify, distribute, and sell this software
- * and its documentation for any purpose is hereby granted without fee,
- * provided that the above copyright notice appears in all copies and
- * that both that copyright notice and this permission notice appear in
- * supporting documentation, and that the name of OpenVision not be used
- * in advertising or publicity pertaining to distribution of the software
- * without specific, written prior permission. OpenVision makes no
- * representations about the suitability of this software for any
- * purpose. It is provided "as is" without express or implied warranty.
- *
- * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
- * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
OM_uint32
generic_gss_copy_oid_set(OM_uint32 *minor_status,
const gss_OID_set_desc * const oidset,
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * stub functions for those without the hash library.
- */
+/* Stub functions for those without the hash library */
#include "gssapiP_generic.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 by OpenVision Technologies, Inc.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 by OpenVision Technologies, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/canon_name.c */
/*
- * lib/gssapi/krb5/canon_name.c
- *
* Copyright 1997 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "gssapiP_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/duplicate_name.c */
/*
- * lib/gssapi/krb5/duplicate_name.c
- *
* Copyright 1997,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "gssapiP_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/export_name.c */
/*
- * lib/gssapi/krb5/export_name.c
- *
* Copyright 1997, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "gssapiP_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/export_sec_context.c - Externalize a security context */
/*
- * lib/gssapi/krb5/export_sec_context.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * export_sec_context.c - Externalize the security context.
- */
#include "gssapiP_krb5.h"
#ifndef LEAN_CLIENT
OM_uint32
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
#include "gssapiP_krb5.h"
exts->iakerb.conv = &ctx->conv;
}
-/*
- *
- */
OM_uint32
iakerb_gss_accept_sec_context(OM_uint32 *minor_status,
gss_ctx_id_t *context_handle,
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/import_sec_context.c - Internalize the security context */
/*
- * lib/gssapi/krb5/import_sec_context.c
- *
* Copyright 1995,2004,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * import_sec_context.c - Internalize the security context.
- */
#include "gssapiP_krb5.h"
/* for serialization initialization functions */
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * Copyright 2000, 2002, 2003, 2007, 2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2000, 2002, 2003, 2007, 2008 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 by OpenVision Technologies, Inc.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 by OpenVision Technologies, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/inq_names.c - Return nametypes supported by krb5 mech */
/*
- * lib/gssapi/krb5/inq_names.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * inq_names.c - Return set of nametypes supported by the KRB5 mechanism.
- */
#include "gssapiP_krb5.h"
OM_uint32
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/k5sealiov.c */
/*
- * lib/gssapi/krb5/k5sealiov.c
- *
* Copyright 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/k5sealv3.c */
/*
- * lib/gssapi/krb5/k5sealv3.c
- *
* Copyright 2003,2004,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
+
/* draft-ietf-krb-wg-gssapi-cfx-05 */
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/k5sealv3iov.c */
/*
- * lib/gssapi/krb5/k5sealv3iov.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/k5unsealiov.c */
/*
- * lib/gssapi/krb5/k5unsealiov.c
- *
* Copyright 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/lucid_context.c */
/*
- * lib/gssapi/krb5/lucid_context.c
- *
* Copyright 2004, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * lucid_context.c - Externalize a "lucid" security
- * context from a krb5_gss_ctx_id_rec structure.
- */
+/* Externalize a "lucid" security context from a krb5_gss_ctx_id_rec
+ * structure. */
#include "gssapiP_krb5.h"
#include "gssapi_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/naming_exts.c */
/*
- * lib/gssapi/krb5/naming_exts.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/prf.c */
/*
- * lib/gssapi/krb5/prf.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/rel_oid.c - Release an OID */
/*
- * lib/gssapi/krb5/rel_oid.c
- *
* Copyright 1995, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * rel_oid.c - Release an OID.
- */
#include "gssapiP_krb5.h"
OM_uint32 krb5_gss_internal_release_oid (OM_uint32 *, /* minor_status */
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
#include "gssapiP_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/ser_sctx.c - [De]serialization of security context */
/*
- * lib/gssapi/krb5/ser_sctx.c
- *
* Copyright 1995, 2004, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_sctx.c - Handle [de]serialization of GSSAPI security context.
- */
#include "k5-int.h"
#include "gssapiP_krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/set_allowable_enctypes.c */
/*
- * lib/gssapi/krb5/set_allowable_enctypes.c
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* krb5_gss_set_allowable_enctypes()
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/set_ccache.c */
/*
- * lib/gssapi/krb5/set_ccache.c
- *
* Copyright 1999, 2003 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Set ccache name used by gssapi, and optionally obtain old ccache
* name. Caller should not free returned name.
*/
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* lib/gssapi/krb5/store_cred.c */
/*
- * lib/gssapi/krb5/store_cred.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <assert.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "gssapiP_krb5.h"
-/*
- * Check to see whether or not a GSSAPI krb5 credential is valid. If
- * it is not, return an error.
- */
+/* Check to see whether or not a GSSAPI krb5 credential is valid. If
+ * it is not, return an error. */
OM_uint32
krb5_gss_validate_cred_1(OM_uint32 *minor_status, gss_cred_id_t cred_handle,
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 by OpenVision Technologies, Inc.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1996 by Sun Microsystems, Inc.
* PERFORMANCE OF THIS SOFTWARE.
*/
-/*
- * glue routine for gss_acquire_cred_impersonate_name
- */
+/* Glue routine for gss_acquire_cred_impersonate_name */
#include "mglueP.h"
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_delete_name_attribute
- */
+/* Glue routine for gss_delete_name_attribute */
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_get_name_attribute
- */
+/* Glue routine for gss_get_name_attribute */
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_inquire_sec_context_by_oid
- */
+/* Glue routine for gss_inquire_sec_context_by_oid */
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_inquire_cred_by_oid
- */
+/* Glue routine for gss_inquire_cred_by_oid */
#include "mglueP.h"
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_inquire_name
- */
+/* Glue routine for gss_inquire_name */
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_map_name_to_any
- */
+/* Glue routine for gss_map_name_to_any */
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gssspi_mech_invoke
- */
+/* Glue routine for gssspi_mech_invoke */
#include "mglueP.h"
#ifdef HAVE_STDLIB_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/mechglue/g_mechattr.c */
/*
- * src/lib/gssapi/mechglue/g_mechattr.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
+
#include "mglueP.h"
static int
/* #pragma ident "@(#)g_oid_ops.c 1.11 98/01/22 SMI" */
+/* lib/gssapi/mechglue/g_oid_ops.c - GSSAPI V2 interfaces to manipulate OIDs */
/*
- * lib/gssapi/mechglue/g_oid_ops.c
- *
* Copyright 1995, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- */
-
-/*
- * oid_ops.c - GSS-API V2 interfaces to manipulate OIDs
*/
#include "mglueP.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_pseudo_random
- */
+/* Glue routine for gss_pseudo_random */
#include "mglueP.h"
* PERFORMANCE OF THIS SOFTWARE.
*/
-/*
- * glue routine for gss_release_cred
- */
+/* Glue routine for gss_release_cred */
#include "mglueP.h"
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_release_any_name_mapping
- */
+/* Glue routine for gss_release_any_name_mapping */
#include "mglueP.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/gssapi/mechglue/g_saslname.c */
/*
- * src/lib/gssapi/mechglue/g_saslname.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
+
#include "mglueP.h"
#include <krb5/krb5.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_set_sec_context_option
- */
+/* Glue routine for gss_set_sec_context_option */
#include "mglueP.h"
#ifdef HAVE_STDLIB_H
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gssspi_set_cred_option
- */
+/* Glue routine for gssspi_set_cred_option */
#include "mglueP.h"
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * glue routine for gss_set_name_attribute
- */
+/* Glue routine for gss_set_name_attribute */
#include "mglueP.h"
+/* lib/gssapi/mechglue/g_set_neg_mechs.c - Glue for gss_set_neg_mechs */
/*
- * lib/gssapi/mechglue/g_set_neg_mechs.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Glue routine for gss_set_neg_mechs.
*/
#include "mglueP.h"
-/* #ident "@(#)mglueP.h 1.2 96/01/18 SMI" */
+/* lib/gssapi/mechglue/mglueP.h */
/*
- * This header contains the private mechglue definitions.
- *
* Copyright (c) 1995, by Sun Microsystems, Inc.
* All rights reserved.
*/
+/* This header contains the private mechglue definitions. */
+
#ifndef _GSS_MECHGLUEP_H
#define _GSS_MECHGLUEP_H
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/admin.h */
/*
- * lib/kadm5/admin.h
- *
* Copyright 2001, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/alt_prof.c */
/*
- * lib/kadm/alt_prof.c
- *
* Copyright 1995,2001,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-/*
- * alt_prof.c - Implement alternate profile file handling.
- */
+/* Implement alternate profile file handling. */
#include "fake-addrinfo.h"
#include "k5-int.h"
#include <kadm5/admin.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/logger.c */
/*
- * lib/kadm/logger.c
- *
* Copyright 1995, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/* KADM5 wants non-syslog log files to contain syslog-like entries */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/kadm5_hook.c */
/*
- * lib/kadm5/srv/kadm5_hook.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual.c */
/*
- * lib/kadm5/srv/pwqual.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Consumer interface for password quality plugins.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_dict.c */
/*
- * lib/kadm5/srv/pwqual_dict.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Dictionary initialization and lookup code is (see top-level NOTICE file for
- * license):
- *
+ */
+/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
- *
- *
- * Password quality module to look up passwords within the realm dictionary.
*/
+/* Password quality module to look up passwords within the realm dictionary. */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include <sys/types.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_empty.c */
/*
- * lib/kadm5/srv/pwqual_empty.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Password quality module to reject empty passwords.
*/
+/* Password quality module to reject empty passwords */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include "server_internal.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_hesiod.c */
/*
- * lib/kadm5/srv/pwqual_hesiod.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Password quality module to check passwords against GECOS fields of Hesiod
* passwd information, if the tree is compiled with Hesiod support.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/pwqual_princ.c */
/*
- * lib/kadm5/srv/pwqual_princ.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Password quality module to check passwords against principal components.
*/
+/* Password quality module to check passwords against principal components */
+
#include "k5-platform.h"
#include <krb5/pwqual_plugin.h>
#include "server_internal.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/server_acl.c */
/*
- * lib/kadm5/srv/server_acl.c
- *
* Copyright 1995-2004, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * srv_acl.c - Handle Kerberos ACL related functions.
- */
#include <stdio.h>
#include <syslog.h>
#include <sys/param.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/srv/server_acl.h */
/*
- * lib/kadm5/srv/server_acl.h
- *
* Copyright 1995-2004, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#ifndef SERVER_ACL_H__
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * check_against_policy code is originally (see top-level NOTICE file for
- * license):
- *
+ */
+/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kadm5/str_conv.c */
/*
- * lib/kadm/str_conv.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * str_conv.c - Convert between strings and Kerberos internal data.
- */
+/* Convert between strings and Kerberos internal data. */
/*
* Table of contents:
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/decrypt_key.c */
/*
- * lib/kdb/decrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/encrypt_key.c */
/*
- * lib/kdb/encrypt_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kdb_encrypt_key(), krb5_kdb_decrypt_key functions
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb5int.h - Private header for kdb5 library */
/*
- * lib/kdb5/kdb5int.h
- *
* Copyright (C) 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Private header file for the kdb5 library for internal functions
*/
#ifndef __KDB5INT_H__
}
-/*
- */
+/* Initialize *u with a copy of d. Return 0 on success, -1 on failure. */
static int
data_to_utf8str(utf8str_t *u, krb5_data d)
{
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_cpw.c */
/*
- * lib/kdb/kdb_cpw.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/kdb_default.c */
/*
- * lib/kdb/kdb_helper.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/kdb/keytab.c */
/*
- * kadmin/v5server/keytab.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
#include <string.h>
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_decode.c */
/*
- * src/lib/krb5/asn.1/asn1_decode.c
- *
* Copyright 1994, 2003 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_decode.h */
/*
- * src/lib/krb5/asn.1/asn1_decode.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_encode.c */
/*
- * src/lib/krb5/asn.1/asn1_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_encode.h */
/*
- * src/lib/krb5/asn.1/asn1_encode.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_get.c */
/*
- * src/lib/krb5/asn.1/asn1_get.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_get.h */
/*
- * src/lib/krb5/asn.1/asn1_get.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode.c
- *
* Copyright 1994, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode.h */
/*
- * src/lib/krb5/asn.1/asn1_k_decode.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_fast.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_fast.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_kdc.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_kdc.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_macros.h */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_macros.h
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_decode_sam.c */
/*
- * src/lib/krb5/asn.1/asn1_k_decode_sam.c
- *
* Copyright 1994, 2007, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_encode.c */
/*
- * src/lib/krb5/asn.1/asn1_k_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_k_encode.h */
/*
- * src/lib/krb5/asn.1/asn1_k_encode.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_make.c */
/*
- * src/lib/krb5/asn.1/asn1_make.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_make.h */
/*
- * src/lib/krb5/asn.1/asn1_make.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_misc.c */
/*
- * src/lib/krb5/asn.1/asn1_misc.c
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1_misc.h */
/*
- * src/lib/krb5/asn.1/asn1_misc.h
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/asn1glue.h */
/*
- * lib/krb5/asn.1/asn1glue.h
- *
* Copyright 1989,1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Header file for some glue functions (macros, mostly)
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode.c */
/*
- * src/lib/krb5/asn.1/krb5_decode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode_kdc.c */
/*
- * src/lib/krb5/asn.1/krb5_decode_kdc.c
- *
* Copyright 1994, 2008. 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_decode_macros.h */
/*
- * src/lib/krb5/asn.1/krb5_decode_macros.h
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/asn.1/krb5_encode.c */
/*
- * src/lib/krb5/asn.1/krb5_encode.c
- *
* Copyright 1994, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc-int.h */
/*
- * lib/krb5/ccache/file/cc-int.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * This file contains constant and function declarations used in the
- * file-based credential cache routines.
*/
+/* This file contains constant and function declarations used in the
+ * file-based credential cache routines. */
+
#ifndef __KRB5_CCACHE_H__
#define __KRB5_CCACHE_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_file.c - File-based credential cache */
/*
- * lib/krb5/ccache/cc_file.c
- *
* Copyright 1990,1991,1992,1993,1994,2000,2004,2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * implementation of file-based credentials cache
*/
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_keyring.c */
/*
- * lib/krb5/ccache/cc_keyring.c
- *
* Copyright (c) 2006
* The Regents of the University of Michigan
* ALL RIGHTS RESERVED
* OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN
* IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGES.
- *
*/
/*
- * Copyright 1990,1991,1992,1993,1994,2000,2004 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,1992,1993,1994,2000,2004 Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Original stdio support copyright 1995 by Cygnus Support.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_memory.c - Memory-based credential cache */
/*
- * lib/krb5/ccache/cc_memory.c
- *
- * Copyright 1990,1991,2000,2004,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2000,2004,2008 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * implementation of memory-based credentials cache
*/
+
#include "cc-int.h"
#include <errno.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_mslsa.c */
/*
- * lib/krb5/ccache/cc_mslsa.c
- *
* Copyright 2007 Secure Endpoints Inc.
*
* Copyright 2003,2004 by the Massachusetts Institute of Technology.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cc_retr.c */
/*
- * lib/krb5/ccache/cc_retr.c
- *
* Copyright 1990,1991,1999,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccapi/stdcc.c - ccache API support functions */
/*
- * stdcc.c - additions to the Kerberos 5 library to support the memory
- * credentical cache API
- *
- * Written by Frank Dabek July 1998
- * Updated by Jeffrey Altman June 2006
- *
- * Copyright 1998, 1999, 2006, 2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1998, 1999, 2006, 2008 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
+ * Written by Frank Dabek July 1998
+ * Updated by Jeffrey Altman June 2006
*/
#if defined(_WIN32) || defined(USE_CCAPI)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccbase.c - Registration functions for ccache */
/*
- * lib/krb5/ccache/ccbase.c
- *
* Copyright 1990,2004,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Registration functions for ccache.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/cccursor.c */
/*
- * lib/krb5/ccache/cccursor.c
- *
* Copyright 2006, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* cursor for sequential traversal of ccaches
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccdefault.c - Find default credential cache */
/*
- * lib/krb5/ccache/ccdefault.c
- *
* Copyright 1990, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Find default credential cache
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccdefops.c */
/*
- * lib/krb5/ccache/ccdefops.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Default credentials cache determination. This is a separate file
- * so that the user can more easily override it.
*/
+/* Default credentials cache determination. This is a separate file
+ * so that the user can more easily override it. */
+
#include "k5-int.h"
#if defined(USE_CCAPI)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ccfns.c */
/*
- * lib/krb5/ccache/ccfns.c
- *
* Copyright 2000, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/fcc.h */
/*
- * lib/krb5/ccache/file/fcc.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/scc.h */
/*
- * lib/krb5/ccache/stdio/scc.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/ser_cc.c - Serialize credential cache context */
/*
- * lib/krb5/ccache/ser_rc.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_rcdfl.c - Serialize replay cache context.
- */
#include "k5-int.h"
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_cc.c */
/*
- * lib/krb5/ccache/scc_test.c
- *
* Copyright 2000 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
-
#include "k5-int.h"
#include <stdio.h>
#include <stdlib.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_cccursor.c */
/*
- * lib/krb5/ccache/t_cccursor.c
- *
* Copyright 2006 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "autoconf.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_memory.c */
/*
- * lib/krb5/ccache/file/mcc_test.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
-
#include "mcc.h"
krb5_data client1 = {
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/ccache/t_stdio.c */
/*
- * lib/krb5/ccache/stdio/scc_test.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
-
#include "scc.h"
krb5_data client1 = {
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/error_tables/init_ets.c - Initialize krb5 library error tables */
/*
- * lib/krb5/error_tables/init_ets.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Initialize Kerberos library error tables.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt-int.h */
/*
- * lib/krb5/keytab/kt-int.h
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* This file contains constant and function declarations used in the
* file-based credential cache routines.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_file.c */
/*
- * lib/krb5/keytab/kt_file.c
- *
* Copyright 1990,1991,1995,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
+ */
+/*
+ * Copyright (c) Hewlett-Packard Company 1991
+ * Released to the Massachusetts Institute of Technology for inclusion
+ * in the Kerberos source code distribution.
+ *
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
*
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
*/
#ifndef LEAN_CLIENT
&krb5_ktfile_ser_entry
};
+/* Formerly lib/krb5/keytab/file/ktf_util.c */
+
/*
- * lib/krb5/keytab/file/ktf_util.c
- *
- * Copyright (c) Hewlett-Packard Company 1991
- * Released to the Massachusetts Institute of Technology for inclusion
- * in the Kerberos source code distribution.
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
- * your software as modified software and not distribute it in such a
- * fashion that it might be confused with the original M.I.T. software.
- * M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
* This function contains utilities for the file based implementation of
* the keytab. There are no public functions in this file.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_memory.c */
/*
- * lib/krb5/keytab/kt_memory.c
- *
* Copyright 2007 by Secure Endpoints Inc.
*
* Permission is hereby granted, free of charge, to any person
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/kt_srvtab.c */
/*
- * lib/krb5/keytab/srvtab/kts_resolv.c
- *
* Copyright 1990,1991,2002,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
+/*
+ * Copyright (c) Hewlett-Packard Company 1991
+ * Released to the Massachusetts Institute of Technology for inclusion
+ * in the Kerberos source code distribution.
+ *
+ * Copyright 1990,1991 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
#include "k5-int.h"
#include <stdio.h>
0
};
-/*
- * formerly: lib/krb5/keytab/srvtab/kts_util.c
- *
- * Copyright (c) Hewlett-Packard Company 1991
- * Released to the Massachusetts Institute of Technology for inclusion
- * in the Kerberos source code distribution.
- *
- * Copyright 1990,1991 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
- *
- * Export of this software from the United States of America may
- * require a specific license from the United States Government.
- * It is the responsibility of any person or organization contemplating
- * export to obtain such a license before exporting.
- *
- * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
- * distribute this software and its documentation for any purpose and
- * without fee is hereby granted, provided that the above copyright
- * notice appear in all copies and that both that copyright notice and
- * this permission notice appear in supporting documentation, and that
- * the name of M.I.T. not be used in advertising or publicity pertaining
- * to distribution of the software without specific, written prior
- * permission. Furthermore if you modify this software you must label
- * your software as modified software and not distribute it in such a
- * fashion that it might be confused with the original M.I.T. software.
- * M.I.T. makes no representations about the suitability of
- * this software for any purpose. It is provided "as is" without express
- * or implied warranty.
- *
- *
- * This function contains utilities for the srvtab based implementation
- * of the keytab. There are no public functions in this file.
- */
+/* formerly: lib/krb5/keytab/srvtab/kts_util.c */
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktadd.c */
/*
- * lib/krb5/keytab/ktadd.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kt_add_entry()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktbase.c - Registration functions for keytab */
/*
- * lib/krb5/keytab/ktbase.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+/*
* Copyright 2007 by Secure Endpoints Inc.
*
* Permission is hereby granted, free of charge, to any person
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
- *
- * Registration functions for keytab.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktdefault.c */
/*
- * lib/krb5/keytab/ktdefault.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Get a default keytab.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktfns.c */
/*
- * lib/krb5/keytab/ktfns.c
- *
* Copyright 2001,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktfr_entry.c */
/*
- * lib/krb5/keytab/ktfr_entry.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kt_free_entry()
*/
+
#ifndef LEAN_CLIENT
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/ktremove.c */
/*
- * lib/krb5/keytab/ktremove.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kt_remove_entry()
*/
+
#ifndef LEAN_CLIENT
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/read_servi.c */
/*
- * lib/krb5/keytab/read_servi.c
- *
* Copyright 1990,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* This routine is designed to be passed to krb5_rd_req.
* It is a convenience function that reads a key out of a keytab.
* It handles all of the opening and closing of the keytab
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/keytab/t_keytab.c - Tests for keytab interface */
/*
- * lib/krb5/keytab/t_keytab.c
- *
* Copyright (C) 2007 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * A set of tests for the keytab interface
*/
-
#include "k5-int.h"
#include "autoconf.h"
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_comp.c */
/*
- * lib/krb5/krb/addr_comp.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_address_compare()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_order.c */
/*
- * lib/krb5/krb/addr_order.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_address_order()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/addr_srch.c */
/*
- * lib/krb5/krb/addr_srch.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_address_search()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/allow_weak.c */
/*
- * lib/krb5/krb/allow_weak.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Implements krb5_allow_weak_crypto.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* lib/krb5/krb/auth_con.c */
/*
- * lib/krb5/krb/auth_con.c
- *
* Copyright 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata.h */
/*
- * lib/krb5/krb/authdata.h
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * <<< Description >>>
*/
+
#ifndef KRB_AUTHDATA_H
#define KRB_AUTHDATA_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata_dec.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_decode_authdata_container()
- * krb5_verify_authdata_kdc_issued()
- *
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/authdata_enc.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_encode_authdata_container()
- * krb5_make_authdata_kdc_issued()
- *
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/bld_pr_ext.c */
/*
- * lib/krb5/krb/bld_pr_ext.c
- *
* Copyright 1991, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Build a principal from a list of lengths and strings
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/bld_princ.c - Build a principal from a list of strings */
/*
- * lib/krb5/krb/bld_princ.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Build a principal from a list of strings
*/
#include <stdarg.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/brand.c */
/*
- * lib/krb5/krb/brand.c
- *
* Copyright (C) 2004 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/chk_trans.c */
/*
- * lib/krb5/krb/chk_trans.c
- *
* Copyright 2001, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_check_transited_list()
*/
+
#include "k5-int.h"
#include <stdarg.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/conv_princ.c */
/*
- * lib/krb5/krb/conv_princ.c
- *
* Copyright 1992 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Build a principal from a V4 specification, or separate a V5
* principal into name, instance, and realm.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_addrs.c */
/*
- * lib/krb5/krb/copy_addrs.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_addresses()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_athctr.c */
/*
- * lib/krb5/krb/copy_athctr.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_authenticator()
- * krb5_auth_con_getauthenticator()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_auth.c */
/*
- * lib/krb5/krb/copy_auth.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_merge_authdata()
- * krb5_copy_authdata()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_cksum.c */
/*
- * lib/krb5/krb/copy_cksum.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_checksum()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_creds.c */
/*
- * lib/krb5/krb/copy_creds.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_cred()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_ctx.c */
/*
- * lib/krb5/krb/copy_ctx.c
- *
* Copyright 1994,1999,2000, 2002, 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_copy_contex()
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_data.c */
/*
- * lib/krb5/krb/copy_data.c
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* krb5_copy_data()
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_key.c */
/*
- * lib/krb5/krb/copy_key.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_keyblock()
*/
#include "k5-int.h"
-/*
- * Copy a keyblock, including alloc'ed storage.
- */
+/* Copy a keyblock, including alloc'ed storage. */
krb5_error_code KRB5_CALLCONV
-krb5_copy_keyblock(krb5_context context, const krb5_keyblock *from, krb5_keyblock **to)
+krb5_copy_keyblock(krb5_context context, const krb5_keyblock *from,
+ krb5_keyblock **to)
{
return krb5int_c_copy_keyblock(context, from, to);
}
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_princ.c */
/*
- * lib/krb5/krb/copy_princ.c
- *
* Copyright 1990, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_principal()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/copy_tick.c */
/*
- * lib/krb5/krb/copy_tick.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_ticket()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/cp_key_cnt.c */
/*
- * lib/krb5/krb/cp_key_cnt.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_copy_keyblock()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/decode_kdc.c */
/*
- * lib/krb5/krb/decode_kdc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_decode_kdc_rep() function.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/decrypt_tk.c */
/*
- * lib/krb5/krb/decrypt_tk.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_decrypt_tkt_part() function.
*/
#include "k5-int.h"
-/* A Bison parser, made by GNU Bison 1.875d. */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
+/*
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* A Bison parser, made by GNU Bison 1.875d. */
+/* Skeleton parser for Yacc-like parsing with Bison. */
+
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/enc_helper.c */
/*
- * lib/krb5/krb/enc_helper.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * krb5_encrypt_helper()
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/enc_keyhelper.c */
/*
- * lib/krb5/krb/enc_keyhelper.c
- *
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/encode_kdc.c */
/*
- * lib/krb5/krb/encode_kdc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_encode_kdc_rep() function.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/encrypt_tk.c */
/*
- * lib/krb5/krb/encrypt_tk.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_encrypt_tkt_part() routine.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/etype_list.c */
/*
- * lib/krb5/krb/etype_list.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Helper functions related to zero-terminated lists of enctypes.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fast.c */
/*
- * lib/krb5/krb/fast.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
#include <k5-int.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fast.h */
/*
- * lib/krb5/krb/fast.h
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
+
#ifndef KRB_FAST_H
#define KRB_FAST_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/fwd_tgt.c */
/*
- * lib/krb5/krb/get_in_tkt.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gc_via_tkt.c */
/*
- * lib/krb5/krb/gc_via_tgt.c
- *
* Copyright 1990,1991,2007-2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Given a tkt, and a target cred, get it.
* Assumes that the kdc_rep has been decrypted.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_save_subkey.c */
/*
- * lib/krb5/krb/gen_save_subkey.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5int_generate_and_save_subkey()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_seqnum.c */
/*
- * lib/krb5/krb/gen_seqnum.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Routine to automatically generate a starting sequence number.
* We do this by getting a random key and encrypting something with it,
* then taking the output and slicing it up.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gen_subkey.c - Generate a subsession key based on input key */
/*
- * lib/krb5/krb/gen_subkey.c
- *
* Copyright 1991, 2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Routine to automatically generate a subsession key based on an input key.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/get_creds.c */
/*
- * lib/krb5/krb/get_creds.c
- *
* Copyright 1990, 2008, 2010 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_get_credentials()
*/
-
-
/*
- Attempts to use the credentials cache or TGS exchange to get an additional
- ticket for the
- client identified by in_creds->client, the server identified by
- in_creds->server, with options options, expiration date specified in
- in_creds->times.endtime (0 means as long as possible), session key type
- specified in in_creds->keyblock.enctype (if non-zero)
-
- Any returned ticket and intermediate ticket-granting tickets are
- stored in ccache.
-
- returns errors from encryption routines, system errors
-*/
+ * Attempts to use the credentials cache or TGS exchange to get an additional
+ * ticket for the client identified by in_creds->client, the server identified
+ * by in_creds->server, with options options, expiration date specified in
+ * in_creds->times.endtime (0 means as long as possible), session key type
+ * specified in in_creds->keyblock.enctype (if non-zero)
+ *
+ * Any returned ticket and intermediate ticket-granting tickets are stored in
+ * ccache.
+ *
+ * Returns errors from encryption routines, system errors.
+ */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/get_in_tkt.c */
/*
- * lib/krb5/krb/get_in_tkt.c
- *
* Copyright 1990,1991, 2003, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#include <string.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/gic_keytab.c */
/*
- * lib/krb5/krb/gic_keytab.c
- *
* Copyright (C) 2002, 2003, 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/in_tkt_sky.c */
/*
- * lib/krb5/krb/in_tkt_sky.c
- *
* Copyright 1990,1991, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_get_in_tkt_with_skey()
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/init_ctx.c */
/*
- * lib/krb5/krb/init_ctx.c
- *
* Copyright 1994,1999,2000, 2002, 2003, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_init_contex()
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/init_keyblock.c - Set up an empty keyblock */
/*
- * lib/krb5/krb/init_keyblock.c
- *
* Copyright (C) 2002 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * krb5_init_keyblock- a function to set up
- * an empty keyblock
*/
-
#include "k5-int.h"
#include <assert.h>
krb5_init_keyblock(krb5_context context, krb5_enctype enctype,
size_t length, krb5_keyblock **out)
{
- return krb5int_c_init_keyblock (context, enctype, length, out);
+ return krb5int_c_init_keyblock(context, enctype, length, out);
}
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/int-proto.h - Prototypes for libkrb5 internal functions */
/*
- * lib/krb5/krb/int-proto.h
- *
* Copyright 1990,1991 the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Function prototypes for Kerberos V5 library internal functions.
*/
-
#ifndef KRB5_INT_FUNC_PROTO__
#define KRB5_INT_FUNC_PROTO__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kdc_rep_dc.c */
/*
- * lib/krb5/krb/kdc_rep_dc.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kdc_rep_decrypt_proc()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kerrs.c - Error message functions */
/*
- * lib/krb5/krb/kerrs.c
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * error-message functions
*/
+
#include <stdarg.h>
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/kfree.c */
/*
- * lib/krb5/free/f_addr.c
- *
* Copyright 1990-1998, 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_free_address()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/libdef_parse.c */
/*
- * lib/krb5/krb/libdef_parse.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* krb5int_libdefault_string()
* krb5int_libdefault_boolean()
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_error.c */
/*
- * lib/krb5/krb/mk_error.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mk_error() routine.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_priv.c */
/*
- * lib/krb5/krb/mk_priv.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mk_priv()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_rep.c */
/*
- * lib/krb5/krb/mk_rep.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mk_rep()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_req.c */
/*
- * lib/krb5/krb/mk_req.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mk_req() routine.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_req_ext.c */
/*
- * lib/krb5/krb/mk_req_ext.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* krb5_mk_req_extended()
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/mk_safe.c */
/*
- * lib/krb5/krb/mk_safe.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mk_safe()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pac.c */
/*
- * lib/krb5/krb/pac.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pac_sign.c */
/*
- * lib/krb5/krb/pac.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5int_pac_sign()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/parse.c */
/*
- * lib/krb5/krb/parse.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* krb5_parse_name() routine.
*
* Rewritten by Theodore Ts'o to properly handle arbitrary quoted
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
- * pkinit_apple_asn1.c - ASN.1 encode/decode routines for PKINIT, Mac OS X version
+ * pkinit_apple_asn1.c - ASN.1 encode/decode routines for PKINIT, Mac OS X
+ * version
*
* Created 19 May 2004 by Doug Mitchell.
*/
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/plugin.c - Plugin framework functions */
/*
- * lib/krb5/krb/plugin.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Plugin framework functions
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/pr_to_salt.c */
/*
- * lib/krb5/krb/pr_to_salt.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_principal2salt()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/princ_comp.c - Compare two principals for equality */
/*
- * lib/krb5/krb/princ_comp.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * compare two principals, returning a krb5_boolean true if equal, false if
- * not.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_error.c */
/*
- * lib/krb5/krb/rd_error.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_rd_error() routine
*/
#include "k5-int.h"
/*
- * Parses an error message from enc_errbuf and returns an allocated
- * structure which contain the error message.
- *
- * Upon return dec_error will point to allocated storage which the
- * caller should free when finished.
+ * Parse an error message from enc_errbuf and return an allocated structure
+ * containing the error message. Upon return, dec_error will point to
+ * allocated storage which the caller should free when finished.
*
- * returns system errors
+ * Returns system errors.
*/
krb5_error_code KRB5_CALLCONV
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_priv.c */
/*
- * lib/krb5/krb/rd_priv.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_rd_priv()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_rep.c */
/*
- * lib/krb5/krb/rd_rep.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_rd_rep()
*/
/*
* Copyright (c) 2006-2008, Novell, Inc.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_req.c */
/*
- * lib/krb5/krb/rd_req.c
- *
* Copyright 1990,1991, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_rd_req()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_req_dec.c */
/*
- * lib/krb5/krb/rd_req_dec.c
- *
* Copyright (c) 1994 CyberSAFE Corporation.
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/rd_safe.c - definition of krb5_rd_safe() */
/*
- * lib/krb5/krb/rd_safe.c - definition of krb5_rd_safe()
- *
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_rd_safe()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/recvauth.c */
/*
- * lib/krb5/krb/recvauth.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* convenience sendauth/recvauth functions
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/s4u_creds.c */
/*
- * lib/krb5/krb/s4u_creds.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/send_tgs.c */
/*
- * lib/krb5/krb/send_tgs.c
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_send_tgs()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/sendauth.c */
/*
- * lib/krb5/krb/sendauth.c
- *
* Copyright 1991, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * convenience sendauth/recvauth functions
*/
-
#include "k5-int.h"
#include "com_err.h"
#include "auth_con.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_actx.c - Serialize krb5_auth_context structure */
/*
- * lib/krb5/krb/ser_actx.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_actx.c - Serialize krb5_auth_context structure.
- */
#include "k5-int.h"
#include "int-proto.h"
#include "auth_con.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_adata.c - Serialize krb5_authdata structure */
/*
- * lib/krb5/krb/ser_adata.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_adata.c - Serialize a krb5_authdata structure.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_addr.c - Serialize krb5_address structure */
/*
- * lib/krb5/krb/ser_addr.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_addr.c - Serialize a krb5_address structure.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_auth.c - Serialize krb5_authenticator structure */
/*
- * lib/krb5/krb/ser_auth.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- */
-
-/*
- * ser_auth.c - Serialize krb5_authenticator structure.
*/
#ifndef LEAN_CLIENT
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_cksum.c - Serialize krb5_checksum structure */
/*
- * lib/krb5/krb/ser_cksum.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_cksum.c - Serialize a krb5_checksum structure.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_ctx.c - Serialize krb5_context structure */
/*
- * lib/krb5/krb/ser_ctx.c
- *
* Copyright 1995, 2007, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_ctx.c - Routines to deal with serializing the krb5_context and
- * krb5_os_context structures.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_eblk.c */
/*
- * lib/krb5/krb/ser_eblk.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#if 0 /* i don't believe this is used anywhere --marc */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_key.c - Serialize krb5_keyblock structure */
/*
- * lib/krb5/krb/ser_key.c
- *
* Copyright 1995, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_key.c - Serialize a krb5_keyblock structure.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/ser_princ.c - Serialize krb5_principal structure */
/*
- * lib/krb5/krb/ser_princ.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_princ.c - Serialize a krb5_principal structure.
- */
#include "k5-int.h"
#include "int-proto.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/serialize.c - Base serialization routines */
/*
- * lib/krb5/krb/serialize.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * Base routines to deal with serialization of Kerberos metadata.
- */
#include "k5-int.h"
\f
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/set_realm.c */
/*
- * lib/krb5/krb/set_realm.c
- *
* Copyright 1997 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/srv_dec_tkt.c */
/*
- * lib/krb5/krb/srv_dec_tkt.c
- *
* Copyright 2006, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Server decrypt ticket via keytab or keyblock.
*
* Different from krb5_rd_req_decoded. (krb5/src/lib/krb5/krb/rd_req_dec.c)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/srv_rcache.c - Acquire default replay cache for a server */
/*
- * lib/krb5/krb/srv_rcache.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Allocate & prepare a default replay cache for a server.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/str_conv.c - Convert between strings and krb5 data types */
/*
- * lib/kadm/str_conv.c
- *
* Copyright 1995, 1999, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- */
-
-/*
- * str_conv.c - Convert between strings and Kerberos internal data.
*/
/*
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-/* $NetBSD: strptime.c,v 1.18 1999/04/29 02:58:30 tv Exp $ */
-
-/*-
+/* lib/krb5/krb/strptime.c */
+/*
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_authdata.c - Test authorization data search */
/*
- * lib/krb5/krb/t_authdata.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
- * Test authorization data search
*/
#include <k5-int.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_deltat.c */
/*
- * lib/krb5/krb/t_deltat.c
- *
* Copyright 1999 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_etypes.c - test program for krb5int_parse_enctype_list */
/*
- * t_etypes.c -- test program for krb5int_parse_enctype_list
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_expire_warn.c - Test harness for password expiry warnings */
/*
- * lib/krb5/krb/t_expire_warn.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Test harness for password expiration warnings.
*/
#include "k5-int.h"
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/t_ser.c - Test serialization */
/*
- * lib/krb5/krb/t_ser.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * t_ser.c - Test serialization.
- */
#include "k5-int.h"
#include "com_err.h"
#include "auth_con.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/tgtname.c */
/*
- * lib/krb5/krb/tgtname.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5int_tgtname()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/unparse.c */
/*
- * lib/krb5/krb/unparse.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* krb5_unparse_name() routine
*
* Rewritten by Theodore Ts'o to properly unparse principal names
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/val_renew.c */
/*
- * lib/krb5/krb/val_renew.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Implements the following APIs:
*
* krb5_get_credentials_validate
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/valid_times.c */
/*
- * lib/krb5/krb/valid_times.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5int_validate_times()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/krb/walk_rtree.c */
/*
- * lib/krb5/krb/walk_rtree.c
- *
* Copyright 1990,1991,2008,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* krb5_walk_realm_tree()
* krb5_free_realm_tree()
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/accessor.c */
/*
- * lib/krb5/os/accessor.c
- *
* Copyright 1990, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/an_to_ln.c */
/*
- * lib/krb5/os/an_to_ln.c
- *
* Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_aname_to_localname()
*/
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/c_ustime.c */
/*
- * lib/crypto/os/c_ustime.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_mstimeofday for BSD 4.3
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ccdefname.c - Return default credential cache name */
/*
- * lib/krb5/os/ccdefname.c
- *
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Return default cred. cache name.
*/
#define NEED_WINDOWS
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/changepw.c */
/*
- * lib/krb5/os/changepw.c
- *
* Copyright 1990,1999,2001,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
/*
* krb5_set_password - Implements set password per RFC 3244
* Added by Paul W. Nelson, Thursby Software Systems, Inc.
- * Modified by Todd Stecher, Isilon Systems, to use krb1.4 socket infrastructure
+ * Modified by Todd Stecher, Isilon Systems, to use krb1.4 socket
+ * infrastructure
*/
#include "fake-addrinfo.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/def_realm.c */
/*
- * lib/krb5/os/def_realm.c
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* krb5_get_default_realm(), krb5_set_default_realm(),
* krb5_free_default_realm() functions.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnsglue.c */
/*
- * lib/krb5/os/dnsglue.c
- *
* Copyright 2004, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
+
#include "autoconf.h"
#ifdef KRB5_DNS_LOOKUP
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnsglue.h */
/*
- * lib/krb5/os/dnsglue.h
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Glue layer for DNS resolver, to make parsing of replies easier
* whether we are using BIND 4, 8, or 9.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/dnssrv.c - Perform DNS SRV queries */
/*
- * lib/krb5/os/dnssrv.c
- *
* Copyright 1990,2000,2001,2002,2003 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * do DNS SRV RR queries
*/
#include "autoconf.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/free_krbhs.c */
/*
- * lib/krb5/os/free_krbhs.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_free_krbhst() function
*/
#include "k5-int.h"
-/*
- Frees the storage taken by a host list returned by krb5_get_krbhst.
-*/
-
+/* Free the storage taken by a host list returned by krb5_get_krbhst. */
krb5_error_code
krb5_free_krbhst(krb5_context context, char *const *hostlist)
{
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/full_ipadr.c - Generate full address from IP addr and port */
/*
- * lib/krb5/os/full_ipadr.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/gen_port.c - Generate full address from IP address and port */
/*
- * lib/krb5/os/gen_port.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/gen_rname.c */
/*
- * lib/krb5/os/gen_rname.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * take a port-style address and unique string, and return
+ */
+
+/*
+ * Take a port-style address and unique string, and return
* a replay cache tag string.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/genaddrs.c */
/*
- * lib/krb5/os/genaddrs.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/get_krbhst.c */
/*
- * lib/krb5/os/get_krbhst.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_get_krbhst() function.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/hostaddr.c - Return list of krb5 addresses for a hostname */
/*
- * lib/krb5/os/hostaddr.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * This routine returns a list of krb5 addresses given a hostname.
- *
*/
#include "k5-int.h"
#include "fake-addrinfo.h"
krb5_error_code
-krb5_os_hostaddr(krb5_context context, const char *name, krb5_address ***ret_addrs)
+krb5_os_hostaddr(krb5_context context, const char *name,
+ krb5_address ***ret_addrs)
{
krb5_error_code retval;
krb5_address **addrs;
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/hst_realm.c */
/*
- * lib/krb5/os/hst_realm.c
- *
- * Copyright 1990,1991,2002,2008,2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2002,2008,2009 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+/*
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
+/*
* krb5_get_host_realm()
* krb5_get_fallback_host_realm()
* krb5int_clean_hostname()
return 0;
}
-/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
/*
* Walk through the components of a domain. At each stage determine
* if a KDC can be located for that domain. Return a realm
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/init_os_ctx.c */
/*
- * lib/krb5/os/init_ctx.c
- *
* Copyright 1994, 2007, 2008, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_init_contex()
*/
#define NEED_WINDOWS
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/krbfileio.c */
/*
- * lib/krb5/os/krbfileio.c
- *
* Copyright (c) Hewlett-Packard Company 1991
* Released to the Massachusetts Institute of Technology for inclusion
* in the Kerberos source code distribution.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ktdefname.c - Return default keytab name */
/*
- * lib/krb5/os/ktdefname.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Return default keytab file name.
*/
#define NEED_WINDOWS
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/kuserok.c */
/*
- * lib/krb5/os/kuserok.c
- *
* Copyright 1990,1993,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_kuserok()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/localaddr.c */
/*
- * lib/krb5/os/localaddr.c
- *
- * Copyright 1990,1991,2000,2001,2002,2004,2007,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,1991,2000,2001,2002,2004,2007,2008 by the Massachusetts
+ * Institute of Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Return the protocol addresses supported by this host.
* Exports from this file:
* krb5int_foreach_localaddr (does callbacks)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/locate_kdc.c - Get addresses for realm KDCs and other servers */
/*
- * lib/krb5/os/locate_kdc.c
- *
- * Copyright 1990,2000,2001,2002,2003,2004,2006,2008 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1990,2000,2001,2002,2003,2004,2006,2008 Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Get server hostnames or addresses for KDC.
*/
#include "fake-addrinfo.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/lock_file.c */
/*
- * lib/krb5/os/lock_file.c
- *
* Copyright 1990, 1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * libos: krb5_lock_file routine
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/mk_faddr.c - Generate full address from IP addr and port */
/*
- * lib/krb5/os/full_ipadr.c
- *
* Copyright 1995, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Take an IP addr & port and generate a full IP address.
*/
#include "k5-int.h"
#endif
krb5_error_code
-krb5_make_fulladdr(krb5_context context, krb5_address *kaddr, krb5_address *kport, krb5_address *raddr)
+krb5_make_fulladdr(krb5_context context, krb5_address *kaddr,
+ krb5_address *kport, krb5_address *raddr)
{
register krb5_octet * marshal;
krb5_int32 tmp32;
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/net_read.c */
/*
- * lib/krb5/os/net_read.c
- *
* Copyright 1987, 1988, 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/net_write.c */
/*
- * lib/krb5/os/net_write.c
- *
- * Copyright 1987, 1988, 1990, 2009 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 1987, 1988, 1990, 2009 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/os-proto.h */
/*
- * lib/krb5/os/os-proto.h
- *
* Copyright 1990,1991,2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* LIBOS internal function prototypes.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/osconfig.c */
/*
- * lib/krb5/os/osconfig.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Definition of default configuration parameters.
*
* ***** WARNING *****
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/port2ip.c - Split full address into IP address and port */
/*
- * lib/krb5/os/port2ip.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Take an ADDRPORT address and split into IP addr & port.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/read_msg.c */
/*
- * lib/krb5/os/read_msg.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Write a message to the network
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/read_pwd.c */
/*
- * lib/krb5/os/read_pwd.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * libos: krb5_read_password for BSD 4.3
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/realm_dom.c */
/*
- * lib/krb5/os/realm_dom.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_get_realm_domain()
*/
-
/*
* Determines the proper domain name for a realm. This is mainly so that
* a krb4 principal can be converted properly into a krb5 principal.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/realm_iter.c */
/*
- * lib/krb5/os/realm_init.c
- *
* Copyright 1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * krb5_realm_iterate()
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/sendto_kdc.c */
/*
- * lib/krb5/os/sendto_kdc.c
- *
* Copyright 1990,1991,2001,2002,2004,2005,2007,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Send packet to KDC for realm; wait for response, retransmitting
- * as necessary.
*/
+/* Send packet to KDC for realm; wait for response, retransmitting
+ * as necessary. */
+
#include "fake-addrinfo.h"
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/sn2princ.c */
/*
- * lib/krb5/os/sn2princ.c
- *
* Copyright 1991,2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Convert a hostname and service name to a principal in the "standard"
- * form.
*/
+/* Convert a hostname and service name to a principal in the "standard"
+ * form. */
+
#include "k5-int.h"
#include "os-proto.h"
#include "fake-addrinfo.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/t_kuserok.c - Test harness for krb5_kuserok */
/*
- * lib/krb5/os/t_kuserok.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Simple test harness for krb5_kuserok.
*/
#include <krb5.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/thread_safe.c */
/*
- * lib/krb5/os/thread_safec
- *
* Copyright 2005 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * krb5_is_thread_safe() function.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/timeofday.c */
/*
- * lib/krb5/os/timeofday.c
- *
* Copyright 1990, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * libos: krb5_timeofday function for BSD 4.3
*/
-
#include "k5-int.h"
#include <time.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/toffset.c - Manipulate time offset fields in os context */
/*
- * lib/krb5/os/toffset.c
- *
* Copyright 1995, 2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * These routines manipulates the time offset fields in the os context.
*/
#include "k5-int.h"
/* -*- mode: c; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/trace.c - k5trace implementation */
/*
- * lib/krb5/krb/trace.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * k5trace implementation
*/
-/* k5trace is defined in k5-int.h as a macro or static inline function,
+/*
+ * k5trace is defined in k5-int.h as a macro or static inline function,
* and is called like so:
*
* void k5trace(krb5_context context, const char *fmt, ...)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/unlck_file.c */
/*
- * lib/krb5/os/unlck_file.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * libos: krb5_lock_file routine
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/ustime.c */
/*
- * lib/krb5/os/ustime.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* krb5_crypto_us_timeofday() does all of the real work; however, we
* handle the time offset adjustment here, since this is context
* specific, and the crypto version of this call doesn't have access
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/os/write_msg.c - convenience sendauh/recvauth functions */
/*
- * lib/krb5/os/write_msg.c
- *
* Copyright 1991, 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * convenience sendauth/recvauth functions
*/
#include "k5-int.h"
#include <errno.h>
#include "os-proto.h"
-/* Try to write a series of messages with as few write(v) system calls
- as possible, to avoid Nagle/DelayedAck problems. Cheating here a
- little -- I know the only cases we have at the moment will send one
- or two messages in a call. Sending more will work, but not as
- efficiently. */
+/*
+ * Try to write a series of messages with as few write(v) system calls
+ * as possible, to avoid Nagle/DelayedAck problems. Cheating here a
+ * little -- I know the only cases we have at the moment will send one
+ * or two messages in a call. Sending more will work, but not as
+ * efficiently.
+ */
krb5_error_code
-krb5int_write_messages(krb5_context context, krb5_pointer fdp, krb5_data *outbuf, int nbufs)
+krb5int_write_messages(krb5_context context, krb5_pointer fdp,
+ krb5_data *outbuf, int nbufs)
{
int fd = *( (int *) fdp);
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc-int.h */
/*
- * lib/krb5/keytab/rc-int.h
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * This file contains constant and function declarations used in the
- * file-based replay cache routines.
*/
+/* This file contains constant and function declarations used in the
+ * file-based replay cache routines. */
+
#ifndef __KRB5_RCACHE_INT_H__
#define __KRB5_RCACHE_INT_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_base.c */
/*
- * lib/krb5/rcache/rc_base.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_base.h */
/*
- * lib/krb5/rcache/rc_base.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_conv.c */
/*
- * lib/krb5/rcache/rc_conv.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_dfl.c */
/*
- * lib/krb5/rcache/rc_dfl.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_dfl.h */
/*
- * lib/krb5/rcache/rc_dfl.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_io.c */
/*
- * lib/krb5/rcache/rc_io.c
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_io.h */
/*
- * lib/krb5/rcache/rc_io.h
- *
* This file of the Kerberos V5 software is derived from public-domain code
* contributed by Daniel J. Bernstein, <brnstnd@acf10.nyu.edu>.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rc_none.c */
/*
- * lib/krb5/rcache/rc_none.c
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* replay cache no-op implementation
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rcdef.c - Default replay cache operations vector */
/*
- * lib/krb5/rcache/rcdef.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * replay cache default operations vector.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/rcfns.c */
/*
- * lib/krb5/rcache/rcfns.c
- *
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/ser_rc.c - Serialize replay cache context */
/*
- * lib/krb5/rcache/ser_rc.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-/*
- * ser_rcdfl.c - Serialize replay cache context.
- */
#include "k5-int.h"
#include "rc-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* lib/krb5/rcache/t_replay.c - Test harness for replay cache */
/*
- * test/threads/t_replay.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * t_replay.c: Command-line interfaces to aid testing of replay cache
- *
*/
#include <stdio.h>
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.c,v 1.36 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucdata.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.c,v 1.36 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucdata.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $"
+ */
#include "k5-int.h"
#include "k5-utf8.h"
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.h,v 1.21 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucdata.h,v 1.6 2001/01/02 18:46:20 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucdata.h,v 1.21 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucdata.h,v 1.6 2001/01/02 18:46:20 mleisher Exp $
+ */
#ifndef _h_ucdata
#define _h_ucdata
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucgendat.c,v 1.43 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucgendat.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucgendat.c,v 1.43 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucgendat.c,v 1.4 2001/01/02 18:46:20 mleisher Exp $"
+ */
#include "k5-int.h"
#include "k5-utf8.h"
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.c,v 1.9 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucpgba.c,v 1.5 2001/01/02 18:46:20 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.c,v 1.9 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucpgba.c,v 1.5 2001/01/02 18:46:20 mleisher Exp $
+ */
#include "k5-int.h"
#include "k5-utf8.h"
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.h,v 1.10 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ucpgba.h,v 1.4 1999/11/19 15:24:30 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucdata/ucpgba.h,v 1.10 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ucpgba.h,v 1.4 1999/11/19 15:24:30 mleisher Exp $
+ */
#ifndef _h_ucpgba
#define _h_ucpgba
/*
- * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucstr.c,v 1.40 2008/03/04
- * 06:24:05 hyc Exp $
- */
-/*
- * This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
* Copyright 1998-2008 The OpenLDAP Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* <http://www.OpenLDAP.org/license.html>.
*/
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ucstr.c,v 1.40 2008/03/04 06:24:05 hyc Exp $
+ */
+
#include "k5-int.h"
#include "k5-utf8.h"
#include "k5-unicode.h"
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.c,v 1.19 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ure.c,v 1.2 1999/09/21 15:47:43 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.c,v 1.19 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ure.c,v 1.2 1999/09/21 15:47:43 mleisher Exp $"
+ */
#include <k5-int.h>
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.h,v 1.15 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: ure.h,v 1.2 1999/09/21 15:47:44 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/ure.h,v 1.15 2008/01/07 23:20:05 kurt Exp $
+ * $Id: ure.h,v 1.2 1999/09/21 15:47:44 mleisher Exp $
+ */
#ifndef _h_ure
#define _h_ure
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/urestubs.c,v 1.16 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: urestubs.c,v 1.2 1999/09/21 15:47:44 mleisher Exp $" */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/ure/urestubs.c,v 1.16 2008/01/07 23:20:05 kurt Exp $
+ * $Id: urestubs.c,v 1.2 1999/09/21 15:47:44 mleisher Exp $"
+ */
#include "k5-int.h"
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.c,v 1.9 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbm.c,v 1.1 1999/09/21 15:45:17 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.c,v 1.9 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbm.c,v 1.1 1999/09/21 15:45:17 mleisher Exp $
+ */
/*
* Assumptions:
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.h,v 1.10 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbm.h,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbm.h,v 1.10 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbm.h,v 1.1 1999/09/21 15:45:18 mleisher Exp $
+ */
#ifndef _h_utbm
#define _h_utbm
-/* $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbmstub.c,v 1.8 2008/01/07 23:20:05 kurt Exp $ */
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/* $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
+
+/*
+ * This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ * $OpenLDAP: pkg/ldap/libraries/liblunicode/utbm/utbmstub.c,v 1.8 2008/01/07 23:20:05 kurt Exp $
+ * $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $
+ */
#include "utbm.h"
+/* lib/rpc/auth_gss.c */
/*
- auth_gss.c
-
- RPCSEC_GSS client routines.
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
Id: auth_gss.c,v 1.35 2002/10/15 21:25:25 kwc Exp
*/
+/* RPCSEC_GSS client routines. */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+/* lib/rpc/authgss_prot.c */
/*
- authgss_prot.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC 1.8 88/02/08 SMI";
-#endif
+/* lib/rpc/bindresvport.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
-/* @(#)getrpcent.c 2.2 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)getrpcent.c 1.9 87/08/11 Copyr 1984 Sun Micro";
-#endif
-
+/* lib/rpc/getrpcent.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
-/* @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
-#endif
+/* lib/rpc/getrpcport.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
+/* lib/rpc/gssrpcint.h */
/*
- * lib/rpc/gssrpcint.h
- *
* Copyright (C) 2008 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * <<< Description >>>
*/
#ifndef __GSSRPCINT_H__
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)svc_auth.c 2.1 88/08/07 4.0 RPCSRC; from 1.19 87/08/11 Copyr 1984 Sun Micro";
-#endif
+/* lib/rpc/svc_auth.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
+/* lib/rpc/svc_auth_gss.c */
/*
- svc_auth_gss.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
+/* lib/rpc/svc_auth_none.c */
/*
- svc_auth_none.c
-
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
-/* @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC */
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";
-#endif
-
+/* lib/rpc/svc_run.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
-/* @(#)xdr_mem.c 2.1 88/07/29 4.0 RPCSRC */
+/* lib/rpc/xdr_alloc.c */
/*
* Copyright (c) 2010, Oracle America, Inc.
*
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)xdr_mem.c 1.19 87/08/11 Copyr 1984 Sun Micro";
-#endif
-
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
- *
*/
#include <gssrpc/types.h>
+/* patchlevel.h */
/*
- * patchlevel.h
- *
* Copyright (C) 2004-2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet/greet_auth.c */
/*
- * plugins/authdata/greet/
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Sample authorization data plugin
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet_client/greet.c - Sample authorization data plugin */
/*
- * plugins/authdata/greet_client/
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Sample authorization data plugin
*/
#include <string.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/authdata/greet_server/greet_auth.c */
/*
- * plugins/authdata/greet_server/
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Sample authorization data plugin
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kadm5_hook/test/main.c */
/*
- * plugins/kadm5_hook/test/main.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
-
/**
* @file plugins/kadm5_hook/test/main.c
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* lib/kdb/kdb_db2.c */
+/* plugins/kdb/db2/kdb_db2.c */
/*
* Copyright 1997,2006,2007-2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/kdb_db2.h */
/*
- * lib/kdb/kdb_db2.h
- *
* Copyright 1997 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* KDC Database backend definitions for Berkely DB.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/kdb_xdr.c */
/*
- * lib/kdb/kdb_xdr.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/db2/lockout.c */
/*
- * plugins/kdb/db2/lockout.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_hdb.c */
/*
- * plugins/kdb/hdb/kdb_hdb.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_hdb.h */
/*
- * plugins/kdb/hdb/kdb_hdb.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#ifndef KRB5_KDB_HDB_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_marshal.c */
/*
- * plugins/kdb/hdb/kdb_marshal.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/hdb/kdb_windc.c */
/*
- * plugins/kdb/hdb/kdb_windc.c
- *
* Copyright 2009 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_exp.c */
/*
- * lib/kdb/kdb_ldap/ldap_exp.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_list.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_list.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_list.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_policy.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_policy.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c */
/*
- * kadmin/ldap_util/kdb5_ldap_realm.c
- *
* Copyright 1990,1991,2001, 2002, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_realm.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_services.c
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_services.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_services.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c */
/*
- * kadmin/ldap_util/kdb5_ldap_util.c
- *
* (C) Copyright 1990,1991, 1996, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Edit a KDC database.
*/
-
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- * kadmin/ldap_util/kdb5_ldap_util.h
- */
-
+/* plugins/kdb/ldap/ldap_util/kdb5_ldap_util.h */
/* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c */
/*
- * lib/kdb/kdb_ldap/kdb_ldap.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h */
/*
- * lib/kdb/kdb_ldap/kdb_ldap.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c */
/*
- * lib/kdb/kdb_ldap/kdb_ldap_conn.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c */
/*
- * lib/kdb/kdb_ldap/kdb_xdr.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <k5-int.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_create.c */
/*
- * lib/kdb/kdb_ldap/ldap_create.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_handle.c */
/*
- * lib/kdb/kdb_ldap/ldap_handle.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_handle.h */
/*
- * lib/kdb/kdb_ldap/ldap_handle.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.c */
/*
- * lib/kdb/kdb_ldap/ldap_krbcontainer.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h */
/*
- * lib/kdb/kdb_ldap/ldap_krbcontainer.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_main.h */
/*
- * lib/kdb/kdb_ldap/ldap_main.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_misc.c */
/*
- * lib/kdb/kdb_ldap/ldap_misc.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_misc.h */
/*
- * lib/kdb/kdb_ldap/ldap_misc.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal.c */
/*
- * lib/kdb/kdb_ldap/ldap_principal.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal.h */
/*
- * lib/kdb/kdb_ldap/ldap_principal.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c */
/*
- * lib/kdb/kdb_ldap/ldap_principal2.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c */
/*
- * lib/kdb/kdb_ldap/ldap_pwd_policy.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.h */
/*
- * lib/kdb/kdb_ldap/ldap_pwd_policy.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_realm.c */
/*
- * lib/kdb/kdb_ldap/ldap_realm.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_realm.h */
/*
- * lib/kdb/kdb_ldap/ldap_realm.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_rights.c */
/*
- * lib/kdb/kdb_ldap/ldap_service_rights.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c */
/*
- * lib/kdb/kdb_ldap/ldap_service_stash.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.h */
/*
- * lib/kdb/kdb_ldap/ldap_service_stash.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_services.c */
/*
- * lib/kdb/kdb_ldap/ldap_services.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_services.h */
/*
- * lib/kdb/kdb_ldap/ldap_services.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c */
/*
- * lib/kdb/kdb_ldap/ldap_tkt_policy.c
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.h */
/*
- * lib/kdb/kdb_ldap/ldap_tkt_policy.h
- *
* Copyright (c) 2004-2005, Novell, Inc.
* All rights reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/kdb/ldap/libkdb_ldap/lockout.c */
/*
- * plugins/kdb/ldap/lockout.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/locate/python/py-locate.c */
/*
- * plugins/locate/python/py-locate.c
- *
* Copyright 2006, 2007 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/encrypted_challenge/encrypted_challenge_main.c */
/*
- * plugins/preauth/encrypted_challenge/encrypted_challenge.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Implement Encrypted Challenge fast factor from
* draft-ietf-krb-wg-preauth-framework
*/
-/* pkcs11.h
+/*
Copyright 2006 g10 Code GmbH
Copyright 2006 Andreas Jellinghaus
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/extern.h */
/*
- * plugins/preauth/securid_sam2/extern.h
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Declarations for SecurID SAM2 plugin.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/securid2.c */
/*
- * plugins/preauth/securid_sam2/securid2.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-
/*
- * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
+ * Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
*/
+
#include "k5-int.h"
#include <kdb.h>
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* plugins/preauth/securid_sam2/securid_sam2_main.c */
/*
- * plugins/preauth/securid_sam2/securid_sam2_main.c
- *
* Copyright (C) 2009, 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+/*
* Copyright (c) 2002 Naval Research Laboratory (NRL/CCS)
*
* Permission to use, copy, modify and distribute this software and its
* NRL ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
* DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
* RESULTING FROM THE USE OF THIS SOFTWARE.
- *
*/
#include <k5-int.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop.c */
/*
- * slave/kprop.c
- *
* Copyright 1990,1991,2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
-
#include <errno.h>
#include <stdio.h>
#include <ctype.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop.h */
/*
- * slave/kprop.h
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
*/
#define KPROP_SERVICE_NAME "host"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kprop_sock.c */
/*
- * slave/kprop_sock.c
- *
* Copyright (C) 2010 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * sockaddr2krbaddr() utility function used by kprop and kpropd.
*/
+/* sockaddr2krbaddr() utility function used by kprop and kpropd */
+
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* slave/kpropd.c */
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
*/
/*
- * slave/kpropd.c
- *
* Copyright 1990,1991,2007 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
+/*
+ * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
/*
* Please do not edit this file.
* It was generated using rpcgen.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/debug.h */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#ifndef __DEBUG_H__
#define __DEBUG_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_decode_leak.c */
+/*
+ * Copyright (C) 2009 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
/*
* This program is intended to help detect memory leaks in the ASN.1
* decoder functions by exercising their failure paths. The setup
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_decode_test.c */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include "k5-int.h"
#include "ktest.h"
#include "com_err.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/krb5_encode_test.c */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include <stdio.h>
#include "k5-int.h"
#include "com_err.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/ktest.c */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include "ktest.h"
#include "utility.h"
#include <stdlib.h>
+/* tests/asn.1/ktest.h */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#ifndef __KTEST_H__
#define __KTEST_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/ktest_equal.c */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include <stdlib.h>
#include <stdio.h>
#include "ktest_equal.h"
+/* tests/asn.1/ktest_equal.h */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#ifndef __KTEST_EQUAL_H__
#define __KTEST_EQUAL_H__
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/* Split out from "#ifdef STANDALONE" code previously in trval.c, so
* Trusted Information Systems makes no representation about the
* suitability of this software for any purpose. It is provided
* "as is" without express or implied warranty.
- *
+ */
+/*
* Copyright (C) 1994 Massachusetts Institute of Technology
*
* Export of this software from the United States of America may
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
/*****************************************************************************
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/asn.1/utility.c */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include "utility.h"
#include "krb5.h"
#include <stdlib.h>
+/* tests/asn.1/utility.h */
+/*
+ * Copyright (C) 1994 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#ifndef __UTILITY_H__
#define __UTILITY_H__
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/create/kdb5_mkdums.c */
/*
- * tests/create/kdb5_mkdums.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Edit a KDC database.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/dejagnu/t_inetd.c */
/*
- * tests/dejagnu/t_inetd.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* A simple program to simulate starting a process from inetd.
*
* Unlike a proper inetd situation, environment variables are passed
* to the client.
*
* usage: t_inetd port program argv0 ...
- *
*/
#include "autoconf.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/dump.c */
/*
- * tests/dump.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Dump out a krb5_data to stderr (for debugging purposes).
*/
+/* Dump a krb5_data to stderr (for debugging purposes). */
+
#include <stdio.h>
#include "krb5.h"
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <stdio.h>
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include <stdio.h>
+/* tests/hammer/kdc5_hammer.c */
/*
- * tests/hammer/kdc5_hammer.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Initialize a credentials cache.
*/
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/hammer/pp.c */
/*
- * tests/hammer/pp.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* For copying and distribution information, please see the file
* <krb5/copyright.h>.
- *
*/
#include "krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/misc/test_getpw.c */
+/*
+ * Copyright (C) 2005 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include "autoconf.h"
#include "k5-platform.h"
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/misc/test_getsockname.c */
+/*
+ * Copyright (C) 1995 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
/*
* test_getsockname.c
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/mkeystash_compat/bigendian.c */
+/*
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
+ */
+
#include <stdio.h>
/*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/resolve/addrinfo-test.c */
/*
- * test/resolve/addrinfo-test.c
- *
* Copyright 2004 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* A simple program to test the functionality of the getaddrinfo function.
*
* Usage:
* which (at least with a non-null "port") means a socket address
* is desired that can be used with connect() or bind() (depending
* on whether "-P" is given).
- *
*/
#include <stdio.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/resolve/resolve.c */
/*
- * test/resolve/resolve.c
- *
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* A simple program to test the functionality of the resolver library.
* It simply will try to get the IP address of the host, and then look
* up the name from the address. If the resulting name does not contain the
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/* foo */
+/* tests/shlib/t_loader.c */
+/*
+ * Copyright (C) 2005 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include <stdio.h>
#include <string.h>
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/test1.c - Regression tests for krb5 library */
/*
- * tests/test1.c
- *
* Copyright 1990 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Regression tests for the kerberos library.
*/
#include "krb5.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/gss-perf.c */
/*
- * test/threads/gss-perf.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* GSSAPI performance testing
* initially contributed by Ken Raeburn
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/init_ctx.c */
/*
- * test/threads/init_ctx.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* krb5 context creation performance testing
* initially contributed by Ken Raeburn
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/prof1.c */
+/*
+ * Copyright (C) 2004 by the Massachusetts Institute of Technology.
+ * All rights reserved.
+ *
+ * Export of this software from the United States of America may
+ * require a specific license from the United States Government.
+ * It is the responsibility of any person or organization contemplating
+ * export to obtain such a license before exporting.
+ *
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission. Furthermore if you modify this software you must label
+ * your software as modified software and not distribute it in such a
+ * fashion that it might be confused with the original M.I.T. software.
+ * M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/profread.c */
/*
- * test/threads/profread.c
- *
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* krb5 profile data retrieval performance testing
* initially contributed by Ken Raeburn
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/threads/t_rcache.c */
/*
- * test/threads/t_rcache.c
- *
* Copyright (C) 2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- *
*/
-
#include <stdio.h>
#include <com_err.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/verify/kdb5_verify.c */
/*
- * tests/verify/kdb5_verify.c
- *
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Edit a KDC database.
*/
#include "k5-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* tests/verify/pkey.c */
/*
- * tests/verify/pkey.c
- *
* Copyright 1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
/*
- * Header file for common error description library.
- *
* Copyright 1988, Student Information Processing Board of the
* Massachusetts Institute of Technology.
*
* with this package.
*/
+/* Header file for common error description library. */
+
#ifndef __COM_ERR_H
#if defined(_WIN32)
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- *
* Copyright 1986, 1987, 1988
* by MIT Student Information Processing Board.
*
* For copyright info, see "mit-sipb-copyright.h".
- *
+ */
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
*/
#include <stdio.h>
#ifdef NEED_STRCASECMP
/* Need strcasecmp for this machine */
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- */
/* based on @(#)strcasecmp.c 1.3 (Berkeley) 8/3/87 */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/exitsleep.c */
/*
- * util/exitsleep.c
- *
* Copyright (C) 2003 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* Kludge to sleep 100ms prior to exit on Solaris 9 to work around a
* pty bug.
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * argv_parse.c --- utility function for parsing a string into a
- * argc, argv array.
- *
- * This file defines a function argv_parse() which parsing a
- * passed-in string, handling double quotes and backslashes, and
- * creates an allocated argv vector which can be freed using the
- * argv_free() function.
- *
- * See argv_parse.h for the formal definition of the functions.
- *
* Copyright 1999 by Theodore Ts'o.
*
* Permission to use, copy, modify, and distribute this software for
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
* it sick that the U.S. culture of lawsuit-happy lawyers requires
* this kind of disclaimer?)
- *
+ */
+
+/*
* Version 1.1, modified 2/27/1999
+ *
+ * argv_parse.c --- utility function for parsing a string into a
+ * argc, argv array.
+ *
+ * This file defines a function argv_parse() which parsing a
+ * passed-in string, handling double quotes and backslashes, and
+ * creates an allocated argv vector which can be freed using the
+ * argv_free() function.
+ *
+ * See argv_parse.h for the formal definition of the functions.
*/
#include "prof_int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
+ * Copyright 1999 by Theodore Ts'o.
+ *
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose with or without fee is hereby granted, provided that
+ * the above copyright notice and this permission notice appear in all
+ * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
+ * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
+ * it sick that the U.S. culture of lawsuit-happy lawyers requires
+ * this kind of disclaimer?)
+ */
+
+/*
+ * Version 1.1, modified 2/27/1999
+ *
* argv_parse.h --- header file for the argv parser.
*
* This file defines the interface for the functions argv_parse() and
*
* This function frees the argument vector created by argv_parse().
***********************************************************************
- *
- * Copyright 1999 by Theodore Ts'o.
- *
- * Permission to use, copy, modify, and distribute this software for
- * any purpose with or without fee is hereby granted, provided that
- * the above copyright notice and this permission notice appear in all
- * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
- * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
- * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
- * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
- * it sick that the U.S. culture of lawsuit-happy lawyers requires
- * this kind of disclaimer?)
- *
- * Version 1.1, modified 2/27/1999
*/
extern int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv);
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/listen.c */
/*
- * Listener loop for subsystem library libss.a.
- *
- * util/ss/listen.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/mk_cmds.c */
/*
- * make_commands.c
- *
- * util/ss/mk_cmds.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/pager.c - create a "more" running out of a file descriptor */
/*
- * Pager: Routines to create a "more" running out of a particular file
- * descriptor.
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/prompt.c */
/*
- * prompt.c: Routines for retrieving and setting a prompt.
- *
- * util/ss/prompt.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/requests.c */
/*
- * Various minor routines...
- *
* Copyright 1987, 1988, 1989 by MIT
*
* For copyright information, see mit-sipb-copyright.h.
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/ipc_stream.c */
/*
- * $Header$
- *
* Copyright 2006, 2007, 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/k5buf-int.h */
/*
- * k5buf-int.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Internal declarations for the k5buf string buffer module.
*/
+/* Internal declarations for the k5buf string buffer module */
+
#ifndef K5BUF_INT_H
#define K5BUF_INT_H
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/k5buf.c */
/*
- * k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Implement the k5buf string buffer module.
*/
+/* Implement the k5buf string buffer module. */
+
/* Can't include krb5.h here, or k5-int.h which includes it, because
krb5.h needs to be generated with error tables, after util/et,
which builds after this directory. */
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/plugins.c - Plugin module support functions */
/*
- * util/support/plugins.c
- *
* Copyright 2006, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Plugin module support, and shims around dlopen/whatever.
*/
#include "k5-plugin.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/printf.c */
/*
- * printf.c
- *
- * Copyright 2003, 2004, 2005, 2007, 2008 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2003, 2004, 2005, 2007, 2008 Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Provide {,v}asprintf for platforms that don't have them.
*/
+/* Provide {,v}asprintf for platforms that don't have them. */
+
#include "k5-platform.h"
/* On error: BSD: Set *ret to NULL. GNU: *ret is undefined.
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-#include "k5-platform.h"
-
-/* Provide strlcpy and strlcat for platforms that don't have them. */
-
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/* Provide strlcpy and strlcat for platforms that don't have them. */
+
+#include "k5-platform.h"
#include <sys/types.h>
#include <string.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/supp-int.h */
/*
- * util/support/supp-int.h
- *
* Copyright (C) 2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
*
* Internal prototypes for the krb5support library
*/
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/t_k5buf.c - Test the k5buf string buffer module */
/*
- * t_k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- * Test the k5buf string buffer module.
*/
#include "k5buf-int.h"
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/threads.c - Portable thread support */
/*
- * util/support/threads.c
- *
- * Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of
+ * Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
- * Preliminary thread support.
*/
#include <assert.h>
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8.c */
/*
- * util/support/utf8.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
+
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/* Basic UTF-8 routines
*
* These routines are "dumb". Though they understand UTF-8,
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8_conv.c */
/*
- * util/support/utf8_conv.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* Portions Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
+/* Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/*
* UTF-8 Conversion Routines
*
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/zap.c */
/*
- * zap.c
- *
* Copyright 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ */
+
+/*
* krb5int_zap() is used by zap() (a static inline function defined in
* k5-int.h) on non-Windows, non-gcc compilers, in order to prevent the
* compiler from inlining and optimizing out the memset() call.
+/* wconfig.c */
/*
- * wconfig.c
- *
* Copyright 1995,1996,1997,1998 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ */
+
+/*
* Program to take the place of the configure shell script under DOS.
* The makefile.in files are constructed in such a way that all this
* program needs to do is uncomment lines beginning ##DOS by removing the
+/* windows/cns/cns.c */
/*
- * cns.c
- *
- * Main routine of the Kerberos user interface. Also handles
- * all dialog level management functions.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/*
+ * Main routine of the Kerberos user interface. Also handles
+ * all dialog level management functions.
+ */
+
#include <windows.h>
#include <windowsx.h>
+/* windows/cns/tktlist.c */
/*
- * tktlist.c
- *
- * Handle all actions of the Kerberos ticket list.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/* Handle all actions of the Kerberos ticket list. */
+
#if !defined(KRB5) && !defined(KRB4)
#define KRB5 1
#endif
+/* windows/cns/tktlist.h */
/*
- * tktlist.h
- *
- * Handle all actions of the Kerberos ticket list.
- *
* Copyright 1994 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <mit-copyright.h>.
*/
+/* Handle all actions of the Kerberos ticket list. */
+
/* Only one time, please */
#ifndef TKTLIST_DEFS
#define TKTLIST_DEFS
+/* windows/lib/cacheapi.h */
/*
- * $Id$
- *
* Copyright 1997 by the Regents of the University of Michigan
*
* This software is being provided to you, the LICENSEE, by the
+/*
+ * Copyright (C) 1997 Cygnus Solutions.
+ *
+ * Author: Michael Graff
+ */
/*
* Dialog box building for various numbers of (label, entry) fields.
*
* This code is somewhat hardcoded to build boxes for the krb5_get_init_creds()
* function.
- *
- * Copyright (C) 1997 Cygnus Solutions.
- *
- * Author: Michael Graff
*/
#include <windows.h>
-/*
- * mit2ms.c
- *
- */
+/* windows/ms2mit/mit2ms.c */
/*
* Copyright (C) 2003,2004 by the Massachusetts Institute of Technology.
* All rights reserved.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "krb5.h"
-/*
- * ms2mit.c
- *
- */
+/* windows/ms2mit/ms2mit.c */
/*
* Copyright (C) 2003 by the Massachusetts Institute of Technology.
* All rights reserved.
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
*/
#include "krb5.h"
+/* windows/winlevel.h */
/*
- * winlevel.h
- *
* Copyright (C) 2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*