Skip TestAesEmmcOptimizedHwWrappedKeyPolicy when not runnable

Currently, due to a kernel limitation, an IV_INO_LBLK_32 encryption
policy can't use inline encryption when the filesystem block size
differs from the page size.  Since HW-wrapped keys require inline
encryption, IV_INO_LBLK_32 + HW-wrapped keys cannot be used in this
scenario.  Update TestAesEmmcOptimizedHwWrappedKeyPolicy to be aware of
this.  As part of this, rename kSkipIfNoHardwareSupport to
kSkipIfInlineEncryptionNotUsable to reflect its new meaning.

This fixes a failure in TestAesEmmcOptimizedHwWrappedKeyPolicy on
devices that use 16K pages while also using ext4 with 4K blocks.

Bug: 302429871
Test: atest vts_kernel_encryption_test
Change-Id: I6759a577f180ca8c15613a67169943f7ef72db87
1 file changed