David Howells
4520c6a49a
X.509: Add simple ASN.1 grammar compiler
...
Add a simple ASN.1 grammar compiler. This produces a bytecode output that can
be fed to a decoder to inform the decoder how to interpret the ASN.1 stream it
is trying to parse.
Action functions can be specified in the grammar by interpolating:
({ foo })
after a type, for example:
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING ({ do_key_data })
}
The decoder is expected to call these after matching this type and parsing the
contents if it is a constructed type.
The grammar compiler does not currently support the SET type (though it does
support SET OF) as I can't see a good way of tracking which members have been
encountered yet without using up extra stack space.
Currently, the grammar compiler will fail if more than 256 bytes of bytecode
would be produced or more than 256 actions have been specified as it uses
8-bit jump values and action indices to keep space usage down.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-10-08 13:50:19 +10:30
..
basic
fixdep: fix extraneous dependencies
2011-09-09 11:45:47 +02:00
coccinelle
scripts/coccinelle: list iterator variable semantic patch
2012-07-13 23:06:34 +02:00
dtc
scripts: dtc: fix compile warnings
2012-03-24 23:07:35 +01:00
genksyms
scripts/genksyms: clean lex/yacc generated files
2012-01-08 14:48:15 +01:00
kconfig
Improve localmodconfig to remove even more unused module configs.
2012-07-30 13:17:41 -07:00
ksymoops
mod
USB patches for 3.6-rc1
2012-07-26 10:23:47 -07:00
package
deb-pkg: Add all Makefiles to header package
2012-06-28 10:48:08 +02:00
rt-tester
selinux
tracing
.gitignore
X.509: Add simple ASN.1 grammar compiler
2012-10-08 13:50:19 +10:30
asn1_compiler.c
X.509: Add simple ASN.1 grammar compiler
2012-10-08 13:50:19 +10:30
bin2c.c
bloat-o-meter
bootgraph.pl
checkincludes.pl
checkkconfigsymbols.sh
checkpatch.pl
checkpatch: add control statement test to SINGLE_STATEMENT_DO_WHILE_MACRO
2012-08-21 16:45:02 -07:00
checkstack.pl
checksyscalls.sh
checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source
2011-11-17 13:35:37 -08:00
checkversion.pl
cleanfile
cleanpatch
coccicheck
coccicheck: change handling of C={1,2} when M= is set
2012-02-24 23:50:19 +01:00
config
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2012-07-30 11:23:37 -07:00
conmakehash.c
decodecode
scripts/decodecode: Fixup trapping instruction marker
2012-08-16 11:15:09 -07:00
depmod.sh
kbuild: do not check for ancient modutils tools
2012-01-23 15:12:19 +01:00
diffconfig
docproc.c
export_report.pl
extract-ikconfig
extract-vmlinux
scripts: add extract-vmlinux
2011-08-31 16:12:17 +02:00
gcc-goto.sh
ARM: 7333/2: jump label: detect %c support for ARM
2012-03-24 09:38:56 +00:00
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
get_maintainer: Fix --help warning
2012-06-20 14:39:36 -07:00
gfp-translate
chmod +x scripts/gfp-translate
2012-06-27 12:44:29 -07:00
headerdep.pl
headers.sh
kbuild, headers.sh: Don't make archheaders explicitly
2011-11-22 14:47:50 -08:00
headers_check.pl
headers_check: recursively search for linux/types.h inclusion
2012-03-26 14:54:27 +02:00
headers_install.pl
kallsyms.c
Kbuild.include
scripts/Kbuild.include: Fix portability problem of "echo -e"
2012-03-24 23:32:05 +01:00
kernel-doc
scripts/kernel-doc: fix fatal script error
2012-08-17 09:19:07 -07:00
Lindent
link-vmlinux.sh
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin
2012-09-12 07:12:53 +08:00
Makefile
X.509: Add simple ASN.1 grammar compiler
2012-10-08 13:50:19 +10:30
Makefile.asm-generic
Makefile.build
X.509: Add simple ASN.1 grammar compiler
2012-10-08 13:50:19 +10:30
Makefile.clean
Makefile.fwinst
firmware: fix directory creation rule matching with make 3.82
2012-08-30 16:27:13 +02:00
Makefile.headersinst
kbuild: Add support for installing generated asm headers
2011-11-17 13:14:36 -08:00
Makefile.help
Makefile.host
Makefile.lib
Kbuild: centralize MKIMAGE and cmd_uimage definitions
2012-03-26 15:49:20 +02:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
trivial: typo in comment in mksysmap
2012-07-20 10:36:05 +02:00
mkuboot.sh
mkversion
module-common.lds
namespace.pl
patch-kernel
scripts/patch-kernel: digest kernel.org hosted .xz patches
2012-03-30 15:23:36 +02:00
pnmtologo.c
profile2linkerlist.pl
recordmcount.c
recordmcount.h
recordmcount: Fix handling of elf64 big-endian objects.
2012-01-06 17:06:42 -05:00
recordmcount.pl
setlocalversion
setlocalversion: Use "grep -q" instead of piping output to "read dummy"
2012-03-26 22:54:00 +02:00
show_delta
sortextable.c
s390/exceptions: sort exception table at build time
2012-07-26 10:07:25 +02:00
sortextable.h
scripts/sortextable: Handle relative entries, and other cleanups
2012-04-24 11:42:20 -07:00
tags.sh
scripts/tags.sh: Teach [ce]tags about libtraceeevent error codes
2012-07-26 14:31:23 +02:00
unifdef.c
ver_linux
xz_wrap.sh
xz: Enable BCJ filters on SPARC and 32-bit x86
2012-04-18 13:13:18 -07:00