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