Lines Matching defs:ndef
78 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use
131 int i, seqcontlen, seqlen, ndef = 1;
193 ndef = 2;
228 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
232 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
243 if (ndef == 2)
265 int i, ret, flags, ttag, tclass, ndef;
300 /* if template and arguments require ndef, use it */
302 ndef = 2;
304 ndef = 1;
347 sklen = ASN1_object_size(ndef, skcontlen, sktag);
350 ret = ASN1_object_size(ndef, sklen, ttag);
360 ASN1_put_object(out, ndef, sklen, ttag, tclass);
362 ASN1_put_object(out, ndef, skcontlen, sktag, skaclass);
366 if (ndef == 2) {
382 ret = ASN1_object_size(ndef, i, ttag);
385 ASN1_put_object(out, ndef, i, ttag, tclass);
387 if (ndef == 2)
487 int ndef = 0;
513 /* -2 return is special meaning use ndef */
515 ndef = 2;
526 ASN1_put_object(out, ndef, len, tag, aclass);
528 if (ndef)
535 return ASN1_object_size(ndef, len, tag);