• M
    KEYS: Add a key restriction struct · e9cc0f68
    Mat Martineau 提交于
    Key link restrictions require restriction-specific data as well as a
    restriction-specific function pointer. As a first step toward replacing
    the restrict_link pointer in struct key, define a more general
    key_restriction structure that captures the required function, key, and
    key type pointers. Key type modules should not be pinned on account of
    this key type pointer because the pointer will be cleared by the garbage
    collector if the key type is unregistered.
    Signed-off-by: NMat Martineau <mathew.j.martineau@linux.intel.com>
    e9cc0f68
key.h 12.1 KB