003 File Manager
Current Path:
/usr/src/crypto/heimdal/lib/asn1
usr
/
src
/
crypto
/
heimdal
/
lib
/
asn1
/
📁
..
📄
ChangeLog
(44.84 KB)
📄
Makefile.am
(7.72 KB)
📄
Makefile.in
(51.46 KB)
📄
asn1-common.h
(2.06 KB)
📄
asn1-template.h
(3.97 KB)
📄
asn1_err.et
(1.27 KB)
📄
asn1_gen.c
(4.8 KB)
📄
asn1_print.c
(9.23 KB)
📄
asn1_queue.h
(6.52 KB)
📄
asn1parse.c
(81.78 KB)
📄
asn1parse.h
(6.44 KB)
📄
asn1parse.y
(20.85 KB)
📄
canthandle.asn1
(793 B)
📄
check-common.c
(10.03 KB)
📄
check-common.h
(2.87 KB)
📄
check-der.c
(26.7 KB)
📄
check-gen.c
(35.1 KB)
📄
check-timegm.c
(2.28 KB)
📄
cms.asn1
(4.16 KB)
📄
cms.opt
(55 B)
📄
der-private.h
(1.29 KB)
📄
der-protos.h
(10.5 KB)
📄
der.c
(3.69 KB)
📄
der.h
(3.08 KB)
📄
der_cmp.c
(3.48 KB)
📄
der_copy.c
(4.75 KB)
📄
der_format.c
(3.93 KB)
📄
der_free.c
(3.01 KB)
📄
der_get.c
(14.56 KB)
📄
der_length.c
(4.67 KB)
📄
der_locl.h
(2.15 KB)
📄
der_put.c
(10.02 KB)
📄
digest.asn1
(4.86 KB)
📄
extra.c
(3.69 KB)
📄
gen.c
(25.75 KB)
📄
gen_copy.c
(6.68 KB)
📄
gen_decode.c
(17.89 KB)
📄
gen_encode.c
(13.23 KB)
📄
gen_free.c
(5.01 KB)
📄
gen_glue.c
(4.13 KB)
📄
gen_length.c
(7.54 KB)
📄
gen_locl.h
(3.26 KB)
📄
gen_seq.c
(3.89 KB)
📄
gen_template.c
(22.2 KB)
📄
hash.c
(4.57 KB)
📄
hash.h
(2.92 KB)
📄
heim_asn1.h
(2.33 KB)
📄
krb5.asn1
(20.53 KB)
📄
krb5.opt
(147 B)
📄
kx509.asn1
(662 B)
📄
lex.c
(73.99 KB)
📄
lex.h
(1.76 KB)
📄
lex.l
(7.74 KB)
📄
main.c
(4.78 KB)
📄
pkcs12.asn1
(2.29 KB)
📄
pkcs8.asn1
(629 B)
📄
pkcs9.asn1
(809 B)
📄
pkinit.asn1
(5.47 KB)
📄
rfc2459.asn1
(16.79 KB)
📄
setchgpw2.asn1
(3.82 KB)
📄
symbol.c
(2.68 KB)
📄
symbol.h
(3.57 KB)
📄
template.c
(24.54 KB)
📄
test.asn1
(3.1 KB)
📄
test.gen
(290 B)
📄
timegm.c
(3.83 KB)
📄
version-script.map
(135 B)
Editing: asn1-common.h
/* $Id$ */ #include <stddef.h> #include <time.h> #include <krb5-types.h> #ifndef __asn1_common_definitions__ #define __asn1_common_definitions__ typedef struct heim_integer { size_t length; void *data; int negative; } heim_integer; typedef struct heim_octet_string { size_t length; void *data; } heim_octet_string; typedef char *heim_general_string; typedef char *heim_utf8_string; typedef struct heim_octet_string heim_printable_string; typedef struct heim_octet_string heim_ia5_string; typedef struct heim_bmp_string { size_t length; uint16_t *data; } heim_bmp_string; typedef struct heim_universal_string { size_t length; uint32_t *data; } heim_universal_string; typedef char *heim_visible_string; typedef struct heim_oid { size_t length; unsigned *components; } heim_oid; typedef struct heim_bit_string { size_t length; void *data; } heim_bit_string; typedef struct heim_octet_string heim_any; typedef struct heim_octet_string heim_any_set; #define ASN1_MALLOC_ENCODE(T, B, BL, S, L, R) \ do { \ (BL) = length_##T((S)); \ (B) = malloc((BL)); \ if((B) == NULL) { \ (R) = ENOMEM; \ } else { \ (R) = encode_##T(((unsigned char*)(B)) + (BL) - 1, (BL), \ (S), (L)); \ if((R) != 0) { \ free((B)); \ (B) = NULL; \ } \ } \ } while (0) #ifdef _WIN32 #ifndef ASN1_LIB #define ASN1EXP __declspec(dllimport) #else #define ASN1EXP #endif #define ASN1CALL __stdcall #else #define ASN1EXP #define ASN1CALL #endif #endif
Upload File
Create Folder