From 6d620a257fc7693e7ef066ca46a6ca9da98d04c1 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Wed, 4 Sep 2024 16:44:57 +0800 Subject: [PATCH] sm3: kdf arm64, fix marcro issue --- sm3/sm3blocks_arm64.s | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sm3/sm3blocks_arm64.s b/sm3/sm3blocks_arm64.s index 5014cf9..e8491e8 100644 --- a/sm3/sm3blocks_arm64.s +++ b/sm3/sm3blocks_arm64.s @@ -314,6 +314,23 @@ loop: RET #undef digPtr +#undef a +#undef b +#undef c +#undef d +#undef e +#undef f +#undef g +#undef h + +#define a V0 +#define b V1 +#define c V2 +#define d V3 +#define e V4 +#define f V5 +#define g V6 +#define h V7 // func copyResultsBy4(dig *uint32, dst *byte) TEXT ·copyResultsBy4(SB),NOSPLIT,$0 #define digPtr R0