/openssl/crypto/asn1/ |
H A D | asn_moid.c | 63 const char *ln, *ostr, *p; in do_create() local 68 ln = name; in do_create() 72 ln = name; in do_create() 75 ln = value; in do_create() 81 while (ossl_isspace(*ln)) in do_create() 82 ln++; in do_create() 85 if (p == ln) in do_create() 92 memcpy(lntmp, ln, p - ln); in do_create() 93 lntmp[p - ln] = '\0'; in do_create() 94 ln = lntmp; in do_create() [all …]
|
H A D | a_object.c | 314 OPENSSL_free((char *)ret->ln); in ossl_c2i_ASN1_OBJECT() 321 ret->ln = NULL; in ossl_c2i_ASN1_OBJECT() 358 OPENSSL_free((void*)a->ln); in ASN1_OBJECT_free() 360 a->sn = a->ln = NULL; in ASN1_OBJECT_free() 372 const char *sn, const char *ln) in ASN1_OBJECT_create() argument 377 o.ln = ln; in ASN1_OBJECT_create()
|
H A D | tasn_prn.c | 407 const char *ln; in asn1_print_oid() local 408 ln = OBJ_nid2ln(OBJ_obj2nid(oid)); in asn1_print_oid() 409 if (!ln) in asn1_print_oid() 410 ln = ""; in asn1_print_oid() 412 if (BIO_printf(out, "%s (%s)", ln, objbuf) <= 0) in asn1_print_oid()
|
/openssl/crypto/objects/ |
H A D | obj_dat.pl | 49 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 D | objects.pl | 92 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 D | obj_dat.c | 116 return strcmp((*a)->ln, nid_objs[*b].ln); in ln_cmp() 140 ret = OPENSSL_LH_strhash(a->ln); in added_obj_hash() 178 if (a->ln == NULL) in added_obj_cmp() 180 else if (b->ln == NULL) in added_obj_cmp() 183 return strcmp(a->ln, b->ln); in added_obj_cmp() 277 || (o->ln != NULL in ossl_obj_add_object() 367 return ob == NULL ? NULL : ob->ln; in OBJ_nid2ln() 644 o.ln = s; in OBJ_ln2nid() 792 || (ln != NULL && OBJ_ln2nid(ln) != NID_undef)) { in OBJ_create() 830 tmpoid->ln = (char *)ln; in OBJ_create() [all …]
|
H A D | obj_lib.c | 44 if (o->ln != NULL && (r->ln = OPENSSL_strdup(o->ln)) == NULL) in OBJ_dup()
|
H A D | objxref.pl | 36 my $ln = 1; 47 $xref_tbl{$xr} = [$p1, $p2, $ln];
|
/openssl/crypto/x509/ |
H A D | v3_admis.c | 88 const char *ln = OBJ_nid2ln(OBJ_obj2nid(namingAuthority->namingAuthorityId)); in i2r_NAMING_AUTHORITY() local 95 if (BIO_printf(bp, "%s%s%s%s\n", ln ? ln : "", in i2r_NAMING_AUTHORITY() 96 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()
|
H A D | x_attrib.c | 62 const char *ln; in print_oid() local 68 ln = OBJ_nid2ln(OBJ_obj2nid(oid)); in print_oid() 69 rc = (ln != NULL) in print_oid() 70 ? BIO_printf(out, "%s (%s)", objbuf, ln) in print_oid()
|
/openssl/crypto/bn/ |
H A D | bn_sqr.c | 160 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 D | bn_mul.c | 181 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 D | tlsfuzzer.sh | 61 test -L ecdsa || ln -s ../python-ecdsa/src/ecdsa ecdsa 62 test -L tlslite || ln -s ../tlslite-ng/tlslite tlslite 2>/dev/null
|
/openssl/doc/man3/ |
H A D | OBJ_nid2obj.pod | 20 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 93 I<ln> may be NULL, but not all at once.
|
/openssl/test/ |
H A D | asn1_internal_test.c | 199 static int test_obj_create_once(const char *oid, const char *sn, const char *ln) in test_obj_create_once() argument 205 nid = OBJ_create(oid, sn, ln); in test_obj_create_once()
|
H A D | threadstest.c | 1105 char tids[12], oid[40], sn[30], ln[30]; in test_obj_create_one() local 1111 BIO_snprintf(ln, sizeof(ln), "long-name-%s", tids); in test_obj_create_one() 1113 || !TEST_true(id = OBJ_create(oid, sn, ln)) in test_obj_create_one()
|
H A D | smcont.bin | 11 …Ƕx���8�vK�,TU���L���g�q*,0km�,J��J��#Uh;І��%-�z��1s����v��s��!8;ln�?�B�2Y��aO�N��˯��…
|
/openssl/apps/ |
H A D | pkcs12.c | 1239 const char *ln; in print_attribute() local 1268 ln = OBJ_nid2ln(OBJ_obj2nid(av->value.object)); in print_attribute() 1269 if (!ln) in print_attribute() 1270 ln = ""; in print_attribute() 1272 BIO_printf(out, "%s (%s)", ln, objbuf); in print_attribute()
|
H A D | list.c | 991 const char *ln = OBJ_nid2ln(i); in list_objects() local 1005 BIO_printf(bio_out, "# None-OID object: %s, %s\n", sn, ln); in list_objects() 1021 if (ln == NULL || strcmp(sn, ln) == 0) in list_objects() 1024 BIO_printf(bio_out, "%s = %s, %s\n", sn, ln, oid_buf); in list_objects()
|
/openssl/include/openssl/ |
H A D | objects.h | 165 int OBJ_create(const char *oid, const char *sn, const char *ln);
|
H A D | err.h.in | 41 # 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)
|
/openssl/include/crypto/ |
H A D | asn1.h | 115 const char *sn, *ln; member
|
/openssl/Configurations/ |
H A D | unix-Makefile.tmpl | 710 ln=`basename "$$x2"`; \ 712 $(ECHO) "copy $(DESTDIR)$(OPENSSLDIR)/misc/$$ln -> $(DESTDIR)$(OPENSSLDIR)/misc/$$fn"; \ 713 cp "$(DESTDIR)$(OPENSSLDIR)/misc/$$fn" "$(DESTDIR)$(OPENSSLDIR)/misc/$$ln"; \ 716 $(ECHO) "link $(DESTDIR)$(OPENSSLDIR)/misc/$$ln -> $(DESTDIR)$(OPENSSLDIR)/misc/$$fn"; \ 717 ln -sf $$fn "$(DESTDIR)$(OPENSSLDIR)/misc/$$ln"; \ 777 ln -sf $$fn1 "$(DESTDIR)$(libdir)/$$fn2"; \ 1459 ln -sf "../$(SRCDIR)/util/`basename "$@"`" "$(BLDDIR)/util"; \ 1465 ln -sf "../$(SRCDIR)/apps/`basename "$@"`" "$(BLDDIR)/apps"; \ 1861 ln -s $full $simple
|
/openssl/crypto/ |
H A D | provider_core.c | 2233 const char *sn, const char *ln) in core_obj_create() argument 2237 || OBJ_create(oid, sn, ln) != NID_undef; in core_obj_create()
|
/openssl/doc/man7/ |
H A D | provider-base.pod | 37 const char *sn, const char *ln); 276 I<sn> and long name I<ln> for the given I<handle>. It is similar to the OpenSSL 279 short name I<sn> or long name I<ln> provided as arguments differ from those
|