2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2019 Google LLC
5 # FS QA Test No. generic/584
7 # Verify ciphertext for v2 encryption policies that use Adiantum to encrypt file
8 # contents and file names.
10 # This is the same as generic/550, except using v2 policies.
13 seqres=$RESULT_DIR/$seq
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
27 # get standard environment, filters and checks
32 # remove previous $seqres.full before test
35 # real QA test starts here
39 # Test both with and without the DIRECT_KEY flag.
40 _verify_ciphertext_for_encryption_policy Adiantum Adiantum v2
41 _verify_ciphertext_for_encryption_policy Adiantum Adiantum v2 direct