Home | History | Annotate | Download | only in asn1

Lines Matching refs:ndef

79 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder
135 int i, seqcontlen, seqlen, ndef = 1;
198 if (aclass & ASN1_TFLG_NDEF) ndef = 2;
235 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
239 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
251 if (ndef == 2)
273 int i, ret, flags, ttag, tclass, ndef;
312 /* if template and arguments require ndef, use it */
314 ndef = 2;
315 else ndef = 1;
362 sklen = ASN1_object_size(ndef, skcontlen, sktag);
365 ret = ASN1_object_size(ndef, sklen, ttag);
374 ASN1_put_object(out, ndef, sklen, ttag, tclass);
376 ASN1_put_object(out, ndef, skcontlen, sktag, skaclass);
380 if (ndef == 2)
399 ret = ASN1_object_size(ndef, i, ttag);
403 ASN1_put_object(out, ndef, i, ttag, tclass);
406 if (ndef == 2)
510 int ndef = 0;
536 /* -2 return is special meaning use ndef */
539 ndef = 2;
550 ASN1_put_object(out, ndef, len, tag, aclass);
552 if (ndef)
559 return ASN1_object_size(ndef, len, tag);
670 /* Special handling for NDEF */