Skip to content

Commit 4daab8a

Browse files
Merge pull request #9284 from SparkiDev/aarch64_asm_gen
Aarch64 asm: convert to generated
2 parents 520d950 + 9c1462a commit 4daab8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+114462
-37004
lines changed

IDE/XCODE/Benchmark/wolfBench.xcodeproj/project.pbxproj

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
9D2E31E5291CE4800082B941 /* dtls.c in Sources */ = {isa = PBXBuildFile; fileRef = 9D2E31E3291CE4800082B941 /* dtls.c */; };
1414
9D2E31E7291CE4AC0082B941 /* dtls13.c in Sources */ = {isa = PBXBuildFile; fileRef = 9D2E31E6291CE4AC0082B941 /* dtls13.c */; };
1515
9D2E31E9291CE5CB0082B941 /* kdf.c in Sources */ = {isa = PBXBuildFile; fileRef = 9D2E31E8291CE5CB0082B941 /* kdf.c */; };
16-
A46FE16F2493E8F800A25BE7 /* armv8-chacha.c in Sources */ = {isa = PBXBuildFile; fileRef = A46FE14C2493E8F500A25BE7 /* armv8-chacha.c */; };
16+
A46FE16F2493E8F800A25BE7 /* armv8-chacha-asm.S in Sources */ = {isa = PBXBuildFile; fileRef = A46FE14C2493E8F500A25BE7 /* armv8-chacha-asm.S */; };
1717
A46FE1702493E8F800A25BE7 /* sp_int.c in Sources */ = {isa = PBXBuildFile; fileRef = A46FE14D2493E8F600A25BE7 /* sp_int.c */; };
1818
A46FE1742493E8F800A25BE7 /* sp_cortexm.c in Sources */ = {isa = PBXBuildFile; fileRef = A46FE1512493E8F600A25BE7 /* sp_cortexm.c */; };
1919
A46FE1752493E8F800A25BE7 /* blake2s.c in Sources */ = {isa = PBXBuildFile; fileRef = A46FE1522493E8F600A25BE7 /* blake2s.c */; };
@@ -96,12 +96,11 @@
9696
A4ADF9281FCE0C5600A06E90 /* ecc.c in Sources */ = {isa = PBXBuildFile; fileRef = A4ADF8CC1FCE0C5500A06E90 /* ecc.c */; };
9797
A4ADF92A1FCE0C5600A06E90 /* coding.c in Sources */ = {isa = PBXBuildFile; fileRef = A4ADF8CE1FCE0C5500A06E90 /* coding.c */; };
9898
A4ADF92C1FCE0C5600A06E90 /* ge_low_mem.c in Sources */ = {isa = PBXBuildFile; fileRef = A4ADF8D01FCE0C5500A06E90 /* ge_low_mem.c */; };
99-
A4CA2EA324C8AF97003CCC50 /* armv8-sha512.c in Sources */ = {isa = PBXBuildFile; fileRef = A4CA2E9E24C8AF97003CCC50 /* armv8-sha512.c */; };
10099
A4DFEC0D1FD4CAA300A7BB33 /* benchmark.c in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC0C1FD4CAA300A7BB33 /* benchmark.c */; };
101-
A4DFEC101FD4CB8500A7BB33 /* armv8-sha256.c in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256.c */; };
102-
A4DFEC111FD4CB8500A7BB33 /* armv8-aes.c in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes.c */; };
100+
A4DFEC101FD4CB8500A7BB33 /* armv8-sha256-asm.S in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256-asm.S */; };
101+
A4DFEC111FD4CB8500A7BB33 /* armv8-aes-asm.S in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes-asm.S */; };
103102
A4DFEC3C1FD6B9CC00A7BB33 /* test.c in Sources */ = {isa = PBXBuildFile; fileRef = A4DFEC3B1FD6B9CC00A7BB33 /* test.c */; };
104-
CB81DE1D24C9284700B98DA6 /* armv8-poly1305.c in Sources */ = {isa = PBXBuildFile; fileRef = CB81DE1C24C9284700B98DA6 /* armv8-poly1305.c */; };
103+
CB81DE1D24C9284700B98DA6 /* armv8-poly1305-asm.S in Sources */ = {isa = PBXBuildFile; fileRef = CB81DE1C24C9284700B98DA6 /* armv8-poly1305-asm.S */; };
105104
CB81DE1F24C93EC000B98DA6 /* armv8-curve25519.S in Sources */ = {isa = PBXBuildFile; fileRef = CB81DE1E24C93EC000B98DA6 /* armv8-curve25519.S */; };
106105
CB81DE2324C93FB300B98DA6 /* armv8-sha512-asm.S in Sources */ = {isa = PBXBuildFile; fileRef = CB81DE2224C93FB300B98DA6 /* armv8-sha512-asm.S */; };
107106
/* End PBXBuildFile section */
@@ -113,7 +112,7 @@
113112
9D2E31E3291CE4800082B941 /* dtls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtls.c; path = ../../../src/dtls.c; sourceTree = "<group>"; };
114113
9D2E31E6291CE4AC0082B941 /* dtls13.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtls13.c; path = ../../../src/dtls13.c; sourceTree = "<group>"; };
115114
9D2E31E8291CE5CB0082B941 /* kdf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = kdf.c; path = ../../../wolfcrypt/src/kdf.c; sourceTree = "<group>"; };
116-
A46FE14C2493E8F500A25BE7 /* armv8-chacha.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-chacha.c"; path = "../../../wolfcrypt/src/port/arm/armv8-chacha.c"; sourceTree = "<group>"; };
115+
A46FE14C2493E8F500A25BE7 /* armv8-chacha-asm.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-chacha-asm.S"; path = "../../../wolfcrypt/src/port/arm/armv8-chacha-asm.S"; sourceTree = "<group>"; };
117116
A46FE14D2493E8F600A25BE7 /* sp_int.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sp_int.c; path = ../../../wolfcrypt/src/sp_int.c; sourceTree = "<group>"; };
118117
A46FE1512493E8F600A25BE7 /* sp_cortexm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sp_cortexm.c; path = ../../../wolfcrypt/src/sp_cortexm.c; sourceTree = "<group>"; };
119118
A46FE1522493E8F600A25BE7 /* blake2s.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = blake2s.c; path = ../../../wolfcrypt/src/blake2s.c; sourceTree = "<group>"; };
@@ -201,12 +200,11 @@
201200
A4ADF8CC1FCE0C5500A06E90 /* ecc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ecc.c; path = ../../../wolfcrypt/src/ecc.c; sourceTree = "<group>"; };
202201
A4ADF8CE1FCE0C5500A06E90 /* coding.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = coding.c; path = ../../../wolfcrypt/src/coding.c; sourceTree = "<group>"; };
203202
A4ADF8D01FCE0C5500A06E90 /* ge_low_mem.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ge_low_mem.c; path = ../../../wolfcrypt/src/ge_low_mem.c; sourceTree = "<group>"; };
204-
A4CA2E9E24C8AF97003CCC50 /* armv8-sha512.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-sha512.c"; path = "../../../wolfcrypt/src/port/arm/armv8-sha512.c"; sourceTree = "<group>"; };
205203
A4DFEC0C1FD4CAA300A7BB33 /* benchmark.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = benchmark.c; path = ../../../wolfcrypt/benchmark/benchmark.c; sourceTree = "<group>"; };
206-
A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-sha256.c"; path = "../../../wolfcrypt/src/port/arm/armv8-sha256.c"; sourceTree = "<group>"; };
207-
A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-aes.c"; path = "../../../wolfcrypt/src/port/arm/armv8-aes.c"; sourceTree = "<group>"; };
204+
A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256-asm.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-sha256-asm.S"; path = "../../../wolfcrypt/src/port/arm/armv8-sha256-asm.S"; sourceTree = "<group>"; };
205+
A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes-asm.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-aes-asm.S"; path = "../../../wolfcrypt/src/port/arm/armv8-aes-asm.S"; sourceTree = "<group>"; };
208206
A4DFEC3B1FD6B9CC00A7BB33 /* test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = test.c; path = ../../../wolfcrypt/test/test.c; sourceTree = "<group>"; };
209-
CB81DE1C24C9284700B98DA6 /* armv8-poly1305.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-poly1305.c"; path = "../../../wolfcrypt/src/port/arm/armv8-poly1305.c"; sourceTree = "<group>"; };
207+
CB81DE1C24C9284700B98DA6 /* armv8-poly1305-asm.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "armv8-poly1305-asm.S"; path = "../../../wolfcrypt/src/port/arm/armv8-poly1305-asm.S"; sourceTree = "<group>"; };
210208
CB81DE1E24C93EC000B98DA6 /* armv8-curve25519.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; name = "armv8-curve25519.S"; path = "../../../wolfcrypt/src/port/arm/armv8-curve25519.S"; sourceTree = "<group>"; };
211209
CB81DE2224C93FB300B98DA6 /* armv8-sha512-asm.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; name = "armv8-sha512-asm.S"; path = "../../../wolfcrypt/src/port/arm/armv8-sha512-asm.S"; sourceTree = "<group>"; };
212210
/* End PBXFileReference section */
@@ -284,13 +282,12 @@
284282
children = (
285283
A4ADF8821FCE0C4D00A06E90 /* aes.c */,
286284
A4ADF8921FCE0C4E00A06E90 /* arc4.c */,
287-
A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes.c */,
288-
A46FE14C2493E8F500A25BE7 /* armv8-chacha.c */,
285+
A4DFEC0F1FD4CB8500A7BB33 /* armv8-aes-asm.S */,
286+
A46FE14C2493E8F500A25BE7 /* armv8-chacha-asm.S */,
289287
CB81DE1E24C93EC000B98DA6 /* armv8-curve25519.S */,
290-
CB81DE1C24C9284700B98DA6 /* armv8-poly1305.c */,
291-
A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256.c */,
288+
CB81DE1C24C9284700B98DA6 /* armv8-poly1305-asm.S */,
289+
A4DFEC0E1FD4CB8500A7BB33 /* armv8-sha256-asm.S */,
292290
9D0105D4291CECD000A854D3 /* armv8-sha3-asm.S */,
293-
A4CA2E9E24C8AF97003CCC50 /* armv8-sha512.c */,
294291
CB81DE2224C93FB300B98DA6 /* armv8-sha512-asm.S */,
295292
A4ADF8A01FCE0C4F00A06E90 /* asm.c */,
296293
A4ADF8C21FCE0C5300A06E90 /* asn.c */,
@@ -461,7 +458,7 @@
461458
A46FE18D2493E8F800A25BE7 /* fe_448.c in Sources */,
462459
A4ADF8721FCE0C1C00A06E90 /* crl.c in Sources */,
463460
A4ADF91B1FCE0C5600A06E90 /* srp.c in Sources */,
464-
A46FE16F2493E8F800A25BE7 /* armv8-chacha.c in Sources */,
461+
A46FE16F2493E8F800A25BE7 /* armv8-chacha-asm.S in Sources */,
465462
A4ADF8FE1FCE0C5600A06E90 /* integer.c in Sources */,
466463
9D2E31E5291CE4800082B941 /* dtls.c in Sources */,
467464
A4ADF9231FCE0C5600A06E90 /* camellia.c in Sources */,
@@ -473,7 +470,7 @@
473470
A4ADF90D1FCE0C5600A06E90 /* blake2b.c in Sources */,
474471
A4ADF9071FCE0C5600A06E90 /* dh.c in Sources */,
475472
A46FE1912493E8F800A25BE7 /* sp_c32.c in Sources */,
476-
CB81DE1D24C9284700B98DA6 /* armv8-poly1305.c in Sources */,
473+
CB81DE1D24C9284700B98DA6 /* armv8-poly1305-asm.S in Sources */,
477474
CB81DE1F24C93EC000B98DA6 /* armv8-curve25519.S in Sources */,
478475
A4ADF8F31FCE0C5600A06E90 /* rsa.c in Sources */,
479476
A46FE1752493E8F800A25BE7 /* blake2s.c in Sources */,
@@ -495,7 +492,7 @@
495492
A46FE1882493E8F800A25BE7 /* sp_arm32.c in Sources */,
496493
A4ADF8701FCE0C1C00A06E90 /* tls.c in Sources */,
497494
A4ADF8E51FCE0C5600A06E90 /* sha.c in Sources */,
498-
A4DFEC101FD4CB8500A7BB33 /* armv8-sha256.c in Sources */,
495+
A4DFEC101FD4CB8500A7BB33 /* armv8-sha256-asm.S in Sources */,
499496
A4ADF83D1FCE0BD300A06E90 /* main.m in Sources */,
500497
9D2E31E4291CE4800082B941 /* quic.c in Sources */,
501498
A4ADF9271FCE0C5600A06E90 /* ed25519.c in Sources */,
@@ -523,7 +520,7 @@
523520
A4ADF8EB1FCE0C5600A06E90 /* chacha20_poly1305.c in Sources */,
524521
A4ADF86B1FCE0C1C00A06E90 /* keys.c in Sources */,
525522
A4ADF8EE1FCE0C5600A06E90 /* arc4.c in Sources */,
526-
A4DFEC111FD4CB8500A7BB33 /* armv8-aes.c in Sources */,
523+
A4DFEC111FD4CB8500A7BB33 /* armv8-aes-asm.S in Sources */,
527524
A46FE1812493E8F800A25BE7 /* wc_dsp.c in Sources */,
528525
A4ADF9061FCE0C5600A06E90 /* wc_encrypt.c in Sources */,
529526
A4ADF8DC1FCE0C5600A06E90 /* curve25519.c in Sources */,
@@ -541,7 +538,6 @@
541538
A4ADF8D71FCE0C5600A06E90 /* wolfevent.c in Sources */,
542539
A46FE1802493E8F800A25BE7 /* ed448.c in Sources */,
543540
A4DFEC0D1FD4CAA300A7BB33 /* benchmark.c in Sources */,
544-
A4CA2EA324C8AF97003CCC50 /* armv8-sha512.c in Sources */,
545541
A4ADF91D1FCE0C5600A06E90 /* cpuid.c in Sources */,
546542
);
547543
runOnlyForDeploymentPostprocessing = 0;

0 commit comments

Comments
 (0)