Home | History | Annotate | Download | only in asn1

Lines Matching defs: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)
515 int ndef = 0;
541 /* -2 return is special meaning use ndef */
544 ndef = 2;
555 ASN1_put_object(out, ndef, len, tag, aclass);
557 if (ndef)
564 return ASN1_object_size(ndef, len, tag);
675 /* Special handling for NDEF */