ima: rename hash calculation functions
[linux-3.10.git] / security / integrity / ima / ima_init.c
index b5dfd53..162ea72 100644 (file)
@@ -85,6 +85,9 @@ int __init ima_init(void)
        if (!ima_used_chip)
                pr_info("IMA: No TPM chip found, activating TPM-bypass!\n");
 
+       rc = ima_init_crypto();
+       if (rc)
+               return rc;
        ima_add_boot_aggregate();       /* boot aggregate must be first entry */
        ima_init_policy();