/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1997 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _KEYSERV_CACHE_H
#define _KEYSERV_CACHE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* uid_t, size_t, caddr_t, u_int, etc. */
/* des_block, keylen_t, algtype_t */
#include <rpc/key_prot.h>
struct dhkey {
};
/* Round up to multiple of four */
/* Round up to multiple of eight */
/* Convert key length in bits to bytes */
/* Bytes to allocate for struct dhkey holding key of specified length (bits) */
/* Bytes used for a struct dhkey (already allocated */
struct cachekey3_list {
int refcnt;
};
2*sizeof (keybuf3) + \
3*sizeof (des_block))
int sizespec);
#ifdef __cplusplus
}
#endif
#endif /* _KEYSERV_CACHE_H */