diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 6461c61..33c02a3 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -699,6 +699,40 @@ jobs: - name: Test working-directory: curve25519-voi run: go test ./... + oasisprotocol-deoxysii: + runs-on: ubuntu-latest + steps: + - name: Install Go + uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3 + with: + go-version: 1.18.x + - name: Checkout avo + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 + with: + path: avo + persist-credentials: false + - name: Checkout oasisprotocol/deoxysii + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 + with: + repository: oasisprotocol/deoxysii + ref: 2091330c22b71dd4e04e15306498e68f3a1b3afc + path: deoxysii + persist-credentials: false + - name: Avo Module Replacement + working-directory: deoxysii/internal/hardware/asm + run: | + go mod edit -modfile=go.mod -require=github.com/mmcloughlin/avo@v0.0.0-00010101000000-000000000000 + go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo + go mod tidy -modfile=go.mod + - name: Generate + working-directory: deoxysii/internal/hardware/asm + run: bash -ex gen.sh + - name: Diff + working-directory: deoxysii + run: git diff + - name: Test + working-directory: deoxysii + run: go test ./... golang-crypto-curve25519: runs-on: ubuntu-latest steps: diff --git a/tests/thirdparty/packages.json b/tests/thirdparty/packages.json index 623c363..e48948e 100644 --- a/tests/thirdparty/packages.json +++ b/tests/thirdparty/packages.json @@ -128,7 +128,7 @@ }, "metadata": { "description": "Pure Go implementation of BLAKE3 with AVX2 and SSE4.1 acceleration", - "stars": 287 + "stars": 288 }, "default_branch": "master", "version": "25dba572f0e78ec108f0dd79c9c15288f542d7d9", @@ -150,7 +150,7 @@ }, "metadata": { "description": "Reed-Solomon Erasure Coding in Go", - "stars": 1424 + "stars": 1428 }, "default_branch": "master", "version": "922778284547557265cff0f903ab5f4c27e40ae9", @@ -201,7 +201,7 @@ }, "metadata": { "description": "Optimized Go Compression Packages", - "stars": 2693 + "stars": 2701 }, "default_branch": "master", "version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080", @@ -447,7 +447,7 @@ }, "metadata": { "description": "Go library providing algorithms optimized to leverage the characteristics of modern CPUs", - "stars": 679 + "stars": 681 }, "default_branch": "main", "version": "2bf3fdd47b1cdbe8fe020f032caf14891e10a85f", @@ -513,7 +513,7 @@ }, "metadata": { "description": "High-performance Curve25519/ristretto255 for Go", - "stars": 43 + "stars": 45 }, "default_branch": "master", "version": "d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf", @@ -527,6 +527,27 @@ } ] }, + { + "repository": { + "owner": "oasisprotocol", + "name": "deoxysii" + }, + "metadata": { + "description": "Go Deoxys-II-256-128", + "stars": 17 + }, + "default_branch": "master", + "version": "2091330c22b71dd4e04e15306498e68f3a1b3afc", + "module": "internal/hardware/asm/go.mod", + "generate": [ + { + "dir": "internal/hardware/asm", + "commands": [ + "bash -ex gen.sh" + ] + } + ] + }, { "repository": { "owner": "golang", @@ -535,7 +556,7 @@ "metadata": { "description": "[mirror] Go supplementary cryptography libraries", "homepage": "https://golang.org/x/crypto", - "stars": 2385 + "stars": 2391 }, "default_branch": "master", "version": "089bfa5675191fd96a44247682f76ebca03d7916",