Home
last modified time | relevance | path

Searched refs:asn1 (Results 1 – 25 of 192) sorted by relevance

12345678

/freebsd/crypto/openssl/crypto/pem/
H A Dpem_local.h42 #define IMPLEMENT_PEM_provided_write_body_vars(type, asn1, pq) \ argument
44 OSSL_ENCODER_CTX *ctx = OSSL_ENCODER_CTX_new_for_##type(x, PEM_SELECTION_##asn1, \
45 "PEM", PEM_STRUCTURE_##asn1, \
84 #define IMPLEMENT_PEM_provided_write_body_fallback(str, asn1, \ argument
87 return PEM_ASN1_##writename((i2d_of_void *)i2d_##asn1, str, out, \
89 #define IMPLEMENT_PEM_provided_write_body_fallback_cb(str, asn1, \ argument
92 return PEM_ASN1_##writename##((i2d_of_void *)i2d_##asn1, str, out, \
95 #define IMPLEMENT_PEM_provided_write_to(name, TYPE, type, str, asn1, \ argument
99 IMPLEMENT_PEM_provided_write_body_vars(type, asn1, NULL); \
101 IMPLEMENT_PEM_provided_write_body_fallback(str, asn1, \
[all …]
/freebsd/lib/libbsnmp/libbsnmp/
H A DMakefile23 SRCS= asn1.c snmp.c snmpagent.c snmpclient.c snmpcrypto.c support.c
25 INCS= asn1.h snmp.h snmpagent.h snmpclient.h
26 MAN= asn1.3 bsnmpagent.3 bsnmpclient.3 bsnmplib.3
44 MLINKS+= asn1.3 asn_append_oid.3
45 MLINKS+= asn1.3 asn_commit_header.3
46 MLINKS+= asn1.3 asn_compare_oid.3
47 MLINKS+= asn1.3 asn_get_counter64_raw.3
48 MLINKS+= asn1.3 asn_get_header.3
49 MLINKS+= asn1.3 asn_get_integer.3
50 MLINKS+= asn1.3 asn_get_integer_raw.3
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A DMakefile.am62 build_HEADERZ = asn1-template.h
83 asn1-template.h \
154 dist_include_HEADERS += asn1-common.h
202 rfc2459_asn1_files: asn1_compile$(EXEEXT) $(srcdir)/rfc2459.asn1
203 $(ASN1_COMPILE) --one-code-file --preserve-binary=TBSCertificate --preserve-binary=TBSCRLCertList --preserve-binary=Name --sequence=GeneralNames --sequence=Extensions --sequence=CRLDistributionPoints $(srcdir)/rfc2459.asn1 rfc2459_asn1 || (rm -f rfc2459_asn1_files ; exit 1)
205 cms_asn1_files: asn1_compile$(EXEEXT) $(srcdir)/cms.asn1 $(srcdir)/cms.opt
206 $(ASN1_COMPILE) --one-code-file --option-file=$(srcdir)/cms.opt $(srcdir)/cms.asn1 cms_asn1 || (rm -f cms_asn1_files ; exit 1)
208 krb5_asn1_files: asn1_compile$(EXEEXT) $(srcdir)/krb5.asn1 $(srcdir)/krb5.opt
209 $(ASN1_COMPILE) --one-code-file --option-file=$(srcdir)/krb5.opt $(srcdir)/krb5.asn1 krb5_asn1 || (rm -f krb5_asn1_files ; exit 1)
211 pkinit_asn1_files: asn1_compile$(EXEEXT) $(srcdir)/pkinit.asn1
[all...]
H A DChangeLog3 * pkinit.asn1: add id-pkinit-kdf
5 * pkinit.asn1: add PkinitSP80056AOtherInfo
13 * k5.asn1: Match name in ClientCanonicalizedNames with -10
15 * k5.asn1: add referral-valid-until
19 * asn1-common.h gen.c der.c gen_encode.c: add and use der_{malloc,free}
29 * digest.asn1: Add supportedMechs request.
33 * k5.asn1: Some "old" windows enctypes. From Andy Polyakov.
39 * pkinit.asn1: Fold in pk-init-alg-agilty.
58 * test.asn1: Test SIZE attribute for SEQ and OCTET STRING
66 * rfc2459.asn1: Re-add size limits.
[all …]
H A DMakefile.in55 subdir = lib/asn1
476 @KRB5_TRUE@ $(top_builddir)/lib/asn1/libasn1.la
517 build_HEADERZ = asn1-template.h
537 asn1-template.h \
603 asn1-common.h
615 cms.asn1 \
618 canthandle.asn1 \
619 digest.asn1 \
620 krb5.asn1 \
622 kx509.asn1 \
[all …]
/freebsd/kerberos5/lib/libasn1/
H A DMakefile1 LIB= asn1
3 INCS= asn1_err.h asn1-common.h heim_asn1.h der.h der-protos.h der-private.h
22 CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
59 ${GEN_CMS}: cms.asn1 cms.opt
61 --option-file=${.ALLSRC:M*.opt} ${.ALLSRC:M*.asn1} cms_asn1
65 ${GEN_RFC2459}: rfc2459.asn1
73 --sequence=CRLDistributionPoints ${.ALLSRC:M*.asn1} rfc2459_asn1
77 ${GEN_K5}: krb5.asn1 krb5.opt
81 ${.ALLSRC:M*.asn1} krb5_asn1
85 ${GEN_PKINIT}: pkinit.asn1
[all …]
/freebsd/crypto/openssl/include/openssl/
H A Dpem.h105 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ argument
106 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ argument
108 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ argument
110 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ argument
112 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ argument
116 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \
119 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str, fp, \
123 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \
126 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1, str, out, \
131 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) \
[all …]
/freebsd/crypto/openssl/providers/common/der/
H A Dbuild.info8 DEPEND[$DER_DIGESTS_GEN]=oids_to_c.pm NIST.asn1 DIGESTS.asn1
12 DEPEND[$DER_DIGESTS_H]=oids_to_c.pm NIST.asn1 DIGESTS.asn1
22 DEPEND[$DER_RSA_GEN]=oids_to_c.pm NIST.asn1 RSA.asn1
27 DEPEND[$DER_RSA_H]=oids_to_c.pm NIST.asn1 RSA.asn1
36 DEPEND[$DER_DSA_GEN]=oids_to_c.pm DSA.asn1
41 DEPEND[$DER_DSA_H]=oids_to_c.pm DSA.asn1
51 DEPEND[$DER_EC_GEN]=oids_to_c.pm EC.asn1
56 DEPEND[$DER_EC_H]=oids_to_c.pm EC.asn1
66 DEPEND[$DER_ECX_GEN]=oids_to_c.pm ECX.asn1
71 DEPEND[$DER_ECX_H]=oids_to_c.pm ECX.asn1
[all …]
/freebsd/crypto/krb5/src/lib/krb5/asn.1/
H A Dasn1_encode.c175 k5_asn1_decode_bool(const uint8_t *asn1, size_t len, intmax_t *val) in k5_asn1_decode_bool() argument
179 *val = (*asn1 != 0); in k5_asn1_decode_bool()
186 k5_asn1_decode_int(const uint8_t *asn1, size_t len, intmax_t *val) in k5_asn1_decode_int() argument
193 n = (asn1[0] & 0x80) ? -1 : 0; in k5_asn1_decode_int()
198 n = n * 256 + asn1[i]; in k5_asn1_decode_int()
206 k5_asn1_decode_uint(const uint8_t *asn1, size_t len, uintmax_t *val) in k5_asn1_decode_uint() argument
214 if ((asn1[0] & 0x80) || len > sizeof(uintmax_t) + (asn1[0] == 0)) in k5_asn1_decode_uint()
217 n = (n << 8) | asn1[i]; in k5_asn1_decode_uint()
223 k5_asn1_decode_bytestring(const uint8_t *asn1, size_t len, in k5_asn1_decode_bytestring() argument
235 memcpy(str, asn1, len); in k5_asn1_decode_bytestring()
[all …]
H A Dasn1_encode.h59 krb5_error_code k5_asn1_decode_bool(const uint8_t *asn1, size_t len,
61 krb5_error_code k5_asn1_decode_int(const uint8_t *asn1, size_t len,
63 krb5_error_code k5_asn1_decode_uint(const uint8_t *asn1, size_t len,
65 krb5_error_code k5_asn1_decode_generaltime(const uint8_t *asn1, size_t len,
67 krb5_error_code k5_asn1_decode_bytestring(const uint8_t *asn1, size_t len,
69 krb5_error_code k5_asn1_decode_bitstring(const uint8_t *asn1, size_t len,
531 k5_asn1_decode_atype(const taginfo *t, const uint8_t *asn1, size_t len,
/freebsd/kerberos5/lib/libhx509/
H A DMakefile4 LIBADD= asn1 com_err crypto roken wind
210 CFLAGS+=-I${KRB5DIR}/lib/asn1
274 ${GEN_OCSP}: ocsp.asn1 ocsp.opt
276 ${.ALLSRC:M*.asn1} ocsp_asn1
280 ${GEN_PKCS10}: pkcs10.asn1 pkcs10.opt
282 ${.ALLSRC:M*.asn1} pkcs10_asn1
286 ${GEN_CRMF}: crmf.asn1
287 ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} crmf_asn1
301 .PATH: ${KRB5DIR}/lib/hx509 ${KRB5DIR}/lib/asn1 ${KRB5DIR}/doc/doxyout/hx509/man/man3
/freebsd/kerberos5/lib/libgssapi_spnego/
H A DMakefile3 LIBADD= gssapi heimbase asn1 roken
31 CFLAGS+=-I${KRB5DIR}/lib/asn1
40 ${GEN}: spnego.asn1 spnego.opt
42 ${.ALLSRC:M*.asn1} spnego_asn1
/freebsd/kerberos5/lib/libhdb/
H A DMakefile6 LIBADD= asn1 com_err krb5 roken sqlite3 heimbase
60 CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \
93 ${GEN}: hdb.asn1
94 ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} hdb_asn1
/freebsd/crypto/heimdal/lib/hx509/
H A DMakefile.am97 $(top_builddir)/lib/asn1/libasn1.la \
130 ocsp_asn1_files: $(ASN1_COMPILE_DEP) $(srcdir)/ocsp.asn1 $(srcdir)/ocsp.opt
131 …$(ASN1_COMPILE) --option-file=$(srcdir)/ocsp.opt $(srcdir)/ocsp.asn1 ocsp_asn1 || (rm -f ocsp_asn1…
133 pkcs10_asn1_files: $(ASN1_COMPILE_DEP) $(srcdir)/pkcs10.asn1 $(srcdir)/pkcs10.opt
134 …$(ASN1_COMPILE) --option-file=$(srcdir)/pkcs10.opt $(srcdir)/pkcs10.asn1 pkcs10_asn1 || (rm -f pkc…
136 crmf_asn1_files: $(ASN1_COMPILE_DEP) $(srcdir)/crmf.asn1
137 $(ASN1_COMPILE) $(srcdir)/crmf.asn1 crmf_asn1 || (rm -f crmf_asn1_files ; exit 1)
161 $(top_builddir)/lib/asn1/libasn1.la \
308 crmf.asn1 \
312 ocsp.asn1 \
[all …]
/freebsd/crypto/heimdal/lib/hdb/
H A DMakefile.am5 AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1 $(INCLUDE_hcrypto)
/freebsd/kerberos5/usr.bin/kgetcred/
H A DMakefile4 CFLAGS+= -I${KRB5DIR}/lib/asn1 \
6 LIBADD= krb5 roken asn1 vers
/freebsd/crypto/heimdal/kdc/
H A DMakefile.am73 $(top_builddir)/lib/asn1/libasn1.la \
82 $(top_builddir)/lib/asn1/libasn1.la \
97 $(top_builddir)/lib/asn1/libasn1.la \
105 $(top_builddir)/lib/asn1/libasn1.la \
/freebsd/kerberos5/libexec/kimpersonate/
H A DMakefile6 -I${KRB5DIR}/lib/asn1 \
9 LIBADD= krb5 roken asn1 vers
/freebsd/kerberos5/libexec/digest-service/
H A DMakefile6 -I${KRB5DIR}/lib/asn1 \
12 LIBADD= hdb kdc heimipcs krb5 roken asn1 crypto vers heimntlm
/freebsd/crypto/heimdal/
H A DChangeLog.200041 * lib/asn1/asn1_print.c (loop): check for length longer than data.
410 * lib/asn1/der_get.c: add comment on *why* DCE sometimes used BER
466 * lib/asn1/Makefile.am: bump version to 3:0:1
740 * lib/asn1/lex.l: fix includes, and lex stuff
741 * lib/asn1/lex.h (error_message): update prototype
743 * lib/asn1/gen_length.c (length_type): fail on malloc error
744 * lib/asn1/gen_decode.c (decode_type): fail on malloc error
782 * lib/krb5/krb5.h: use some definitions from asn1.h
784 * lib/hdb/hdb.asn1: use new import syntax
786 * lib/asn1/k5.asn1: use distinguished value integers
[all …]
H A DChangeLog.200466 * lib/asn1/asn1_print.c: don't print garabage for octet strings
176 * lib/hdb/hdb.asn1: use constrained integers
235 * lib/asn1/k5.asn1: sync enctypes with pkinit branch
237 * lib/asn1/parse.y (readd) support negative numbers
239 * lib/asn1/lex.l: support hex numbers
347 * lib/asn1/der_get.c (decode_*): name all tag-length variables the
351 * lib/asn1/der_get.c (decode_boolean): fail if length of tag is
555 * lib/asn1/lex.l: add support for /* */ and partial line --
723 * lib/asn1/k5.asn1: add CMS symmetrical parameters here, enctype
732 * lib/asn1/der_cmp.c: add heim_oid_cmp and heim_octet_string_cmp
[all …]
H A DChangeLog.200322 * lib/hdb/hdb.asn1: remove enforce-transited-policy, its no longer
115 removed the dependency on valicert asn1 parser, remove smartcard
192 Holub, I removed the dependency on valicert asn1 parser, remove
200 * lib/asn1/der_copy.c (copy_oid): copy all components
250 * lib/hdb/hdb.asn1: add flag to enforce transited policy
328 * lib/asn1/lex.l: add BOOLEAN
330 * lib/asn1/parse.y: add BOOLEAN
371 * lib/asn1/Makefile.am: add SAM types and PAC_REQUEST
373 * lib/asn1/k5.asn1: add more preauth types, add PA-PAC-REQUEST
375 * lib/asn1: add boolean support
[all …]
/freebsd/crypto/heimdal/kuser/
H A DMakefile.am28 $(top_builddir)/lib/asn1/libasn1.la \
53 $(top_builddir)/lib/asn1/libasn1.la \
72 $(top_builddir)/lib/asn1/libasn1.la \
/freebsd/crypto/openssl/fuzz/
H A Dbuild.info12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server smime
53 SOURCE[asn1]=asn1.c driver.c fuzz_rand.c
54 INCLUDE[asn1]=../include {- $ex_inc -}
55 DEPEND[asn1]=../libcrypto ../libssl {- $ex_lib -}
175 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
217 SOURCE[asn1-test]=asn1.c test-corpus.c fuzz_rand.c
218 INCLUDE[asn1-test]=../include
219 DEPEND[asn1-test]=../libcrypto ../libssl
/freebsd/kerberos5/usr.bin/hxtool/
H A DMakefile6 -I${KRB5DIR}/lib/asn1 \
12 LIBADD= hx509 roken asn1 crypto sl vers edit

12345678