[PATCH 10/25] PGPLIB: Basic packet parser

2012-08-15 Thread David Howells
Provide a simple parser that extracts the packets from a PGP packet blob and passes the desirous ones to the given processor function: struct pgp_parse_context { u64 types_of_interest; int (*process_packet)(struct pgp_parse_context *context,

[PATCH 10/25] PGPLIB: Basic packet parser

2012-08-15 Thread David Howells
Provide a simple parser that extracts the packets from a PGP packet blob and passes the desirous ones to the given processor function: struct pgp_parse_context { u64 types_of_interest; int (*process_packet)(struct pgp_parse_context *context,