1ASN.1 Write NULL
2mbedtls_asn1_write_null:"0500"
3
4ASN.1 Write BOOLEAN FALSE
5mbedtls_asn1_write_bool:0:"010100"
6
7ASN.1 Write BOOLEAN TRUE
8mbedtls_asn1_write_bool:1:"0101ff"
9
10ASN.1 Write int 0
11mbedtls_asn1_write_int:0:"020100"
12
13ASN.1 Write int 1
14mbedtls_asn1_write_int:1:"020101"
15
16ASN.1 Write int 127
17mbedtls_asn1_write_int:0x7f:"02017f"
18
19ASN.1 Write int 128
20mbedtls_asn1_write_int:0x80:"02020080"
21
22ASN.1 Write int 255
23mbedtls_asn1_write_int:0xff:"020200ff"
24
25ASN.1 Write int 256
26mbedtls_asn1_write_int:0x100:"02020100"
27
28ASN.1 Write int 32767
29mbedtls_asn1_write_int:0x7fff:"02027fff"
30
31ASN.1 Write int 32768
32mbedtls_asn1_write_int:0x8000:"0203008000"
33
34ASN.1 Write int 65535
35mbedtls_asn1_write_int:0xffff:"020300ffff"
36
37ASN.1 Write int 65536
38mbedtls_asn1_write_int:0x10000:"0203010000"
39
40ASN.1 Write int 8388607
41mbedtls_asn1_write_int:0x7fffff:"02037fffff"
42
43ASN.1 Write int 8388608
44mbedtls_asn1_write_int:0x800000:"020400800000"
45
46ASN.1 Write int 0x12345678
47mbedtls_asn1_write_int:0x12345678:"020412345678"
48
49ASN.1 Write int 2147483647
50mbedtls_asn1_write_int:0x7fffffff:"02047fffffff"
51
52ASN.1 Write enum 0
53mbedtls_asn1_write_enum:0:"0A0100"
54
55ASN.1 Write enum 1
56mbedtls_asn1_write_enum:1:"0A0101"
57
58ASN.1 Write enum 127
59mbedtls_asn1_write_enum:0x7f:"0A017f"
60
61ASN.1 Write enum 128
62mbedtls_asn1_write_enum:0x80:"0A020080"
63
64ASN.1 Write enum 255
65mbedtls_asn1_write_enum:0xff:"0A0200ff"
66
67ASN.1 Write enum 256
68mbedtls_asn1_write_enum:0x100:"0A020100"
69
70ASN.1 Write enum 32767
71mbedtls_asn1_write_enum:0x7fff:"0A027fff"
72
73ASN.1 Write enum 32768
74mbedtls_asn1_write_enum:0x8000:"0A03008000"
75
76ASN.1 Write enum 65535
77mbedtls_asn1_write_enum:0xffff:"0A0300ffff"
78
79ASN.1 Write enum 65536
80mbedtls_asn1_write_enum:0x10000:"0A03010000"
81
82ASN.1 Write enum 8388607
83mbedtls_asn1_write_enum:0x7fffff:"0A037fffff"
84
85ASN.1 Write enum 8388608
86mbedtls_asn1_write_enum:0x800000:"0A0400800000"
87
88ASN.1 Write enum 0x12345678
89mbedtls_asn1_write_enum:0x12345678:"0A0412345678"
90
91ASN.1 Write enum 2147483647
92mbedtls_asn1_write_enum:0x7fffffff:"0A047fffffff"
93
94ASN.1 Write mpi 0 (null)
95mbedtls_asn1_write_mpi:"":"020100"
96
97ASN.1 Write mpi 0 (1 limb)
98mbedtls_asn1_write_mpi:"00":"020100"
99
100ASN.1 Write mpi 1
101mbedtls_asn1_write_mpi:"01":"020101"
102
103ASN.1 Write mpi 0x7f
104mbedtls_asn1_write_mpi:"7f":"02017f"
105
106ASN.1 Write mpi 0x7f with leading 0 limb
107mbedtls_asn1_write_mpi:"00000000000000007f":"02017f"
108
109ASN.1 Write mpi 0x80
110mbedtls_asn1_write_mpi:"80":"02020080"
111
112ASN.1 Write mpi 0x80 with leading 0 limb
113mbedtls_asn1_write_mpi:"000000000000000080":"02020080"
114
115ASN.1 Write mpi 0xff
116mbedtls_asn1_write_mpi:"ff":"020200ff"
117
118ASN.1 Write mpi 0x100
119mbedtls_asn1_write_mpi:"0100":"02020100"
120
121ASN.1 Write mpi, 127*8-1 bits
122mbedtls_asn1_write_mpi:"7f7b16e05c1537de7c41cef1a0985d6a3ced98aec28e091874cbad6b5e40a5c956258f18861c28bed8ba808259339ee34b2e509c4080149474d5d5b86093f90c475a6443fc87e1a293d4151be625d652f1c32a00a018bba10c8a2ae5b2b0ee4be64e053dce9d07ec7919526c9dfcf2ec9fc3db485caa8e5a68a2cd0a427de8":"027f7f7b16e05c1537de7c41cef1a0985d6a3ced98aec28e091874cbad6b5e40a5c956258f18861c28bed8ba808259339ee34b2e509c4080149474d5d5b86093f90c475a6443fc87e1a293d4151be625d652f1c32a00a018bba10c8a2ae5b2b0ee4be64e053dce9d07ec7919526c9dfcf2ec9fc3db485caa8e5a68a2cd0a427de8"
123
124ASN.1 Write mpi, 127*8 bits
125mbedtls_asn1_write_mpi:"e77b16e05c1537de7c41cef1a0985d6a3ced98aec28e091874cbad6b5e40a5c956258f18861c28bed8ba808259339ee34b2e509c4080149474d5d5b86093f90c475a6443fc87e1a293d4151be625d652f1c32a00a018bba10c8a2ae5b2b0ee4be64e053dce9d07ec7919526c9dfcf2ec9fc3db485caa8e5a68a2cd0a427de8":"02818000e77b16e05c1537de7c41cef1a0985d6a3ced98aec28e091874cbad6b5e40a5c956258f18861c28bed8ba808259339ee34b2e509c4080149474d5d5b86093f90c475a6443fc87e1a293d4151be625d652f1c32a00a018bba10c8a2ae5b2b0ee4be64e053dce9d07ec7919526c9dfcf2ec9fc3db485caa8e5a68a2cd0a427de8"
126
127ASN.1 Write mpi, 127*8+1 bits
128mbedtls_asn1_write_mpi:"018446d68934cc1af23c4cd909884d4bd737a1890e12f5ef8bf3d807d72feffa63c0bf2633345f8b8418d144617c871a7a0277ac0150eed4b3db7f9dff21114cd0d7f282400f03c931cb00c367550e374a1ed3762a1801ca714cfc8d5aac69707ca81e0661400ed0014d97cba48f94d835dd681fc3053c51958afbf7583cf49c":"028180018446d68934cc1af23c4cd909884d4bd737a1890e12f5ef8bf3d807d72feffa63c0bf2633345f8b8418d144617c871a7a0277ac0150eed4b3db7f9dff21114cd0d7f282400f03c931cb00c367550e374a1ed3762a1801ca714cfc8d5aac69707ca81e0661400ed0014d97cba48f94d835dd681fc3053c51958afbf7583cf49c"
129
130ASN.1 Write mpi, 255*8-1 bits
131mbedtls_asn1_write_mpi:"7bd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c":"0281ff7bd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c"
132
133ASN.1 Write mpi, 255*8 bits
134mbedtls_asn1_write_mpi:"fbd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c":"0282010000fbd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c"
135
136ASN.1 Write mpi, 256*8-1 bits
137mbedtls_asn1_write_mpi:"7bd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c89":"028201007bd1913fcfb652896209ad3e62f5d04a8dfc71eb1698543c52200bd7bbf3c11dd9ff57c299a2f4da172b3d5bd7e29affddf8859be7d50a45537a0df15b17af603d18803fd17134847cba78d83e64bf9fee58364d6124add0541da7bad331cd35fb48186a74bc502ddb967602401c0db02b19e5d38f09e8618fa7f6a1a3f738629baffdc63d9d70d396007d943fd64ae696e5b7e88f2c6d6ec322b461dbddd36efa91d990343b66419cf4832a22dc9ad13021185a1bf007989a50ba3bfd1152b8db899482d3ed498d1b9fae243a3cdae9530d8b29fdb684f70cdc0c9b8527265312603b405e67d59d4b1d654ddc3b7fd5515acb32440dc80903c8474a2c136c89"
138
139ASN.1 Write OCTET STRING: length=0
140mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"":"0400"
141
142ASN.1 Write OCTET STRING: length=1
143mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"41":"040141"
144
145ASN.1 Write OCTET STRING: length=2
146mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"4142":"04024142"
147
148ASN.1 Write OCTET STRING: length=127
149mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"99a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"047f99a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
150
151ASN.1 Write OCTET STRING: length=128
152mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"0199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"0481800199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
153
154ASN.1 Write OCTET STRING: length=255
155mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"633ed2cb0a2915dc4438a4c063017eb336cd9571d2a0585522c5073ca22a30ca7b8c9bd167d89ba1827bc6fb5d6ef6dcc52ee6eecc47e84ee0dd18fa3ebbdb6edfc679f037160d48d46a0d7e571335b24a28c8fd29b7f4a93d013b74e522bc1f5f605096bb99d438814b77b54d6dde608417b0a0ce9a8cb507fbeb95e9926b4bb6eec725599493d4b156ef3a5fd701426456029111c20f1d03c5d8999d2c042277ef91c5114a6c06218c1ba28d41ef08e4870d0cef260cba9de16d7d11ed5889b88fb93073746ebb158a4246cdb8a4ce403a5d1d598a0d11548f22070f833c1344d15e7a1445c133d19b8295b7c071bf2227178938031249d22d21c6f8e53d":"0481ff633ed2cb0a2915dc4438a4c063017eb336cd9571d2a0585522c5073ca22a30ca7b8c9bd167d89ba1827bc6fb5d6ef6dcc52ee6eecc47e84ee0dd18fa3ebbdb6edfc679f037160d48d46a0d7e571335b24a28c8fd29b7f4a93d013b74e522bc1f5f605096bb99d438814b77b54d6dde608417b0a0ce9a8cb507fbeb95e9926b4bb6eec725599493d4b156ef3a5fd701426456029111c20f1d03c5d8999d2c042277ef91c5114a6c06218c1ba28d41ef08e4870d0cef260cba9de16d7d11ed5889b88fb93073746ebb158a4246cdb8a4ce403a5d1d598a0d11548f22070f833c1344d15e7a1445c133d19b8295b7c071bf2227178938031249d22d21c6f8e53d"
156
157ASN.1 Write OCTET STRING: length=256
158mbedtls_asn1_write_string:MBEDTLS_ASN1_OCTET_STRING:"5a633ed2cb0a2915dc4438a4c063017eb336cd9571d2a0585522c5073ca22a30ca7b8c9bd167d89ba1827bc6fb5d6ef6dcc52ee6eecc47e84ee0dd18fa3ebbdb6edfc679f037160d48d46a0d7e571335b24a28c8fd29b7f4a93d013b74e522bc1f5f605096bb99d438814b77b54d6dde608417b0a0ce9a8cb507fbeb95e9926b4bb6eec725599493d4b156ef3a5fd701426456029111c20f1d03c5d8999d2c042277ef91c5114a6c06218c1ba28d41ef08e4870d0cef260cba9de16d7d11ed5889b88fb93073746ebb158a4246cdb8a4ce403a5d1d598a0d11548f22070f833c1344d15e7a1445c133d19b8295b7c071bf2227178938031249d22d21c6f8e53d":"048201005a633ed2cb0a2915dc4438a4c063017eb336cd9571d2a0585522c5073ca22a30ca7b8c9bd167d89ba1827bc6fb5d6ef6dcc52ee6eecc47e84ee0dd18fa3ebbdb6edfc679f037160d48d46a0d7e571335b24a28c8fd29b7f4a93d013b74e522bc1f5f605096bb99d438814b77b54d6dde608417b0a0ce9a8cb507fbeb95e9926b4bb6eec725599493d4b156ef3a5fd701426456029111c20f1d03c5d8999d2c042277ef91c5114a6c06218c1ba28d41ef08e4870d0cef260cba9de16d7d11ed5889b88fb93073746ebb158a4246cdb8a4ce403a5d1d598a0d11548f22070f833c1344d15e7a1445c133d19b8295b7c071bf2227178938031249d22d21c6f8e53d"
159
160ASN.1 Write UTF8 STRING: length=0
161mbedtls_asn1_write_string:MBEDTLS_ASN1_UTF8_STRING:"":"0c00"
162
163ASN.1 Write UTF8 STRING: length=1
164mbedtls_asn1_write_string:MBEDTLS_ASN1_UTF8_STRING:"41":"0c0141"
165
166ASN.1 Write UTF8 STRING: length=128
167mbedtls_asn1_write_string:MBEDTLS_ASN1_UTF8_STRING:"0199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"0c81800199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
168
169ASN.1 Write PRINTABLE STRING: length=0
170mbedtls_asn1_write_string:MBEDTLS_ASN1_PRINTABLE_STRING:"":"1300"
171
172ASN.1 Write PRINTABLE STRING: length=1
173mbedtls_asn1_write_string:MBEDTLS_ASN1_PRINTABLE_STRING:"41":"130141"
174
175ASN.1 Write PRINTABLE STRING: length=128
176mbedtls_asn1_write_string:MBEDTLS_ASN1_PRINTABLE_STRING:"0199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"1381800199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
177
178ASN.1 Write IA5 STRING: length=0
179mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING:"":"1600"
180
181ASN.1 Write IA5 STRING: length=1
182mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING:"41":"160141"
183
184ASN.1 Write IA5 STRING: length=128
185mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING:"0199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"1681800199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
186
187ASN.1 Write tagged string: length=0
188mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING | MBEDTLS_ASN1_CONTEXT_SPECIFIC:"":"9600"
189
190ASN.1 Write tagged string: length=1
191mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING | MBEDTLS_ASN1_CONTEXT_SPECIFIC:"41":"960141"
192
193ASN.1 Write tagged string: length=128
194mbedtls_asn1_write_string:MBEDTLS_ASN1_IA5_STRING | MBEDTLS_ASN1_CONTEXT_SPECIFIC:"0199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38":"9681800199a66790856f7199641f55cadabb660aaed6aa0d9ef8cef4417118c6e8c6e15becbaa21c63faf48726e92357a38b3079a0b9d60be7457ec6552f900dd032577167c91e829927343c3a769b362db4de0ad2ffb8f13cc2eeca9e52dc557118baa88b857477595622bc301a1ae2150030d652c4a482cf88d0ded85d6731ff2d38"
195
196ASN.1 Write OID: length=0
197mbedtls_asn1_write_string:MBEDTLS_ASN1_OID:"":"0600"
198
199ASN.1 Write OID: length=1
200mbedtls_asn1_write_string:MBEDTLS_ASN1_OID:"41":"060141"
201
202ASN.1 Write AlgorithmIdentifier, null parameters
203mbedtls_asn1_write_algorithm_identifier:"4f4944":0:"300706034f49440500"
204
205ASN.1 Write AlgorithmIdentifier, parameters (8 bytes)
206mbedtls_asn1_write_algorithm_identifier:"4f4944":8:"300d06034f4944"
207
208ASN.1 Write AlgorithmIdentifier, total length=0x7f
209mbedtls_asn1_write_algorithm_identifier:"4f4944":0x7a:"307f06034f4944"
210
211ASN.1 Write AlgorithmIdentifier, total length=0x80
212mbedtls_asn1_write_algorithm_identifier:"4f4944":0x7b:"30818006034f4944"
213
214ASN.1 Write AlgorithmIdentifier, total length=0xff
215mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfa:"3081ff06034f4944"
216
217ASN.1 Write AlgorithmIdentifier, total length=0x100
218mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfb:"3082010006034f4944"
219
220ASN.1 Write AlgorithmIdentifier, total length=0xffff
221mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfffa:"3082ffff06034f4944"
222
223ASN.1 Write AlgorithmIdentifier, total length=0x10000
224mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfffb:"308301000006034f4944"
225
226ASN.1 Write AlgorithmIdentifier, total length=0xffffff
227mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfffffa:"3083ffffff06034f4944"
228
229ASN.1 Write AlgorithmIdentifier, total length=0x1000000
230mbedtls_asn1_write_algorithm_identifier:"4f4944":0xfffffb:"30840100000006034f4944"
231
232ASN.1 Write / Read Length #0 (Len = 0, short form)
233mbedtls_asn1_write_len:0:"00":1:1
234
235ASN.1 Write / Read Length #1 (Len = 127, short form)
236mbedtls_asn1_write_len:127:"7F":1:1
237
238ASN.1 Write / Read Length #2 (Len = 127, buffer too small)
239mbedtls_asn1_write_len:127:"7F":0:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
240
241ASN.1 Write / Read Length #3 (Len = 128, long form)
242mbedtls_asn1_write_len:128:"8180":2:2
243
244ASN.1 Write / Read Length #4 (Len = 255, long form)
245mbedtls_asn1_write_len:255:"81FF":2:2
246
247ASN.1 Write / Read Length #5 (Len = 255, buffer too small)
248mbedtls_asn1_write_len:255:"81FF":1:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
249
250ASN.1 Write / Read Length #6 (Len = 258, byte order)
251mbedtls_asn1_write_len:258:"820102":3:3
252
253ASN.1 Write / Read Length #7 (Len = 65535, long form)
254mbedtls_asn1_write_len:65535:"82FFFF":3:3
255
256ASN.1 Write / Read Length #8 (Len = 65535, buffer too small)
257mbedtls_asn1_write_len:65535:"82FFFF":2:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
258
259ASN.1 Write / Read Length #9 (Len = 66051, byte order)
260mbedtls_asn1_write_len:66051:"83010203":4:4
261
262ASN.1 Write / Read Length #10 (Len = 16777215, long form)
263mbedtls_asn1_write_len:16777215:"83FFFFFF":4:4
264
265ASN.1 Write / Read Length #11 (Len = 16777215, buffer too small)
266mbedtls_asn1_write_len:16777215:"83FFFFFF":3:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
267
268ASN.1 Write / Read Length #12 (Len = 16909060, byte order)
269mbedtls_asn1_write_len:16909060:"8401020304":5:5
270
271ASN.1 Write / Read Length #12 (Len = 16909060, buffer too small)
272mbedtls_asn1_write_len:16909060:"8401020304":4:MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
273
274ASN.1 Write Named Bitstring / Unused bits #0
275test_asn1_write_bitstrings:"FF":8:"030200FF":1
276
277ASN.1 Write Named Bitstring / Unused bits #1
278test_asn1_write_bitstrings:"FE":8:"030201FE":1
279
280ASN.1 Write Named Bitstring / Unused bits #2
281test_asn1_write_bitstrings:"FC":7:"030202FC":1
282
283ASN.1 Write Named Bitstring / Unused bits #3
284test_asn1_write_bitstrings:"F8":8:"030203F8":1
285
286ASN.1 Write Named Bitstring / Unused bits #4
287test_asn1_write_bitstrings:"F0":6:"030204F0":1
288
289ASN.1 Write Named Bitstring / Unused bits #5
290test_asn1_write_bitstrings:"E0":6:"030205E0":1
291
292ASN.1 Write Named Bitstring / Unused bits #6
293test_asn1_write_bitstrings:"C0":8:"030206C0":1
294
295ASN.1 Write Named Bitstring / Unused bits #7
296test_asn1_write_bitstrings:"80":8:"03020780":1
297
298ASN.1 Write Named Bitstring / Empty bitstring
299test_asn1_write_bitstrings:"00":7:"030100":1
300
301ASN.1 Write Named Bitstring / Empty bitstring (bits = 16)
302test_asn1_write_bitstrings:"0000":16:"030100":1
303
304ASN.1 Write Named Bitstring / Empty bitstring (bits = 24)
305test_asn1_write_bitstrings:"FFFFFF":0:"030100":1
306
307ASN.1 Write Named Bitstring / 15 trailing bits all unset
308test_asn1_write_bitstrings:"F88000":24:"030307F880":1
309
310ASN.1 Write Named Bitstring / 15 trailing bits all set
311test_asn1_write_bitstrings:"F8FFFF":9:"030307F880":1
312
313ASN.1 Write Bitstring / Unused bits #0
314test_asn1_write_bitstrings:"FF":8:"030200FF":0
315
316ASN.1 Write Bitstring / Unused bits #1
317test_asn1_write_bitstrings:"FF":7:"030201FE":0
318
319ASN.1 Write Bitstring / Unused bits #2
320test_asn1_write_bitstrings:"FF":6:"030202FC":0
321
322ASN.1 Write Bitstring / Unused bits #3
323test_asn1_write_bitstrings:"FF":5:"030203F8":0
324
325ASN.1 Write Bitstring / Unused bits #4
326test_asn1_write_bitstrings:"FF":4:"030204F0":0
327
328ASN.1 Write Bitstring / Unused bits #5
329test_asn1_write_bitstrings:"FF":3:"030205E0":0
330
331ASN.1 Write Bitstring / Unused bits #6
332test_asn1_write_bitstrings:"FF":2:"030206C0":0
333
334ASN.1 Write Bitstring / Unused bits #7
335test_asn1_write_bitstrings:"FF":1:"03020780":0
336
337ASN.1 Write Bitstring / 1 trailing bit (bits 15)
338test_asn1_write_bitstrings:"0003":15:"0303010002":0
339
340ASN.1 Write Bitstring / 0 bits
341test_asn1_write_bitstrings:"":0:"030100":0
342
343ASN.1 Write Bitstring / long string all bits unset except trailing bits
344test_asn1_write_bitstrings:"000000000007":45:"030703000000000000":0
345
346Store named data: not found
347store_named_data_find:"414141":"424242":"434343":"444444":"7f7f7f":0:-1
348
349Store named data: empty haystack
350store_named_data_find:"414141":"424242":"434343":"444444":"7f7f7f":4:-1
351
352Store named data: first
353store_named_data_find:"414141":"424242":"434343":"444444":"414141":0:0
354
355Store named data: last
356store_named_data_find:"414141":"424242":"434343":"444444":"444444":0:3
357
358Store named data: skip suffix
359store_named_data_find:"41414141":"414141":"434343":"444444":"414141":0:1
360
361Store named data: skip prefix
362store_named_data_find:"4141":"414141":"434343":"444444":"414141":0:1
363
364Store named data: first match
365store_named_data_find:"414141":"414141":"434343":"444444":"414141":0:0
366
367Store named data: found, null to zero
368store_named_data_val_found:0:0
369
370Store named data: found, null to data
371store_named_data_val_found:0:9
372
373Store named data: found, data to zero
374store_named_data_val_found:9:0
375
376Store named data: found, smaller data
377store_named_data_val_found:9:2
378
379Store named data: found, same-size data
380store_named_data_val_found:9:9
381
382Store named data: found, larger data
383store_named_data_val_found:4:9
384
385Store named data: new, val_len=0
386store_named_data_val_new:0:1
387
388Stored named data: new, val_len=0, val=NULL
389store_named_data_val_new:0:0
390
391Store named data: new, val_len=4
392store_named_data_val_new:4:1
393
394Store named data: new, val_len=4, val=NULL
395store_named_data_val_new:4:0
396