[PATCH 01/25] KEYS: Add payload preparsing opportunity prior to key instantiate or update

2012-08-15 Thread David Howells
Give the key type the opportunity to preparse the payload prior to the instantiation and update routines being called. This is done with the provision of two new key type operations: int (*preparse)(struct key_preparsed_payload *prep); void (*free_preparse)(struct

[PATCH 01/25] KEYS: Add payload preparsing opportunity prior to key instantiate or update

2012-08-15 Thread David Howells
Give the key type the opportunity to preparse the payload prior to the instantiation and update routines being called. This is done with the provision of two new key type operations: int (*preparse)(struct key_preparsed_payload *prep); void (*free_preparse)(struct