hash, defined as 20 bytes, and a null terminated pathname,
          limited to 255 characters.  The 'ima-ng' measurement list
          template permits both larger hash digests and longer
-         pathnames.
+         pathnames. The configured default template can be replaced
+         by specifying "ima_template=" on the boot command line.
 
-       config IMA_TEMPLATE
-               bool "ima"
        config IMA_NG_TEMPLATE
                bool "ima-ng (default)"
        config IMA_SIG_TEMPLATE
 config IMA_DEFAULT_TEMPLATE
        string
        depends on IMA
-       default "ima" if IMA_TEMPLATE
        default "ima-ng" if IMA_NG_TEMPLATE
        default "ima-sig" if IMA_SIG_TEMPLATE
 
 
        config IMA_DEFAULT_HASH_SHA256
                bool "SHA256"
-               depends on CRYPTO_SHA256=y && !IMA_TEMPLATE
+               depends on CRYPTO_SHA256=y
 
        config IMA_DEFAULT_HASH_SHA512
                bool "SHA512"
-               depends on CRYPTO_SHA512=y && !IMA_TEMPLATE
+               depends on CRYPTO_SHA512=y
 
        config IMA_DEFAULT_HASH_WP512
                bool "WP512"
-               depends on CRYPTO_WP512=y && !IMA_TEMPLATE
+               depends on CRYPTO_WP512=y
 
        config IMA_DEFAULT_HASH_SM3
                bool "SM3"
-               depends on CRYPTO_SM3=y && !IMA_TEMPLATE
+               depends on CRYPTO_SM3=y
 endchoice
 
 config IMA_DEFAULT_HASH