aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make
blob: b84525fa7aa4bf9b94ccc5837f900ba00e44b6f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
GO_LIBRARY()
IF (OS_DARWIN AND ARCH_ARM64 OR OS_LINUX AND ARCH_AARCH64)
    SRCS(
		nistec.go
		p224.go
		p224_sqrt.go
		p256_asm.go
		p256_asm_arm64.s
		p256_ordinv.go
		p384.go
		p521.go
    )
    
    GO_EMBED_PATTERN(p256_asm_table.bin)
ELSEIF (OS_DARWIN AND ARCH_X86_64 OR OS_LINUX AND ARCH_X86_64 OR OS_WINDOWS AND ARCH_X86_64)
    SRCS(
		nistec.go
		p224.go
		p224_sqrt.go
		p256_asm.go
		p256_asm_amd64.s
		p256_ordinv.go
		p384.go
		p521.go
    )
    
    GO_EMBED_PATTERN(p256_asm_table.bin)
ENDIF()
END()