aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-10 10:56:10 +0100
committerBjörn Gustavsson <[email protected]>2012-12-10 10:56:10 +0100
commit13bf84f59fca26e3fcf644b566db0100b8f01546 (patch)
tree9552867dd790eb5cdcc4f28aa391c21b511f70bc /lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
parentd4b42df28b1d696ce7b2b634be09a7fa5bc0b9cb (diff)
parent5c407a3477e0f35e6e60ff86c664e3de812a8c7a (diff)
downloadotp-13bf84f59fca26e3fcf644b566db0100b8f01546.tar.gz
otp-13bf84f59fca26e3fcf644b566db0100b8f01546.tar.bz2
otp-13bf84f59fca26e3fcf644b566db0100b8f01546.zip
Merge branch 'bjorn/asn1/optimize/OTP-10519'
* bjorn/asn1/optimize/OTP-10519: Remove unused run-time functions Optimize decoding of extensions Do alignment optimization of SEQUENCEs and SETs Refactor code generation for decoding SEQUENCE/SET Teach asn1ct_imm to optimize alignment Optimize decoding of OCTET STRINGs Implement encoding of fragmented OCTET STRINGs Use asn1ct_imm to optimize decoding of per and uper Use asn1ct_imm:effective_constraint/2 Add the asn1ct_imm module Makefile: Add dependencies for header files Eliminate the useless 'telltype' argument in component decoding testPrimString: Increase readability by introducing a roundtrip function asn1_SUITE: Let the per/1 test case also test 'uper' asn1ct_value: Fix type for open type value for uper Optimize encoding/decoding of NULL in the per and uper back-ends Suppress warnings for unused variables using a compiler option
Diffstat (limited to 'lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1')
-rw-r--r--lib/asn1/test/asn1_SUITE_data/PrimStrings.asn113
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1 b/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
index d287840f30..7cb47e9792 100644
--- a/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
+++ b/lib/asn1/test/asn1_SUITE_data/PrimStrings.asn1
@@ -55,6 +55,19 @@ BS1024 ::= BIT STRING (SIZE (1024))
OsExpCon ::= [60] EXPLICIT OCTET STRING
OsExpPri ::= [PRIVATE 61] EXPLICIT OCTET STRING
OsExpApp ::= [APPLICATION 62] EXPLICIT OCTET STRING
+ OsFrag ::= OCTET STRING (SIZE (0..100000))
+ FixedOs65536 ::= OCTET STRING (SIZE (65536))
+ FixedOs65537 ::= OCTET STRING (SIZE (65537))
+
+ OsAlignment ::= SEQUENCE {
+ b1 BOOLEAN,
+ s1 Os,
+ b2 BOOLEAN,
+ s2 OsFrag,
+ b3 BOOLEAN,
+ s3 FixedOs65536,
+ i INTEGER (0..63)
+ }
Ns ::= NumericString
NsCon ::= [70] NumericString