xref: /freebsd/usr.sbin/keyserv/keyserv.h (revision 6990ffd8a95caaba6858ad44ff1b3157d1efba8f)
1 /*
2  * $FreeBSD$
3  */
4 extern void setmodulus __P((char *modx));
5 
6 extern keystatus pk_setkey __P(( uid_t, keybuf ));;
7 extern keystatus pk_encrypt __P(( uid_t, char *, netobj *, des_block * ));
8 extern keystatus pk_decrypt __P(( uid_t, char *, netobj *, des_block * ));
9 extern keystatus pk_netput __P(( uid_t, key_netstarg * ));
10 extern keystatus pk_netget __P(( uid_t, key_netstarg * ));
11 extern keystatus pk_get_conv_key __P(( uid_t, keybuf, cryptkeyres * ));
12 extern void pk_nodefaultkeys __P(( void ));
13 
14 extern void crypt_prog_1 __P(( struct svc_req *, register SVCXPRT * ));
15 extern void load_des __P(( int, char * ));
16 
17 extern int (*_my_crypt)__P(( char *, int, struct desparams * ));
18 
19 extern char ROOTKEY[];
20 
21