• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenSSH-186/osslshim/ossl-asn1/

Lines Matching refs:pval

118 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
126 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
162 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval,
167 if (!pval)
168 pval = &ptmpval;
170 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0)
171 return *pval;
175 int ASN1_template_d2i(ASN1_VALUE **pval,
180 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
188 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
206 if (!pval)
229 return asn1_template_ex_d2i(pval, in, len,
232 return asn1_d2i_ex_primitive(pval, in, len, it,
267 return asn1_d2i_ex_primitive(pval, in, len,
273 return ef->asn1_ex_d2i(pval, in, len,
332 ptmpval = cf->asn1_d2i(pval, in, len);
345 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it))
349 if (!*pval && !ASN1_item_ex_new(pval, it))
359 pchptr = asn1_get_field_ptr(pval, tt);
384 ASN1_item_ex_free(pval, it);
392 asn1_set_choice_selector(pval, i, it);
394 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it))
434 if (!*pval && !ASN1_item_ex_new(pval, it))
441 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it))
449 seqtt = asn1_do_adb(pval, tt, 1);
452 pseqval = asn1_get_field_ptr(pval, seqtt);
522 seqtt = asn1_do_adb(pval, tt, 1);
528 pseqval = asn1_get_field_ptr(pval, seqtt);
540 if (!asn1_enc_save(pval, *in, p - *in, it))
543 if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it))
553 ASN1_item_ex_free(pval, it);
800 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
812 if (!pval)
941 if (!asn1_ex_c2i(pval, cont, len, utype, &free_cont, it))
953 int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
965 return pf->prim_c2i(pval, cont, len, utype, free_cont, it);
969 if (!*pval)
974 *pval = (ASN1_VALUE *)typ;
977 typ = (ASN1_TYPE *)*pval;
981 opval = pval;
982 pval = &typ->value.asn1_value;
987 if (!c2i_ASN1_OBJECT((ASN1_OBJECT **)pval, &cont, len))
998 *pval = (ASN1_VALUE *)1;
1011 tbool = (ASN1_BOOLEAN *)pval;
1017 if (!c2i_ASN1_BIT_STRING((ASN1_BIT_STRING **)pval, &cont, len))
1025 tint = (ASN1_INTEGER **)pval;
1063 if (!*pval)
1072 *pval = (ASN1_VALUE *)stmp;
1076 stmp = (ASN1_STRING *)*pval;
1095 *pval = NULL;