Lines Matching +full:0 +full:xfc

22 # 1-0 are used to describe the length.  New-style CTBs have 6 bits of
44 # 0 0xC0 -- Reserved - a packet tag MUST NOT have this value
45 # 1 0xC1 -- Public-Key Encrypted Session Key Packet
46 # 2 0xC2 -- Signature Packet
47 # 3 0xC3 -- Symmetric-Key Encrypted Session Key Packet
48 # 4 0xC4 -- One-Pass Signature Packet
49 # 5 0xC5 -- Secret-Key Packet
50 # 6 0xC6 -- Public-Key Packet
51 # 7 0xC7 -- Secret-Subkey Packet
52 # 8 0xC8 -- Compressed Data Packet
53 # 9 0xC9 -- Symmetrically Encrypted Data Packet
54 # 10 0xCA -- Marker Packet
55 # 11 0xCB -- Literal Data Packet
56 # 12 0xCC -- Trust Packet
57 # 13 0xCD -- User ID Packet
58 # 14 0xCE -- Public-Subkey Packet
59 # 17 0xD1 -- User Attribute Packet
60 # 18 0xD2 -- Sym. Encrypted and Integrity Protected Data Packet
61 # 19 0xD3 -- Modification Detection Code Packet
66 # if length[0] is:
67 # 0..191: one byte length (length[0])
68 # 192..223: two byte length ((length[0] - 192) * 256 + length[2] + 192
87 # |always 0
92 # Tag bit 7 set, bits 6, 1, 0 clear
93 # 0 0x80 -- Reserved - a packet tag MUST NOT have this value
94 # 1 0x84 -- Public-Key Encrypted Session Key Packet
95 # 2 0x88 -- Signature Packet
96 # 3 0x8C -- Symmetric-Key Encrypted Session Key Packet
97 # 4 0x90 -- One-Pass Signature Packet
98 # 5 0x94 -- Secret-Key Packet
99 # 6 0x98 -- Public-Key Packet
100 # 7 0x9C -- Secret-Subkey Packet
101 # 8 0xA0 -- Compressed Data Packet
102 # 9 0xA4 -- Symmetrically Encrypted Data Packet
103 # 10 0xA8 -- Marker Packet
104 # 11 0xAC -- Literal Data Packet
105 # 12 0xB0 -- Trust Packet
106 # 13 0xB4 -- User ID Packet
107 # 14 0xB8 -- Public-Subkey Packet
112 # 0 1 byte length (following byte is the length)
163 0 ubyte =0xC6 OpenPGP Public Key
164 >&0 use primary_key_length_new
166 0 ubyte =0xC5 OpenPGP Secret Key
167 >&0 use primary_key_length_new
169 0 ubyte&0xFC =0x98 OpenPGP Public Key
172 0 ubyte&0xFC =0x94 OpenPGP Secret Key
182 0 name primary_key_length_new
183 >&0 ubyte <192
184 #>>&0 ubyte x (1 byte length encoding, %d bytes)
185 >>&0 use pgp_binary_key_pk_check
187 >&0 ubyte >191
189 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 (for the length header)
192 #>>>&0 ubeshort x (2 byte length encoding, %d bytes)
195 >&0 ubyte =255
196 #>>&0 belong x (5 byte length encoding, %d bytes)
200 # >&0 ubyte >224
201 # >>&0 ubyte <255 partial body encoding
207 0 name primary_key_length_old
208 #>&0 ubyte x (ctb: %x)
209 >&0 ubyte&0x3 =0
210 #>>&0 ubyte x (1 byte length encoding, %d bytes)
213 >&0 ubyte&0x3 =1
214 #>>&0 ubeshort x (2 byte length encoding, %d bytes)
217 >&0 ubyte&0x3 =2
218 #>>&0 ubelong x (4 byte length encoding, %d bytes)
225 0 name pgp_binary_key_pk_check
229 >&0 ubyte >1
234 >>>&0 bedate >631156147 \b, Created %s
242 0 name pgp_binary_key_algo
243 >0 clear x
244 >&0 ubyte =1 \b, RSA (Encrypt or Sign,
245 >>&0 ubeshort x \b %d bits)
246 >&0 ubyte =2 \b, RSA (Encrypt,
247 >>&0 ubeshort x \b %d bits)
248 >&0 ubyte =3 \b, RSA (Sign,
249 >>&0 ubeshort x \b %d bits)
250 >&0 ubyte =16 \b, El Gamal (Encrypt,
251 >>&0 ubeshort x \b %d bits)
252 >&0 ubyte =17 \b, DSA
253 >>&0 ubeshort x \b (%d bits)
254 >&0 ubyte =18 \b, ECDH
255 >&0 ubyte =19 \b, ECDSA
256 >&0 ubyte =20 \b, El Gamal (Encrypt or Sign,
257 >>&0 ubeshort x \b %d bits)
258 >&0 ubyte =22 \b, EdDSA
259 >&0 default x
260 >>&0 ubyte x \b, Unknown Algorithm (%#x)
263 0 name sig_or_component_1
264 #>0 ubyte x (ctb: %x)
265 >&0 ubyte =0xC2
266 >>0 ubyte x \b; Signature
267 >>&0 use sig_or_component_1_length_new
268 >&0 ubyte =0xCD
269 >>0 ubyte x \b; User ID
270 >>&0 use sig_or_component_1_length_new
271 >&0 ubyte =0xCE
272 >>0 ubyte x \b; Public Subkey
273 >>&0 use sig_or_component_1_length_new
274 >&0 ubyte =0xC7
275 >>0 ubyte x \b; Secret Subkey
276 >>&0 use sig_or_component_1_length_new
277 >&0 ubyte =0xD1
278 >>0 ubyte x \b; User Attribute
279 >>&0 use sig_or_component_1_length_new
280 >&0 ubyte&0xFC =0x88
281 >>0 ubyte x \b; Signature
283 >&0 ubyte&0xFC =0xB4
284 >>0 ubyte x \b; User ID
286 >&0 ubyte&0xFC =0xB8
287 >>0 ubyte x \b; Public Subkey
289 >&0 ubyte&0xFC =0x9C
290 >>0 ubyte x \b; Secret Subkey
294 0 name sig_or_component_1_length_new
295 >&0 ubyte <192
296 #>>&0 ubyte x (1 byte new length encoding, %d bytes)
298 >&0 ubyte >191
300 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 + 1 (for the length header)
305 >&0 ubyte =255
306 #>>&0 belong x (5 byte new length encoding, %d bytes)
309 # >&0 ubyte >224
310 # >>&0 ubyte <255 partial body encoding
312 0 name sig_or_component_1_length_old
313 #>&0 ubyte x (ctb: %x)
314 >&0 ubyte&0x3 =0
315 #>>&0 ubyte x (1 byte old length encoding, %d bytes)
316 >>&(&0.B+1) use cert_packet_3
317 >&0 ubyte&0x3 =1
318 #>>&0 ubeshort x (2 byte old length encoding, %d bytes)
319 >>&(&0.S+2) use cert_packet_3
320 >&0 ubyte&0x3 =2
321 #>>&0 ubelong x (4 byte old length encoding, %d bytes)
322 >>&(&0.L+4) use cert_packet_3
325 0 name cert_packet_3
326 #>0 ubyte x (ctb: %x)
327 >&0 ubyte =0xC2
328 >>0 ubyte x \b; Signature
329 >>&0 use cert_packet_3_length_new
330 >&0 ubyte =0xCD
331 >>0 ubyte x \b; User ID
332 >>&0 use cert_packet_3_length_new
333 >&0 ubyte =0xCE
334 >>0 ubyte x \b; Public Subkey
335 >>&0 use cert_packet_3_length_new
336 >&0 ubyte =0xC7
337 >>0 ubyte x \b; Secret Subkey
338 >>&0 use cert_packet_3_length_new
339 >&0 ubyte =0xD1
340 >>0 ubyte x \b; User Attribute
341 >>&0 use cert_packet_3_length_new
342 >&0 ubyte&0xFC =0x88
343 >>0 ubyte x \b; Signature
345 >&0 ubyte&0xFC =0xB4
346 >>0 ubyte x \b; User ID
348 >&0 ubyte&0xFC =0xB8
349 >>0 ubyte x \b; Public Subkey
351 >&0 ubyte&0xFC =0x9C
352 >>0 ubyte x \b; Secret Subkey
356 0 name cert_packet_3_length_new
357 >&0 ubyte <192
358 #>>&0 ubyte x (1 byte new length encoding, %d bytes)
360 >&0 ubyte >191
362 # offset = ((offset[0] - 192) << 8) + offset[1] + 192 + 1 (for the length header)
367 >&0 ubyte =255
368 #>>&0 belong x (5 byte new length encoding, %d bytes)
371 0 name cert_packet_3_length_old
372 #>&0 ubyte x (ctb: %x)
373 >&0 ubyte&0x3 =0
374 #>>&0 ubyte x (1 byte old length encoding, %d bytes)
375 >>&(&0.B+1) use pgp_binary_keys_end
376 >&0 ubyte&0x3 =1
377 #>>&0 ubeshort x (2 byte old length encoding, %d bytes)
378 >>&(&0.S+2) use pgp_binary_keys_end
379 >&0 ubyte&0x3 =2
380 #>>&0 ubelong x (4 byte old length encoding, %d bytes)
381 >>&(&0.L+4) use pgp_binary_keys_end
385 0 name pgp_binary_keys_end
386 >0 byte x \b; OpenPGP Certificate