forked from aws/aws-lc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Arm SHA384 proofs in AWS-LC CI (aws#1348)
This commit enables NSym and SAW proofs for SHA384 on Arm machines (Graviton2 and Graviton3). Specifically, 1. Remove legacy selectchecks for SHA2 and AES-GCM 2. Rename previous run called `ubuntu2004_clang10x_formal_verification_quickcheck` to `ubuntu2004_clang10x_formal_verification_saw_x86_64` and a bunch of other renaming 3. Built and uploaded two new docker images: `ubuntu-22.04_clang-14x_formal-verification-nsym-aarch64` and `ubuntu-20.04_clang-10x_formal-verification-saw-aarch64` 4. Update relative files to add two new builds: `ubuntu2004_clang10x_formal_verification_saw_aarch64` and `ubuntu2204_clang14x_formal_verification_nsym_aarch64` in linux-x86 runs
- Loading branch information
Showing
11 changed files
with
70 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
tests/ci/codebuild/linux-x86/ubuntu-20.04_clang-10x_formal-verification.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...r_images/linux-x86/ubuntu-20.04_clang-10x_formal-verification-saw-aarch64/create_image.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
if [ -n "$1" ]; then | ||
docker_tag="$1" | ||
else | ||
docker_tag='ubuntu-20.04:clang-10x_formal-verification-saw-aarch64' | ||
fi | ||
rm -rf aws-lc-verification | ||
git clone https://github.com/awslabs/aws-lc-verification.git | ||
cd aws-lc-verification | ||
docker build --pull --no-cache -f Dockerfile.saw_aarch64 -t ${docker_tag} . | ||
cd .. | ||
rm -rf aws-lc-verification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
..._images/linux-x86/ubuntu-22.04_clang-14x_formal-verification-nsym-aarch64/create_image.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
if [ -n "$1" ]; then | ||
docker_tag="$1" | ||
else | ||
docker_tag='ubuntu-20.04:clang-10x_formal-verification-nsym-aarch64' | ||
fi | ||
rm -rf aws-lc-verification | ||
git clone https://github.com/awslabs/aws-lc-verification.git | ||
cd aws-lc-verification | ||
docker build --pull --no-cache -f Dockerfile.nsym -t ${docker_tag} . | ||
cd .. | ||
rm -rf aws-lc-verification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
./tests/ci/run_formal_verification.sh NSym/scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
./tests/ci/run_formal_verification.sh SAW/scripts/aarch64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -ex | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
./tests/ci/run_formal_verification.sh SAW/scripts/x86_64 |