• Mimi Zohar's avatar
    encrypted-keys: module build fixes · 9c698987
    Mimi Zohar authored
    Encrypted keys are encrypted/decrypted using either a trusted or
    user-defined key type, which is referred to as the 'master' key.
    The master key may be of type trusted iff the trusted key is
    builtin or both the trusted key and encrypted keys are built as
    modules.  This patch resolves the build dependency problem.
    
    - Use "masterkey-$(CONFIG_TRUSTED_KEYS)-$(CONFIG_ENCRYPTED_KEYS)" construct
    to encapsulate the above logic. (Suggested by Dimtry Kasatkin.)
    - Fixing the encrypted-keys Makefile, results in a module name change
    from encrypted.ko to encrypted-keys.ko.
    - Add module dependency for request_trusted_key() definition
    Signed-off-by: default avatarMimi Zohar <zohar@us.ibm.com>
    9c698987
encrypted.h 1.81 KB