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