Lines Matching defs:ndef
77 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder
133 int i, seqcontlen, seqlen, ndef = 1;
196 if (aclass & ASN1_TFLG_NDEF) ndef = 2;
233 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
237 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
249 if (ndef == 2)
271 int i, ret, flags, ttag, tclass, ndef;
311 /* if template and arguments require ndef, use it */
313 ndef = 2;
314 else ndef = 1;
361 sklen = ASN1_object_size(ndef, skcontlen, sktag);
364 ret = ASN1_object_size(ndef, sklen, ttag);
373 ASN1_put_object(out, ndef, sklen, ttag, tclass);
375 ASN1_put_object(out, ndef, skcontlen, sktag, skaclass);
379 if (ndef == 2)
398 ret = ASN1_object_size(ndef, i, ttag);
402 ASN1_put_object(out, ndef, i, ttag, tclass);
405 if (ndef == 2)
514 int ndef = 0;
540 /* -2 return is special meaning use ndef */
543 ndef = 2;
554 ASN1_put_object(out, ndef, len, tag, aclass);
556 if (ndef)
563 return ASN1_object_size(ndef, len, tag);
674 /* Special handling for NDEF */