/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.h | 52 extern vchar_t *eay_str2asn1dn __P((const char *, int)); 53 extern vchar_t *eay_hex2asn1dn __P((const char *, int)); 54 extern int eay_cmp_asn1dn __P((vchar_t *, vchar_t *)); 55 extern int eay_check_x509cert __P((vchar_t *, char *, char *, int)); 56 extern vchar_t *eay_get_x509asn1subjectname __P((vchar_t *)); 57 extern int eay_get_x509subjectaltname __P((vchar_t *, char **, int *, int)); 58 extern char *eay_get_x509text __P((vchar_t *)); 59 extern vchar_t *eay_get_x509cert __P((char *)); 60 extern vchar_t *eay_get_x509sign __P((vchar_t *, vchar_t *)); 61 extern int eay_check_x509sign __P((vchar_t *, vchar_t *, vchar_t *)); [all …]
|
D | algorithm.h | 133 caddr_t (*init) __P((vchar_t *)); 134 void (*update) __P((caddr_t, vchar_t *)); 135 vchar_t *(*final) __P((caddr_t)); 137 vchar_t *(*one) __P((vchar_t *, vchar_t *)); 145 void (*update) __P((caddr_t, vchar_t *)); 146 vchar_t *(*final) __P((caddr_t)); 148 vchar_t *(*one) __P((vchar_t *)); 156 vchar_t *(*encrypt) __P((vchar_t *, vchar_t *, vchar_t *)); 157 vchar_t *(*decrypt) __P((vchar_t *, vchar_t *, vchar_t *)); 158 int (*weakkey) __P((vchar_t *)); [all …]
|
D | oakley.h | 158 vchar_t *prime; 161 vchar_t *curve_a; 162 vchar_t *curve_b; 163 vchar_t *order; 169 vchar_t cert; /* pointer to the CERT */ 170 vchar_t *pl; /* CERT payload minus isakmp general header */ 182 vchar_t *, vchar_t *, vchar_t *, vchar_t **)); 184 vchar_t **, vchar_t **)); 187 extern vchar_t *oakley_prf __P((vchar_t *, vchar_t *, struct ph1handle *)); 188 extern vchar_t *oakley_hash __P((vchar_t *, struct ph1handle *)); [all …]
|
D | handler.h | 126 vchar_t *authstr; /* place holder of string for auth. */ 147 vchar_t *sendbuf; /* buffer for re-sending */ 149 vchar_t *dhpriv; /* DH; private value */ 150 vchar_t *dhpub; /* DH; public value */ 151 vchar_t *dhpub_p; /* DH; partner's public value */ 152 vchar_t *dhgxy; /* DH; shared secret */ 153 vchar_t *nonce; /* nonce value */ 154 vchar_t *nonce_p; /* partner's nonce value */ 155 vchar_t *skeyid; /* SKEYID */ 156 vchar_t *skeyid_d; /* SKEYID_d */ [all …]
|
D | isakmp_ident.h | 37 extern int ident_i1send __P((struct ph1handle *, vchar_t *)); 38 extern int ident_i2recv __P((struct ph1handle *, vchar_t *)); 39 extern int ident_i2send __P((struct ph1handle *, vchar_t *)); 40 extern int ident_i3recv __P((struct ph1handle *, vchar_t *)); 41 extern int ident_i3send __P((struct ph1handle *, vchar_t *)); 42 extern int ident_i4recv __P((struct ph1handle *, vchar_t *)); 43 extern int ident_i4send __P((struct ph1handle *, vchar_t *)); 45 extern int ident_r1recv __P((struct ph1handle *, vchar_t *)); 46 extern int ident_r1send __P((struct ph1handle *, vchar_t *)); 47 extern int ident_r2recv __P((struct ph1handle *, vchar_t *)); [all …]
|
D | crypto_openssl.c | 123 static X509 *mem2x509 __P((vchar_t *)); 125 static caddr_t eay_hmac_init __P((vchar_t *, const EVP_MD *)); 132 vchar_t * 141 vchar_t *ret = NULL; 234 vchar_t * 240 vchar_t *ret = NULL; in eay_hex2asn1dn() 415 vchar_t *n1, *n2; in eay_cmp_asn1dn() 456 vchar_t *cert; in eay_check_x509cert() 643 vchar_t * 645 vchar_t *cert; in eay_get_x509asn1subjectname() [all …]
|
D | isakmp_quick.h | 37 extern int quick_i1prep __P((struct ph2handle *, vchar_t *)); 38 extern int quick_i1send __P((struct ph2handle *, vchar_t *)); 39 extern int quick_i2recv __P((struct ph2handle *, vchar_t *)); 40 extern int quick_i2send __P((struct ph2handle *, vchar_t *)); 41 extern int quick_i3recv __P((struct ph2handle *, vchar_t *)); 43 extern int quick_r1recv __P((struct ph2handle *, vchar_t *)); 44 extern int quick_r1prep __P((struct ph2handle *, vchar_t *)); 45 extern int quick_r2send __P((struct ph2handle *, vchar_t *)); 46 extern int quick_r3recv __P((struct ph2handle *, vchar_t *)); 47 extern int quick_r3send __P((struct ph2handle *, vchar_t *)); [all …]
|
D | isakmp_xauth.h | 82 vchar_t *login; /* xauth login */ 83 vchar_t *pass; /* xauth password */ 107 vchar_t *isakmp_xauth_req(struct ph1handle *, struct isakmp_data *); 108 vchar_t *isakmp_xauth_set(struct ph1handle *, struct isakmp_data *); 135 vchar_t *host; 137 vchar_t *base; 139 vchar_t *bind_dn; 140 vchar_t *bind_pw; 142 vchar_t *attr_user; 143 vchar_t *attr_addr; [all …]
|
D | isakmp_var.h | 68 extern vchar_t *isakmp_parsewoh __P((int, struct isakmp_gen *, int)); 69 extern vchar_t *isakmp_parse __P((vchar_t *)); 75 extern int isakmp_send __P((struct ph1handle *, vchar_t *)); 97 extern vchar_t *isakmp_add_attr_v __P((vchar_t *, int, caddr_t, int)); 98 extern vchar_t *isakmp_add_attr_l __P((vchar_t *, int, u_int32_t)); 102 extern int isakmp_p2ph __P((vchar_t **, struct isakmp_gen *)); 105 extern caddr_t set_isakmp_header1 __P((vchar_t *, struct ph1handle *, int)); 106 extern caddr_t set_isakmp_header2 __P((vchar_t *, struct ph2handle *, int)); 107 extern caddr_t set_isakmp_payload __P((caddr_t, vchar_t *, int)); 110 vchar_t *payload, int payload_type)); [all …]
|
D | ipsec_doi.h | 207 extern int ipsecdoi_checkph1proposal __P((vchar_t *, struct ph1handle *)); 211 extern struct prop_pair **get_proppair __P((vchar_t *, int)); 212 extern vchar_t *get_sabyproppair __P((struct prop_pair *, struct ph1handle *)); 214 extern vchar_t *get_sabysaprop __P((struct saprop *, vchar_t *)); 215 extern int ipsecdoi_chkcmpids( const vchar_t *, const vchar_t *, int ); 218 extern int set_identifier __P((vchar_t **, int, vchar_t *)); 219 extern int set_identifier_qual __P((vchar_t **, int, vchar_t *, int)); 221 extern vchar_t *ipsecdoi_sockaddr2id __P((struct sockaddr *, u_int, u_int)); 222 extern int ipsecdoi_id2sockaddr __P((vchar_t *, struct sockaddr *, 224 extern char *ipsecdoi_id2str __P((const vchar_t *)); [all …]
|
D | isakmp_base.h | 37 extern int base_i1send __P((struct ph1handle *, vchar_t *)); 38 extern int base_i2recv __P((struct ph1handle *, vchar_t *)); 39 extern int base_i2send __P((struct ph1handle *, vchar_t *)); 40 extern int base_i3recv __P((struct ph1handle *, vchar_t *)); 41 extern int base_i3send __P((struct ph1handle *, vchar_t *)); 43 extern int base_r1recv __P((struct ph1handle *, vchar_t *)); 44 extern int base_r1send __P((struct ph1handle *, vchar_t *)); 45 extern int base_r2recv __P((struct ph1handle *, vchar_t *)); 46 extern int base_r2send __P((struct ph1handle *, vchar_t *));
|
D | vmbuf.h | 47 vchar_t *n; /* next vchar_t buffer */ 53 } vchar_t; typedef 68 extern vchar_t *vmalloc __P((size_t)); 69 extern vchar_t *vrealloc __P((vchar_t *, size_t)); 70 extern void vfree __P((vchar_t *)); 71 extern vchar_t *vdup __P((vchar_t *));
|
D | isakmp_inf.h | 38 extern int isakmp_info_recv __P((struct ph1handle *, vchar_t *)); 42 struct sockaddr *, struct sockaddr *, int, vchar_t *)); 43 extern int isakmp_info_send_n1 __P((struct ph1handle *, int, vchar_t *)); 44 extern int isakmp_info_send_n2 __P((struct ph2handle *, int, vchar_t *)); 46 vchar_t *, u_int32_t, int)); 48 extern vchar_t * isakmp_add_pl_n __P((vchar_t *, u_int8_t **, int, 49 struct saproto *, vchar_t *));
|
D | isakmp_agg.h | 37 extern int agg_i1send __P((struct ph1handle *, vchar_t *)); 38 extern int agg_i2recv __P((struct ph1handle *, vchar_t *)); 39 extern int agg_i2send __P((struct ph1handle *, vchar_t *)); 41 extern int agg_r1recv __P((struct ph1handle *, vchar_t *)); 42 extern int agg_r1send __P((struct ph1handle *, vchar_t *)); 43 extern int agg_r2recv __P((struct ph1handle *, vchar_t *)); 44 extern int agg_r2send __P((struct ph1handle *, vchar_t *));
|
D | vmbuf.c | 52 vchar_t * 56 vchar_t *var; 58 if ((var = (vchar_t *)racoon_malloc(sizeof(*var))) == NULL) 75 vchar_t * 77 vchar_t *ptr; in vrealloc() 107 vchar_t *var; in vfree() 120 vchar_t * 122 vchar_t *src; in vdup() 124 vchar_t *new;
|
D | gssapi.h | 79 int gssapi_save_received_token __P((struct ph1handle *, vchar_t *)); 80 int gssapi_get_token_to_send __P((struct ph1handle *, vchar_t **)); 81 int gssapi_get_itokens __P((struct ph1handle *, vchar_t **)); 82 int gssapi_get_rtokens __P((struct ph1handle *, vchar_t **)); 83 vchar_t *gssapi_wraphash __P((struct ph1handle *)); 84 vchar_t *gssapi_unwraphash __P((struct ph1handle *)); 90 vchar_t *gssapi_get_id __P((struct ph1handle *)); 91 vchar_t *gssapi_get_default_gss_id __P((void));
|
D | sainfo.h | 41 vchar_t *idsrc; 42 vchar_t *iddst; 50 vchar_t *group; 56 vchar_t *id_i; /* identifier of the authorized initiator */ 71 extern struct sainfo *getsainfo __P((const vchar_t *, 72 const vchar_t *, const vchar_t *, int));
|
D | isakmp_frag.h | 51 vchar_t *frag_packet; 54 int isakmp_sendfrags(struct ph1handle *, vchar_t *); 56 int isakmp_frag_extract(struct ph1handle *, vchar_t *); 57 vchar_t *isakmp_frag_reassembly(struct ph1handle *); 58 vchar_t *isakmp_frag_addcap(vchar_t *, int);
|
D | isakmp_ident.c | 93 static vchar_t *ident_ir2mx __P((struct ph1handle *)); 94 static vchar_t *ident_ir3mx __P((struct ph1handle *)); 109 vchar_t *msg; /* must be null */ 114 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; 118 vchar_t *vid_xauth = NULL; 119 vchar_t *vid_unity = NULL; 122 vchar_t *vid_frag = NULL; 125 vchar_t *vid_dpd = NULL; 254 vchar_t *msg; 256 vchar_t *pbuf = NULL; [all …]
|
D | racoonctl.c | 90 static vchar_t *get_combuf __P((int, char **)); 91 static int handle_recv __P((vchar_t *)); 92 static vchar_t *f_reload __P((int, char **)); 93 static vchar_t *f_getsched __P((int, char **)); 94 static vchar_t *f_getsa __P((int, char **)); 95 static vchar_t *f_flushsa __P((int, char **)); 96 static vchar_t *f_deletesa __P((int, char **)); 97 static vchar_t *f_exchangesa __P((int, char **)); 98 static vchar_t *f_vpnc __P((int, char **)); 99 static vchar_t *f_vpnd __P((int, char **)); [all …]
|
D | eaytest.c | 74 static vchar_t *pem_read_buf __P((char *)); 93 vchar_t *src, *sig; in rsa_verify_with_pubkey() 117 vchar_t src; 118 vchar_t *priv, *sig; 195 static vchar_t * 203 vchar_t *ret; 232 vchar_t *asn1dn = NULL, asn1dn0; 362 vchar_t c; 364 vchar_t *vstr; 586 typedef vchar_t* (eay_func) (vchar_t *, vchar_t *, vchar_t *); [all …]
|
D | vendorid.c | 104 static vchar_t *vendorid_fixup(int, vchar_t *t); 149 vchar_t vid; in compute_vendorids() 184 vchar_t * 188 vchar_t vid, *new; in set_vendorid() 220 vchar_t vid, *vidhash; in check_vendorid() 286 static vchar_t * 289 vchar_t *vidhash; 293 vchar_t *tmp;
|
D | remoteconf.h | 70 vchar_t *idv; /* my identifier */ 71 vchar_t *key; /* my pre-shared key */ 99 vchar_t *script[SCRIPT_MAX + 1];/* script hooks paths */ 147 vchar_t *gssid; 158 vchar_t *id; /* identifier */ 194 extern vchar_t *script_path_add __P((vchar_t *));
|
D | isakmp_base.c | 105 vchar_t *msg; /* must be null */ 110 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; 114 vchar_t *vid_frag = NULL; 117 vchar_t *vid_xauth = NULL; 118 vchar_t *vid_unity = NULL; 121 vchar_t *vid_dpd = NULL; 294 vchar_t *msg; 296 vchar_t *pbuf = NULL; 298 vchar_t *satmp = NULL; 302 vchar_t *unity_vid; [all …]
|
D | isakmp_agg.c | 113 vchar_t *msg; /* must be null */ 117 vchar_t *cr = NULL; 120 vchar_t *vid_natt[MAX_NATT_VID_COUNT] = { NULL }; 124 vchar_t *vid_xauth = NULL; 125 vchar_t *vid_unity = NULL; 128 vchar_t *vid_frag = NULL; 131 vchar_t *gsstoken = NULL; 135 vchar_t *vid_dpd = NULL; 340 vchar_t *msg; 342 vchar_t *pbuf = NULL; [all …]
|