/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
#include "fcrypt.h"
#include "rx/rx.h"
-/* Don't include des.h where it can cause conflict with krb4 headers */
-#if !defined(NO_DES_H_INCLUDE)
-#include <des.h>
-#endif
-
/* crypt_conn.c */
extern afs_int32 rxkad_DecryptPacket(const struct rx_connection *conn,
const fc_KeySchedule * schedule,
extern void rxkad_ResetState(void);
/* rxkad_common.c */
+extern void rxkad_Init(void);
+
struct rxkad_endpoint;
extern int rxkad_SetupEndpoint(struct rx_connection *aconnp,
struct rxkad_endpoint *aendpointp);
extern rxkad_level rxkad_StringToLevel(char *string);
extern char *rxkad_LevelToString(rxkad_level level);
-extern void rxkad_global_stats_init(void);
-
/* rxkad_errs.c */
/* rxkad_server.c */
int (*get_key)
-
+
(void
*get_key_rock,
int kvno,
int (*user_ok)
-
+
(char *name,
char
*instance,
char *instance, char *cell,
afs_int32 * kvno);
extern afs_int32 rxkad_SetConfiguration(struct rx_securityClass *aobj,
- struct rx_connection *aconn,
+ struct rx_connection *aconn,
rx_securityConfigVariables atype,
void * avalue, void **aresult);
afs_int32 * host, afs_uint32 * start,
afs_uint32 * end, afs_int32 disableDotCheck);
-#if !defined(NO_DES_H_INCLUDE)
-static_inline unsigned char *
-ktc_to_cblock(struct ktc_encryptionKey *key) {
- return (unsigned char *)key;
-}
-
-static_inline char *
-ktc_to_charptr(struct ktc_encryptionKey *key) {
- return (char *)key;
-}
-
-static_inline des_cblock *
-ktc_to_cblockptr(struct ktc_encryptionKey *key) {
- return (des_cblock *)key;
-}
-#endif
-
-
#endif