From ba9e49e7a24748d56b1c168d066222f620df4bce Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 27 Aug 2024 15:45:28 +0800 Subject: [PATCH] internal/sm2ec: ppc64le full test --- .github/workflows/test_ppc64.yaml | 4 ++-- internal/sm2ec/p256_asm_ppc64le.s | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_ppc64.yaml b/.github/workflows/test_ppc64.yaml index be0551a..9df5881 100644 --- a/.github/workflows/test_ppc64.yaml +++ b/.github/workflows/test_ppc64.yaml @@ -34,7 +34,7 @@ jobs: env: GOARCH: ${{ matrix.arch }} - - name: Test - run: go test -v -short ./internal/sm2ec/... + - name: Test SM2EC + run: go test -v ./internal/sm2ec/... env: GOARCH: ${{ matrix.arch }} diff --git a/internal/sm2ec/p256_asm_ppc64le.s b/internal/sm2ec/p256_asm_ppc64le.s index 7327207..f29aa10 100644 --- a/internal/sm2ec/p256_asm_ppc64le.s +++ b/internal/sm2ec/p256_asm_ppc64le.s @@ -1,3 +1,9 @@ +// This is a port of the NIST P256 ppc64le asm implementation to SM2 P256. +// +// Copyright 2019 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + //go:build !purego #include "textflag.h"