Searched defs:pval (Results 1 - 25 of 29) sorted by relevance

12

/external/openssl/crypto/dh/
H A Ddh_asn1.c67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 *pval = (ASN1_VALUE *)DH_new();
72 if(*pval) return 2;
75 DH_free((DH *)*pval);
76 *pval = NULL;
H A Ddh_ameth.c76 void *pval; local
85 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
93 pstr = pval;
132 void *pval = NULL; local
148 pval = str;
166 ptype, pval, penc, penclen))
172 if (pval)
173 ASN1_STRING_free(pval);
189 void *pval; local
199 X509_ALGOR_get0(NULL, &ptype, &pval, pal
[all...]
/external/openssl/crypto/rsa/
H A Drsa_asn1.c67 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 *pval = (ASN1_VALUE *)RSA_new();
72 if(*pval) return 2;
75 RSA_free((RSA *)*pval);
76 *pval = NULL;
/external/openssl/crypto/asn1/
H A Dnsseq.c65 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
70 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
H A Dp8_pkey.c65 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
70 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval;
89 int ptype, void *pval,
114 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval))
H A Dx_pubkey.c72 static int pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
77 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval;
349 int ptype, void *pval,
352 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval))
H A Dx_req.c82 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
85 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
H A Dx_x509.c84 static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
87 X509 *ret = (X509 *)*pval;
H A Dx_crl.c94 static int crl_inf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
97 X509_CRL_INFO *a = (X509_CRL_INFO *)*pval;
208 static int crl_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
211 X509_CRL *crl = (X509_CRL *)*pval;
H A Dx_bignum.c72 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
76 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
97 *pval = (ASN1_VALUE *)BN_new();
98 if(*pval) return 1;
102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
104 if(!*pval) return;
105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval);
110 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument
126 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_fre.c65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine);
74 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
76 asn1_item_combine_free(pval, it, 0);
79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) argument
87 if (!pval)
89 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
101 ASN1_template_free(pval, it->templates);
103 ASN1_primitive_free(pval, it);
107 ASN1_primitive_free(pval, it);
113 i = asn1_cb(ASN1_OP_FREE_PRE, pval, i
183 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
204 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_new.c67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
71 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
85 return asn1_item_ex_combine_new(pval, it, 0);
88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, argument
103 if (!combine) *pval = NULL;
117 if (!ef->asn1_ex_new(pval, it))
125 *pval
230 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
266 ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
311 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
325 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
377 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dx_long.c69 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
70 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx);
94 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
96 *(long *)pval = it->size;
100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
102 *(long *)pval = it->size;
105 static int long_i2c(ASN1_VALUE **pval, unsigne argument
142 long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
175 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument
[all...]
H A Dtasn_utl.c76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
78 int *sel = offset2ptr(*pval, it->utype);
86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) argument
89 sel = offset2ptr(*pval, it->utype);
101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument
111 lck = offset2ptr(*pval, aux->ref_offset);
128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
131 if (!pval || !*pval)
136 return offset2ptr(*pval, au
139 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
151 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
165 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument
185 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument
203 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
220 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) argument
[all...]
H A Dx_name.c86 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval,
157 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
160 if(!pval || !*pval)
162 a = (X509_NAME *)*pval;
169 *pval = NULL;
294 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval, argument
299 if (X509_NAME_print_ex(out, (X509_NAME *)*pval,
H A Dtasn_dec.c82 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
90 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
128 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument
133 if (!pval)
134 pval = &ptmpval;
136 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0)
137 return *pval;
141 int ASN1_template_d2i(ASN1_VALUE **pval, argument
146 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument
766 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) argument
919 asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_enc.c67 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
73 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
130 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, argument
141 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
152 return asn1_template_ex_i2d(pval, out, it->templates,
154 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
158 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass);
161 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL))
163 i = asn1_get_choice_selector(pval, it);
169 pchval = asn1_get_field_ptr(pval, cht
264 ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) argument
270 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument
504 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument
565 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument
[all...]
/external/openssl/crypto/dsa/
H A Ddsa_asn1.c67 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
80 *pval = (ASN1_VALUE *)sig;
94 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
98 *pval = (ASN1_VALUE *)DSA_new();
99 if(*pval) return 2;
102 DSA_free((DSA *)*pval);
103 *pval = NULL;
H A Ddsa_ameth.c74 void *pval; local
83 X509_ALGOR_get0(NULL, &ptype, &pval, palg);
88 pstr = pval;
141 void *pval = NULL; local
157 pval = str;
174 ptype, pval, penc, penclen))
180 if (pval)
181 ASN1_STRING_free(pval);
195 void *pval; local
206 X509_ALGOR_get0(NULL, &ptype, &pval, pal
[all...]
/external/openssl/crypto/pkcs7/
H A Dpk7_asn1.c81 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
85 PKCS7 **pp7 = (PKCS7 **)pval;
130 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
134 PKCS7_SIGNER_INFO *si = (PKCS7_SIGNER_INFO *)*pval;
173 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
177 PKCS7_RECIP_INFO *ri = (PKCS7_RECIP_INFO *)*pval;
/external/iproute2/include/linux/tc_act/
H A Dtc_gact.h19 __u16 pval; member in struct:tc_gact_p
/external/clang/test/Analysis/
H A Dcasts.c32 void f1(struct s **pval) { argument
34 struct s *t = *pval;
35 pval = &(t->value);
36 tbool = (int *)pval; // use the cast-to type 'int *' to create element region.
/external/srec/srec/clib/
H A Dswimodel.c413 prdata pval; local
421 pval = 0;
427 pval -= diff * diff;
429 pval = data->mul.multable_factor_gaussian
430 * (pval - data->mul.grand_mod_cov_gaussian);
431 return (pval);
441 prdata pval, gval; local
450 pval = -(prdata) MAX_LOG;
462 if (pval > gval)
464 dval = pval
[all...]
/external/openssl/crypto/x509v3/
H A Dv3_crld.c376 static int dpn_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
379 DIST_POINT_NAME *dpn = (DIST_POINT_NAME *)*pval;
/external/ppp/pppd/plugins/radius/
H A Davpair.c34 VALUE_PAIR *rc_avpair_add (VALUE_PAIR **list, int attrid, void *pval, int len, argument
39 vp = rc_avpair_new (attrid, pval, len, vendorcode);
60 int rc_avpair_assign (VALUE_PAIR *vp, void *pval, int len) argument
68 if (((len == 0) && (strlen ((char *) pval)) > AUTH_STRING_LEN)
75 memcpy(vp->strvalue, (char *)pval, len);
79 strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN);
80 vp->lvalue = strlen((char *) pval);
90 vp->lvalue = * (UINT4 *) pval;
110 VALUE_PAIR *rc_avpair_new (int attrid, void *pval, int len, int vendorcode) argument
129 if (rc_avpair_assign (vp, pval, le
[all...]

Completed in 502 milliseconds

12