tests/thirdparty: add oasisprotocol/deoxysii (#247)

Fixes #246
This commit is contained in:
Michael McLoughlin
2022-04-16 21:25:22 -07:00
committed by GitHub
parent ed62fe0a03
commit a25e011a06
2 changed files with 61 additions and 6 deletions

View File

@@ -699,6 +699,40 @@ jobs:
- name: Test - name: Test
working-directory: curve25519-voi working-directory: curve25519-voi
run: go test ./... 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: golang-crypto-curve25519:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -128,7 +128,7 @@
}, },
"metadata": { "metadata": {
"description": "Pure Go implementation of BLAKE3 with AVX2 and SSE4.1 acceleration", "description": "Pure Go implementation of BLAKE3 with AVX2 and SSE4.1 acceleration",
"stars": 287 "stars": 288
}, },
"default_branch": "master", "default_branch": "master",
"version": "25dba572f0e78ec108f0dd79c9c15288f542d7d9", "version": "25dba572f0e78ec108f0dd79c9c15288f542d7d9",
@@ -150,7 +150,7 @@
}, },
"metadata": { "metadata": {
"description": "Reed-Solomon Erasure Coding in Go", "description": "Reed-Solomon Erasure Coding in Go",
"stars": 1424 "stars": 1428
}, },
"default_branch": "master", "default_branch": "master",
"version": "922778284547557265cff0f903ab5f4c27e40ae9", "version": "922778284547557265cff0f903ab5f4c27e40ae9",
@@ -201,7 +201,7 @@
}, },
"metadata": { "metadata": {
"description": "Optimized Go Compression Packages", "description": "Optimized Go Compression Packages",
"stars": 2693 "stars": 2701
}, },
"default_branch": "master", "default_branch": "master",
"version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080", "version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080",
@@ -447,7 +447,7 @@
}, },
"metadata": { "metadata": {
"description": "Go library providing algorithms optimized to leverage the characteristics of modern CPUs", "description": "Go library providing algorithms optimized to leverage the characteristics of modern CPUs",
"stars": 679 "stars": 681
}, },
"default_branch": "main", "default_branch": "main",
"version": "2bf3fdd47b1cdbe8fe020f032caf14891e10a85f", "version": "2bf3fdd47b1cdbe8fe020f032caf14891e10a85f",
@@ -513,7 +513,7 @@
}, },
"metadata": { "metadata": {
"description": "High-performance Curve25519/ristretto255 for Go", "description": "High-performance Curve25519/ristretto255 for Go",
"stars": 43 "stars": 45
}, },
"default_branch": "master", "default_branch": "master",
"version": "d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf", "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": { "repository": {
"owner": "golang", "owner": "golang",
@@ -535,7 +556,7 @@
"metadata": { "metadata": {
"description": "[mirror] Go supplementary cryptography libraries", "description": "[mirror] Go supplementary cryptography libraries",
"homepage": "https://golang.org/x/crypto", "homepage": "https://golang.org/x/crypto",
"stars": 2385 "stars": 2391
}, },
"default_branch": "master", "default_branch": "master",
"version": "089bfa5675191fd96a44247682f76ebca03d7916", "version": "089bfa5675191fd96a44247682f76ebca03d7916",