2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2019 Google LLC
7 # Verify ciphertext for v1 encryption policies that use Adiantum to encrypt file
8 # contents and file names.
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
16 status=1 # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
25 # get standard environment, filters and checks
30 # remove previous $seqres.full before test
33 # real QA test starts here
37 # Test both with and without the DIRECT_KEY flag.
38 _verify_ciphertext_for_encryption_policy Adiantum Adiantum
39 _verify_ciphertext_for_encryption_policy Adiantum Adiantum direct