Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 25 of 26) sorted by relevance

12

/openssl/crypto/asn1/
H A Dasn_moid.c63 const char *ln, *ostr, *p; in do_create() local
68 ln = name; in do_create()
71 ln = value; in do_create()
77 while (ossl_isspace(*ln)) in do_create()
78 ln++; in do_create()
81 if (p == ln) in do_create()
86 if ((lntmp = OPENSSL_malloc((p - ln) + 1)) == NULL) { in do_create()
90 memcpy(lntmp, ln, p - ln); in do_create()
91 lntmp[p - ln] = '\0'; in do_create()
92 ln = lntmp; in do_create()
[all …]
H A Da_object.c321 OPENSSL_free((char *)ret->ln); in ossl_c2i_ASN1_OBJECT()
328 ret->ln = NULL; in ossl_c2i_ASN1_OBJECT()
367 OPENSSL_free((void*)a->ln); in ASN1_OBJECT_free()
369 a->sn = a->ln = NULL; in ASN1_OBJECT_free()
381 const char *sn, const char *ln) in ASN1_OBJECT_create() argument
386 o.ln = ln; in ASN1_OBJECT_create()
H A Dtasn_prn.c409 const char *ln; in asn1_print_oid() local
410 ln = OBJ_nid2ln(OBJ_obj2nid(oid)); in asn1_print_oid()
411 if (!ln) in asn1_print_oid()
412 ln = ""; in asn1_print_oid()
414 if (BIO_printf(out, "%s (%s)", ln, objbuf) <= 0) in asn1_print_oid()
/openssl/crypto/objects/
H A Dobj_dat.pl49 my %ln;
77 $ln{$1} = $d;
119 my $ln = defined $ln{$nid{$i}} ? "$ln{$nid{$i}}" : "NULL";
121 $sn = $ln;
122 $sn{$nid{$i}} = $ln;
124 if ($ln eq "NULL") {
125 $ln = $sn;
126 $ln{$nid{$i}} = $sn;
129 my $out = " {\"$sn\", \"$ln\", NID_$nid{$i}";
193 @a = grep(defined $ln{$nid{$_}}, 0 .. $n);
[all …]
H A Dobjects.pl92 if ($Cname ne "" && defined($ln{$module.$Cname}))
93 …{ die "objects.txt:$o:There's already an object with long name ",$ln{$module.$Cname}," on line ",$…
108 if ($Cname ne "" && defined($ln{$module.$Cname}))
109 …{ die "objects.txt:$o:There's already an object with long name ",$ln{$module.$Cname}," on line ",$…
117 $ln{$Cname} = $myln;
174 print expand("#define LN_$Cname\t\t\"$ln{$Cname}\"\n") if $ln{$Cname} ne "";
H A Dobj_dat.c115 return strcmp((*a)->ln, nid_objs[*b].ln); in ln_cmp()
139 ret = OPENSSL_LH_strhash(a->ln); in added_obj_hash()
177 if (a->ln == NULL) in added_obj_cmp()
179 else if (b->ln == NULL) in added_obj_cmp()
182 return strcmp(a->ln, b->ln); in added_obj_cmp()
256 || (o->ln != NULL in ossl_obj_add_object()
337 return ob == NULL ? NULL : ob->ln; in OBJ_nid2ln()
597 o.ln = s; in OBJ_ln2nid()
738 || (ln != NULL && OBJ_ln2nid(ln) != NID_undef)) { in OBJ_create()
765 tmpoid->ln = (char *)ln; in OBJ_create()
[all …]
H A Dobj_lib.c44 if (o->ln != NULL && (r->ln = OPENSSL_strdup(o->ln)) == NULL) in OBJ_dup()
H A Dobjxref.pl36 my $ln = 1;
47 $xref_tbl{$xr} = [$p1, $p2, $ln];
/openssl/crypto/x509/
H A Dv3_admis.c89 const char *ln = OBJ_nid2ln(OBJ_obj2nid(namingAuthority->namingAuthorityId)); in i2r_NAMING_AUTHORITY() local
96 if (BIO_printf(bp, "%s%s%s%s\n", ln ? ln : "", in i2r_NAMING_AUTHORITY()
97 ln ? " (" : "", objbuf, ln ? ")" : "") <= 0) in i2r_NAMING_AUTHORITY()
187 const char *ln = OBJ_nid2ln(OBJ_obj2nid(obj)); in i2r_ADMISSION_SYNTAX() local
192 ln ? ln : "", ln ? " (" : "", in i2r_ADMISSION_SYNTAX()
193 objbuf, ln ? ")" : "") <= 0) in i2r_ADMISSION_SYNTAX()
/openssl/crypto/bn/
H A Dbn_sqr.c160 BN_ULONG ln, lo, *p; in bn_sqr_recursive() local
222 ln = (lo + c1) & BN_MASK2; in bn_sqr_recursive()
223 *p = ln; in bn_sqr_recursive()
229 if (ln < (BN_ULONG)c1) { in bn_sqr_recursive()
233 ln = (lo + 1) & BN_MASK2; in bn_sqr_recursive()
234 *p = ln; in bn_sqr_recursive()
235 } while (ln == 0); in bn_sqr_recursive()
H A Dbn_mul.c181 BN_ULONG ln, lo, *p; in bn_mul_recursive() local
300 ln = (lo + c1) & BN_MASK2; in bn_mul_recursive()
301 *p = ln; in bn_mul_recursive()
307 if (ln < (BN_ULONG)c1) { in bn_mul_recursive()
312 *p = ln; in bn_mul_recursive()
313 } while (ln == 0); in bn_mul_recursive()
327 BN_ULONG ln, lo, *p; in bn_mul_part_recursive() local
456 *p = ln; in bn_mul_part_recursive()
462 if (ln < (BN_ULONG)c1) { in bn_mul_part_recursive()
467 *p = ln; in bn_mul_part_recursive()
[all …]
/openssl/test/recipes/95-test_external_tlsfuzzer_data/
H A Dtlsfuzzer.sh58 test -L ecdsa || ln -s ../python-ecdsa/src/ecdsa ecdsa
59 test -L tlslite || ln -s ../tlslite-ng/tlslite tlslite 2>/dev/null
/openssl/test/
H A Dthreadstest.c637 char tids[12], oid[40], sn[30], ln[30]; in test_obj_create_one() local
643 BIO_snprintf(ln, sizeof(ln), "long-name-%s", tids); in test_obj_create_one()
645 || !TEST_true(id = OBJ_create(oid, sn, ln)) in test_obj_create_one()
H A Dsmcont.bin11 …Ƕx���8�vK�,TU���L���g�q*,0km�,J��J��#Uh;І��%-�z��1s����v��s��!8;ln�?�B�2Y���aO�N��˯��…
/openssl/doc/man3/
H A DOBJ_nid2obj.pod20 int OBJ_ln2nid(const char *ln);
33 int OBJ_create(const char *oid, const char *sn, const char *ln);
62 for the object I<o>, the long name I<ln> or the short name I<sn> respectively
90 numerical form of the object, I<sn> the short name and I<ln> the
/openssl/crypto/txt_db/
H A Dtxt_db.c24 long ln = 0; in TXT_DB_read() local
64 ln++; in TXT_DB_read()
/openssl/include/openssl/
H A Dobjects.h165 int OBJ_create(const char *oid, const char *sn, const char *ln);
H A Derr.h.in41 # define ERR_PUT_error(l,f,r,fn,ln) ERR_put_error(l,f,r,fn,ln) argument
43 # define ERR_PUT_error(l,f,r,fn,ln) ERR_put_error(l,f,r,NULL,0)
H A Dcore_dispatch.h105 const char *sn, const char *ln))
H A Dasn1.h.in702 const char *sn, const char *ln);
/openssl/include/crypto/
H A Dasn1.h115 const char *sn, *ln; member
/openssl/apps/
H A Dlist.c941 const char *ln = OBJ_nid2ln(i); in list_objects() local
955 BIO_printf(bio_out, "# None-OID object: %s, %s\n", sn, ln); in list_objects()
971 if (ln == NULL || strcmp(sn, ln) == 0) in list_objects()
974 BIO_printf(bio_out, "%s = %s, %s\n", sn, ln, oid_buf); in list_objects()
/openssl/Configurations/
H A Dunix-Makefile.tmpl663 ln=`basename "$$x2"`; \
665 $(ECHO) "copy $(DESTDIR)$(OPENSSLDIR)/misc/$$ln -> $(DESTDIR)$(OPENSSLDIR)/misc/$$fn"; \
666 cp $(DESTDIR)$(OPENSSLDIR)/misc/$$fn $(DESTDIR)$(OPENSSLDIR)/misc/$$ln; \
669 $(ECHO) "link $(DESTDIR)$(OPENSSLDIR)/misc/$$ln -> $(DESTDIR)$(OPENSSLDIR)/misc/$$fn"; \
670 ln -sf $$fn $(DESTDIR)$(OPENSSLDIR)/misc/$$ln; \
730 ln -sf $$fn1 $(DESTDIR)$(libdir)/$$fn2; \
1405 ln -sf "../$(SRCDIR)/util/`basename "$@"`" "$(BLDDIR)/util"; \
1411 ln -sf "../$(SRCDIR)/apps/`basename "$@"`" "$(BLDDIR)/apps"; \
1825 ln -s $full $simple
/openssl/doc/man7/
H A Dprovider-base.pod37 const char *sn, const char *ln);
262 I<sn> and long name I<ln> for the given I<handle>. It is similar to the OpenSSL
265 short name I<sn> or long name I<ln> provided as arguments differ from those
/openssl/crypto/
H A Dprovider_core.c2066 const char *sn, const char *ln) in core_obj_create() argument
2070 || OBJ_create(oid, sn, ln) != NID_undef; in core_obj_create()

Completed in 97 milliseconds

12