diff --git a/cryptfs.c b/cryptfs.c index 7d19dff..17f5e57 100644 --- a/cryptfs.c +++ b/cryptfs.c @@ -138,7 +138,8 @@ static int keymaster_check_compatibility() goto out; } - if (keymaster_dev->flags & KEYMASTER_BLOBS_ARE_STANDALONE) { + if (!(keymaster_dev->flags & KEYMASTER_SOFTWARE_ONLY) && + (keymaster_dev->flags & KEYMASTER_BLOBS_ARE_STANDALONE)) { rc = 1; }